Comments (4)
Here's a quick overview of the OMPL API:
Goal
void isSatisfied (const State *st) const
: Decide whether a given state is part of the goal region.void isStartGoalPairValid (const State *, const State *) const
GoalRegion
:distanceGoal (const State *st) const
: Compute the distance to the goal (heuristic).
GoalSampleableRegion
:void sampleGoal (State *st) const
: Sample a state in the goal region.void maxSampleCount () const
: Return the maximum number of samples that can be asked for before repeating.void canSample () const
: Return true if maxSampleCount() > 0, since in this case samples can certainly be produced.
This raises some interesting considerations that I had not previously thought about:
isSatisfied
is useful for uni-directional planners.- It's important to avoid sampling the same goal twice from a finite set of goals.
- Do we care about
isStartGoalPairValid
? Where would this fit in the API?
@cdellin Thoughts?
from aikido.
I don't have a strong opinion about these -- I think it's probably a good idea to define a common planning problem specification for us to use that's OMPL-agnostic, but we don't need to cover all the possible use-cases.
It seems to me that we might start by just implementing prpy
-like planning methods by wrapping the OMPL API directly for OMPL planners, and then introduce an intermediate base class if we end up duplicating too much code (either between wrappers of different OMPL planners, or when we start wrapping CHOMP / trajopt / etc).
FWIW, one thing that always bothered me a bit about the OMPL API is how asymmetric it is between starts and goals -- you can't have a sampleable start region, etc.
from aikido.
Linking this issue to the excellent PR that @lgw903 has been putting together: #13
from aikido.
Implemented by #13.
from aikido.
Related Issues (20)
- Expose custom velocityLimits in ConcreteRobot retimers HOT 2
- TrajectoryMarker throws error HOT 1
- Add inverse composition function to StateSpace Class
- ConcreteManipulator should be inheriting from ConcreteRobot? HOT 2
- Have homebrew auto-detect dartsim dependencies.
- Update all planning problems to used const ScopedStates.
- Solidify when to make a new component.
- Clean up ConcreteRobot plan methods to take MetaSkeletonStateSpace::State*.
- Move planner params from robot/util to planners.
- Termination condition for planning
- Locking the skeleton before collision evaluations
- Migrate CI from Travis-CI.org to Github Actions
- Fix up DOCs workflow HOT 1
- Fix XCode CI
- Update CatkinResourceRetriever to use ROS Package Framework
- Add util function to aikido::io to create a CompositeResourceRetriever
- Add planWithEndEffectorTwist HOT 1
- Support for URDF Mimic Joints
- RosJointStateClient is a bit of a mess
- InteractiveMarkerViewer's addTSRMarker Does Not Properly Deallocate HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aikido.