Class Syclop::Motion

Nested Relationships

This class is a nested type of Class Syclop.

Class Documentation

class Motion

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.

Public Functions

Motion() = default
inline Motion(const SpaceInformation *si)

Constructor that allocates memory for the state and the control.

virtual ~Motion() = default

Public Members

base::State *state = {nullptr}

The state contained by the motion.

Control *control = {nullptr}

The control contained by the motion.

const Motion *parent = {nullptr}

The parent motion in the tree.

unsigned int steps = {0}

The number of steps for which the control is applied.