37 #include <ompl/base/goals/GoalSampleableRegion.h> 54 virtual void sampleGoal(ompl::base::State* st)
const;
69 virtual double distanceGoal(
const ompl::base::State* st)
const;
78 virtual void print(std::ostream& out = std::cout)
const;
81 std::vector<ompl::base::GoalPtr>
goals_;
std::vector< ompl::base::GoalPtr > goals_
virtual bool canSample() const
Query if sampler can find any sample.
virtual bool isSatisfied(const ompl::base::State *st, double *distance) const
Is the goal satisfied for this state (given a distance)
The MoveIt! interface to OMPL.
virtual ~GoalSampleableRegionMux()
virtual bool couldSample() const
Query if sampler could find a sample in the future.
virtual void sampleGoal(ompl::base::State *st) const
Sample a goal.
virtual void print(std::ostream &out=std::cout) const
Pretty print goal information.
GoalSampleableRegionMux(const std::vector< ompl::base::GoalPtr > &goals)
Constructor.
virtual unsigned int maxSampleCount() const
Get the max sample count.
double distance(const urdf::Pose &transform)
virtual double distanceGoal(const ompl::base::State *st) const
Find the distance of this state from the goal.
void stopSampling()
If there are any member lazy samplers, stop them.
void startSampling()
If there are any member lazy samplers, start them.