Loading...
Searching...
No Matches
ompl::geometric::RRT::Motion Class Reference

Representation of a motion. More...

#include <ompl/geometric/planners/rrt/RRT.h>

Public Member Functions

 Motion (const base::SpaceInformationPtr &si)
 Constructor that allocates memory for the state.

Public Attributes

base::Statestate {nullptr}
 The state contained by the motion.
Motionparent {nullptr}
 The parent motion in the exploration tree.

Detailed Description

Representation of a motion.

This only contains pointers to parent motions as we only need to go backwards in the tree.

Definition at line 147 of file RRT.h.

Constructor & Destructor Documentation

◆ Motion()

ompl::geometric::RRT::Motion::Motion ( const base::SpaceInformationPtr & si)
inline

Constructor that allocates memory for the state.

Definition at line 153 of file RRT.h.

Member Data Documentation

◆ parent

Motion* ompl::geometric::RRT::Motion::parent {nullptr}

The parent motion in the exploration tree.

Definition at line 163 of file RRT.h.

◆ state

base::State* ompl::geometric::RRT::Motion::state {nullptr}

The state contained by the motion.

Definition at line 160 of file RRT.h.


The documentation for this class was generated from the following file:
  • ompl/geometric/planners/rrt/RRT.h