GoalRegion.h
A shared pointer wrapper for ompl::base::SpaceInformation.
void print(std::ostream &out=std::cout) const override
Print information about the goal data structure to a stream.
Definition: GoalRegion.cpp:60
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...
double threshold_
The maximum distance that is allowed to the goal. By default, this is initialized to the minimum epsi...
Definition: GoalRegion.h:187
bool isSatisfied(const State *st) const override
Equivalent to calling isSatisfied(const State *, double *) with a nullptr second argument.
Definition: GoalRegion.cpp:47
double getThreshold() const
Get the distance to the goal that is allowed for a state to be considered in the goal region.
Definition: GoalRegion.h:178
Main namespace. Contains everything in this library.
Definition: MultiLevelPlanarManipulatorDemo.cpp:65
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