Go to the documentation of this file.
37 #include <ompl/base/goals/GoalSampleableRegion.h>
42 class GoalSampleableRegionMux :
public ompl::base::GoalSampleableRegion
54 void sampleGoal(ompl::base::State* st)
const override;
66 bool isSatisfied(
const ompl::base::State* st,
double* distance)
const override;
69 double distanceGoal(
const ompl::base::State* st)
const override;
78 void print(std::ostream& out = std::cout)
const override;
81 std::vector<ompl::base::GoalPtr>
goals_;
unsigned int maxSampleCount() const override
Get the max sample count.
void startSampling()
If there are any member lazy samplers, start them.
void sampleGoal(ompl::base::State *st) const override
Sample a goal.
GoalSampleableRegionMux(const std::vector< ompl::base::GoalPtr > &goals)
Constructor.
void stopSampling()
If there are any member lazy samplers, stop them.
The MoveIt interface to OMPL.
double distanceGoal(const ompl::base::State *st) const override
Find the distance of this state from the goal.
std::vector< ompl::base::GoalPtr > goals_
bool isSatisfied(const ompl::base::State *st, double *distance) const override
Is the goal satisfied for this state (given a distance)
void print(std::ostream &out=std::cout) const override
Pretty print goal information.
~GoalSampleableRegionMux() override
virtual bool canSample() const
Query if sampler can find any sample.
bool couldSample() const override
Query if sampler could find a sample in the future.
ompl
Author(s): Ioan Sucan
autogenerated on Tue Dec 24 2024 03:28:09