#include <goal_union.h>
|
| GoalSampleableRegionMux (const std::vector< ompl::base::GoalPtr > &goals) |
| Constructor.
|
|
| ~GoalSampleableRegionMux () override |
|
void | sampleGoal (ompl::base::State *st) const override |
| Sample a goal.
|
|
unsigned int | maxSampleCount () const override |
| Get the max sample count.
|
|
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.
|
|
bool | isSatisfied (const ompl::base::State *st, double *distance) const override |
| Is the goal satisfied for this state (given a distance)
|
|
double | distanceGoal (const ompl::base::State *st) const override |
| Find the distance of this state from the goal.
|
|
void | startSampling () |
| If there are any member lazy samplers, start them.
|
|
void | stopSampling () |
| If there are any member lazy samplers, stop them.
|
|
void | print (std::ostream &out=std::cout) const override |
| Pretty print goal information.
|
|
Definition at line 42 of file goal_union.h.
◆ GoalSampleableRegionMux()
ompl_interface::GoalSampleableRegionMux::GoalSampleableRegionMux |
( |
const std::vector< ompl::base::GoalPtr > & |
goals | ) |
|
Constructor.
- Parameters
-
goals | The input set of goals |
Definition at line 60 of file goal_union.cpp.
◆ ~GoalSampleableRegionMux()
ompl_interface::GoalSampleableRegionMux::~GoalSampleableRegionMux |
( |
| ) |
|
|
inlineoverride |
◆ canSample()
bool ompl_interface::GoalSampleableRegionMux::canSample |
( |
| ) |
const |
|
virtual |
◆ couldSample()
bool ompl_interface::GoalSampleableRegionMux::couldSample |
( |
| ) |
const |
|
override |
Query if sampler could find a sample in the future.
Definition at line 115 of file goal_union.cpp.
◆ distanceGoal()
double ompl_interface::GoalSampleableRegionMux::distanceGoal |
( |
const ompl::base::State * |
st | ) |
const |
|
override |
Find the distance of this state from the goal.
Definition at line 135 of file goal_union.cpp.
◆ isSatisfied()
bool ompl_interface::GoalSampleableRegionMux::isSatisfied |
( |
const ompl::base::State * |
st, |
|
|
double * |
distance |
|
) |
| const |
|
override |
Is the goal satisfied for this state (given a distance)
Definition at line 125 of file goal_union.cpp.
◆ maxSampleCount()
unsigned int ompl_interface::GoalSampleableRegionMux::maxSampleCount |
( |
| ) |
const |
|
override |
◆ print()
void ompl_interface::GoalSampleableRegionMux::print |
( |
std::ostream & |
out = std::cout | ) |
const |
|
override |
◆ sampleGoal()
void ompl_interface::GoalSampleableRegionMux::sampleGoal |
( |
ompl::base::State * |
st | ) |
const |
|
override |
◆ startSampling()
void ompl_interface::GoalSampleableRegionMux::startSampling |
( |
| ) |
|
If there are any member lazy samplers, start them.
Definition at line 65 of file goal_union.cpp.
◆ stopSampling()
void ompl_interface::GoalSampleableRegionMux::stopSampling |
( |
| ) |
|
If there are any member lazy samplers, stop them.
Definition at line 74 of file goal_union.cpp.
◆ gindex_
unsigned int ompl_interface::GoalSampleableRegionMux::gindex_ |
|
mutableprotected |
◆ goals_
std::vector<ompl::base::GoalPtr> ompl_interface::GoalSampleableRegionMux::goals_ |
|
protected |
The documentation for this class was generated from the following files:
- moveit_planners/ompl/ompl_interface/include/moveit/ompl_interface/detail/goal_union.h
- moveit_planners/ompl/ompl_interface/src/detail/goal_union.cpp