Representation of a motion. More...
#include <ompl/control/planners/ltl/LTLPlanner.h>
Public Member Functions | |
Motion ()=default | |
Default constructor for Motion. | |
Motion (const SpaceInformation *si) | |
Constructor that allocates memory for the state and the control, given a space. More... | |
virtual | ~Motion () |
Motion destructor does not clear memory. Deletions should be performed by the LTLPlanner. | |
Public Attributes | |
base::State * | state {nullptr} |
The state contained by the motion. More... | |
Control * | control {nullptr} |
The control contained by the motion. More... | |
Motion * | parent {nullptr} |
The parent motion in the tree. More... | |
unsigned int | steps {0} |
The number of steps for which the control is applied. More... | |
ProductGraph::State * | abstractState {nullptr} |
The high-level state to which this motion belongs. More... | |
Detailed Description
Representation of a motion.
A motion contains pointers to its state, its parent motion, and the control that was applied to get from its parent to its state.
Definition at line 99 of file LTLPlanner.h.
Constructor & Destructor Documentation
◆ Motion()
ompl::control::LTLPlanner::Motion::Motion | ( | const SpaceInformation * | si | ) |
Constructor that allocates memory for the state and the control, given a space.
Definition at line 168 of file LTLPlanner.cpp.
Member Data Documentation
◆ abstractState
ProductGraph::State* ompl::control::LTLPlanner::Motion::abstractState {nullptr} |
The high-level state to which this motion belongs.
Definition at line 126 of file LTLPlanner.h.
◆ control
Control* ompl::control::LTLPlanner::Motion::control {nullptr} |
The control contained by the motion.
Definition at line 117 of file LTLPlanner.h.
◆ parent
Motion* ompl::control::LTLPlanner::Motion::parent {nullptr} |
The parent motion in the tree.
Definition at line 120 of file LTLPlanner.h.
◆ state
base::State* ompl::control::LTLPlanner::Motion::state {nullptr} |
The state contained by the motion.
Definition at line 114 of file LTLPlanner.h.
◆ steps
unsigned int ompl::control::LTLPlanner::Motion::steps {0} |
The number of steps for which the control is applied.
Definition at line 123 of file LTLPlanner.h.
The documentation for this struct was generated from the following files:
- ompl/control/planners/ltl/LTLPlanner.h
- ompl/control/planners/ltl/src/LTLPlanner.cpp