GoalRegion.h
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...
virtual void print(std::ostream &out=std::cout) const
Print information about the goal data structure to a stream.
Definition: GoalRegion.cpp:59
A boost shared pointer wrapper for ompl::base::SpaceInformation.
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:81
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:88
virtual bool isSatisfied(const State *st) const
Equivalent to calling isSatisfied(const State *, double *) with a NULL second argument.
Definition: GoalRegion.cpp:46
double threshold_
The maximum distance that is allowed to the goal. By default, this is initialized to the minimum epsi...
Definition: GoalRegion.h:98