ompl::base::SE2StateSpace::StateType Class Reference

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

#include <ompl/base/spaces/SE2StateSpace.h>

Inheritance diagram for ompl::base::SE2StateSpace::StateType:

Public Member Functions

double getX () const
 Get the X component of the state.
 
double getY () const
 Get the Y component of the state.
 
double getYaw () const
 Get the yaw component of the state. This is the rotation in plane, with respect to the Z axis.
 
void setX (double x)
 Set the X component of the state.
 
void setY (double y)
 Set the Y component of the state.
 
void setXY (double x, double y)
 Set the X and Y components of the state.
 
void setYaw (double yaw)
 Set the yaw component of the state. This is the rotation in plane, with respect to the Z axis.
 
- Public Member Functions inherited from ompl::base::CompoundState
template<class T >
const T * as (unsigned int index) const
 Cast a component of this instance to a desired type. More...
 
template<class T >
T * as (const unsigned int index)
 Cast a component of this instance to a desired type. More...
 
const Stateoperator[] (unsigned int i) const
 Access const element ith component. This does not check whether the index is within bounds.
 
Stateoperator[] (unsigned int i)
 Access element ith component. This does not check whether the index is within bounds.
 
- Public Member Functions inherited from ompl::base::State
template<class T >
const T * as () const
 Cast this instance to a desired type. More...
 
template<class T >
T * as ()
 Cast this instance to a desired type. More...
 

Additional Inherited Members

- Public Attributes inherited from ompl::base::CompoundState
State ** components {nullptr}
 The components that make up a compound state.
 

Detailed Description

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

Definition at line 53 of file SE2StateSpace.h.


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