Representation of a motion. More...
#include <RRT.h>
Public Member Functions | |
Motion (const SpaceInformation *si) | |
Constructor that allocates memory for the state and the control. | |
Motion (void) | |
~Motion (void) | |
Public Attributes | |
Control * | control |
The control contained by the motion. | |
Motion * | parent |
The parent motion in the exploration tree. | |
base::State * | state |
The state contained by the motion. | |
unsigned int | steps |
The number of steps the control is applied for. |
Representation of a motion.
This only contains pointers to parent motions as we only need to go backwards in the tree.
Definition at line 103 of file control/planners/rrt/RRT.h.
ompl::control::RRT::Motion::Motion | ( | void | ) | [inline] |
Definition at line 107 of file control/planners/rrt/RRT.h.
ompl::control::RRT::Motion::Motion | ( | const SpaceInformation * | si | ) | [inline] |
Constructor that allocates memory for the state and the control.
Definition at line 112 of file control/planners/rrt/RRT.h.
ompl::control::RRT::Motion::~Motion | ( | void | ) | [inline] |
Definition at line 116 of file control/planners/rrt/RRT.h.
The control contained by the motion.
Definition at line 124 of file control/planners/rrt/RRT.h.
The parent motion in the exploration tree.
Definition at line 130 of file control/planners/rrt/RRT.h.
The state contained by the motion.
Definition at line 121 of file control/planners/rrt/RRT.h.
unsigned int ompl::control::RRT::Motion::steps |
The number of steps the control is applied for.
Definition at line 127 of file control/planners/rrt/RRT.h.