SE2StateSpace.h
113 }
State * allocState() const override
Allocate a state that can store a point in the described space.
Definition: SE2StateSpace.cpp:41
double getYaw() const
Get the yaw component of the state. This is the rotation in plane, with respect to the Z axis.
Definition: SE2StateSpace.h:201
void setYaw(double yaw)
Set the yaw component of the state. This is the rotation in plane, with respect to the Z axis.
Definition: SE2StateSpace.h:228
void lock()
Lock this state space. This means no further spaces can be added as components. This function can be ...
Definition: StateSpace.cpp:1163
ompl::base::CompoundState StateType
Define the type of state allocated by this state space.
Definition: StateSpace.h:641
void setXY(double x, double y)
Set the X and Y components of the state.
Definition: SE2StateSpace.h:219
void freeState(State *state) const override
Free the memory of the allocated state.
Definition: SE2StateSpace.cpp:48
void addSubspace(const StateSpacePtr &component, double weight)
Adds a new state space as part of the compound state space. For computing distances within the compou...
Definition: StateSpace.cpp:871
const RealVectorBounds & getBounds() const
Get the bounds for this state space.
Definition: SE2StateSpace.h:220
The lower and upper bounds for an Rn space.
Definition: RealVectorBounds.h:111
void registerProjections() override
Register the projections for this state space. Usually, this is at least the default projection....
Definition: SE2StateSpace.cpp:53
void setBounds(const RealVectorBounds &bounds)
Set the bounds of this state space. This defines the range of the space in which sampling is performe...
Definition: SE2StateSpace.h:214