Class SE2StateSpace::StateType

Nested Relationships

This class is a nested type of Class SE2StateSpace.

Inheritance Relationships

Base Type

Class Documentation

class StateType : public ompl::base::CompoundState

A state in SE(2): (x, y, yaw)

Public Functions

StateType() = default
inline double getX() const

Get the X component of the state.

inline double getY() const

Get the Y component of the state.

inline double getYaw() const

Get the yaw component of the state. This is the rotation in plane, with respect to the Z axis.

inline void setX(double x)

Set the X component of the state.

inline void setY(double y)

Set the Y component of the state.

inline void setXY(double x, double y)

Set the X and Y components of the state.

inline void setYaw(double yaw)

Set the yaw component of the state. This is the rotation in plane, with respect to the Z axis.