RigidBodyPlanningWithIK.cpp
78 bool regionSamplingWithGS(const ob::SpaceInformationPtr &si, const ob::ProblemDefinitionPtr &pd, const ob::GoalRegion *region, const ob::GoalLazySamples *gls, ob::State *result)
98 // we continue sampling while we are able to find solutions, we have found not more than 2 previous solutions and we have not yet solved the problem
130 ob::GoalSamplingFn samplingFunction = [&ss, ®ion](const ob::GoalLazySamples *gls, ob::State *result)
139 // we set a goal that is sampleable, but it in fact corresponds to a region that is not sampleable by default
This namespace contains code that is specific to planning under geometric constraints.
Definition: GeneticSearch.h:79
Definition of a goal region that can be sampled, but the sampling process can be slow....
Definition: GoalLazySamples.h:134
This namespace contains sampling based planning routines shared by both planning under geometric cons...
Definition: ConstrainedSpaceInformation.h:86
Create the set of classes typically needed to solve a geometric problem.
Definition: SimpleSetup.h:126
A class to store the exit status of Planner::solve()
Definition: PlannerStatus.h:112
virtual double distanceGoal(const State *st) const =0
Compute the distance to the goal (heuristic). This function is the one used in computing the distance...
ompl::base::CompoundState StateType
Define the type of state allocated by this state space.
Definition: StateSpace.h:641
unsigned int maxSampleCount() const override
Return the maximum number of samples that can be asked for before repeating.
Definition: GoalLazySamples.cpp:198
std::function< bool(const GoalLazySamples *, State *)> GoalSamplingFn
Goal sampling function. Returns false when no further calls should be made to it. Fills its second ar...
Definition: GoalLazySamples.h:119
Genetic Algorithm for searching valid states.
Definition: GeneticSearch.h:124
The lower and upper bounds for an Rn space.
Definition: RealVectorBounds.h:111
void setThreshold(double threshold)
Set the distance to the goal that is allowed for a state to be considered in the goal region.
Definition: GoalRegion.h:171