MotionValidator.h
99 virtual bool checkMotion(const State *s1, const State *s2, std::pair<State *, double> &lastValid) const = 0;
The base class for space information. This contains all the information about the space planning is d...
Definition: SpaceInformation.h:145
A shared pointer wrapper for ompl::base::SpaceInformation.
unsigned int getValidMotionCount() const
Get the number of segments that tested as valid.
Definition: MotionValidator.h:166
unsigned int getInvalidMotionCount() const
Get the number of segments that tested as invalid.
Definition: MotionValidator.h:172
void resetMotionCounter()
Reset the counters for valid and invalid segments.
Definition: MotionValidator.h:190
double getValidMotionFraction() const
Get the fraction of segments that tested as valid.
Definition: MotionValidator.h:184
unsigned int getCheckedMotionCount() const
Get the total number of segments tested, regardless of result.
Definition: MotionValidator.h:178
SpaceInformation * si_
The instance of space information this state validity checker operates on.
Definition: MotionValidator.h:197
virtual bool checkMotion(const State *s1, const State *s2) const =0
Check if the path between two states (from s1 to s2) is valid. This function assumes s1 is valid.