SpaceTimePlanning.SpaceTimeMotionValidator Class Reference
Inheritance diagram for SpaceTimePlanning.SpaceTimeMotionValidator:

Public Member Functions | |
def | checkMotion (self, s1, s2) |
![]() | |
MotionValidator (SpaceInformation *si) | |
Constructor. | |
MotionValidator (const SpaceInformationPtr &si) | |
Constructor. | |
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. More... | |
virtual bool | checkMotion (const State *s1, const State *s2, std::pair< State *, double > &lastValid) const =0 |
Check if the path between two states is valid. Also compute the last state that was valid and the time of that state. The time is used to parametrize the motion from s1 to s2, s1 being at t = 0 and s2 being at t = 1. This function assumes s1 is valid. More... | |
unsigned int | getValidMotionCount () const |
Get the number of segments that tested as valid. | |
unsigned int | getInvalidMotionCount () const |
Get the number of segments that tested as invalid. | |
unsigned int | getCheckedMotionCount () const |
Get the total number of segments tested, regardless of result. | |
double | getValidMotionFraction () const |
Get the fraction of segments that tested as valid. | |
void | resetMotionCounter () |
Reset the counters for valid and invalid segments. | |
Additional Inherited Members | |
![]() | |
SpaceInformation * | si_ |
The instance of space information this state validity checker operates on. | |
unsigned int | valid_ |
Number of valid segments. | |
unsigned int | invalid_ |
Number of invalid segments. | |
Detailed Description
Definition at line 22 of file SpaceTimePlanning.py.
The documentation for this class was generated from the following file:
- ompl/demos/SpaceTimePlanning.py