Loading...
Searching...
No Matches
ompl::control::Syclop::Motion Class Reference

Representation of a motion. More...

#include <ompl/control/planners/syclop/Syclop.h>

Public Member Functions

 Motion (const SpaceInformation *si)
 Constructor that allocates memory for the state and the control. More...
 

Public Attributes

base::Statestate {nullptr}
 The state contained by the motion. More...
 
Controlcontrol {nullptr}
 The control contained by the motion. More...
 
const Motionparent {nullptr}
 The parent motion in the tree. More...
 
unsigned int steps {0}
 The number of steps for which the control is applied. 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 256 of file Syclop.h.

Constructor & Destructor Documentation

◆ Motion()

ompl::control::Syclop::Motion::Motion ( const SpaceInformation si)
inline

Constructor that allocates memory for the state and the control.

Definition at line 262 of file Syclop.h.

Member Data Documentation

◆ control

Control* ompl::control::Syclop::Motion::control {nullptr}

The control contained by the motion.

Definition at line 270 of file Syclop.h.

◆ parent

const Motion* ompl::control::Syclop::Motion::parent {nullptr}

The parent motion in the tree.

Definition at line 272 of file Syclop.h.

◆ state

base::State* ompl::control::Syclop::Motion::state {nullptr}

The state contained by the motion.

Definition at line 268 of file Syclop.h.

◆ steps

unsigned int ompl::control::Syclop::Motion::steps {0}

The number of steps for which the control is applied.

Definition at line 274 of file Syclop.h.


The documentation for this class was generated from the following file: