ompl::control::RealVectorControlSpace Class Reference
A control space representing Rn. More...
#include <ompl/control/spaces/RealVectorControlSpace.h>
Inheritance diagram for ompl::control::RealVectorControlSpace:

Classes | |
class | ControlType |
The definition of a control in Rn More... | |
Public Member Functions | |
RealVectorControlSpace (const base::StateSpacePtr &stateSpace, unsigned int dim) | |
Constructor takes the state space the controls correspond to and the dimension of the space of controls, dim. | |
void | setBounds (const base::RealVectorBounds &bounds) |
Set the bounds (min max values for each dimension) for the control. | |
const base::RealVectorBounds & | getBounds () const |
Get the bounds (min max values for each dimension) for the control. | |
virtual unsigned int | getDimension () const |
Get the dimension of this control space. | |
virtual void | copyControl (Control *destination, const Control *source) const |
Copy a control to another. | |
virtual bool | equalControls (const Control *control1, const Control *control2) const |
Check if two controls are the same. | |
virtual ControlSamplerPtr | allocDefaultControlSampler () const |
Allocate the default control sampler. | |
virtual Control * | allocControl () const |
Allocate memory for a control. | |
virtual void | freeControl (Control *control) const |
Free the memory of a control. | |
virtual void | nullControl (Control *control) const |
Make the control have no effect if it were to be applied to a state for any amount of time. | |
virtual void | printControl (const Control *control, std::ostream &out) const |
Print a control to a stream. | |
virtual double * | getValueAddressAtIndex (Control *control, const unsigned int index) const |
Many controls contain a number of double values. This function provides a means to get the memory address of a double value from a control control located at position index. The first double value is returned for index = 0. If index is too large (does not point to any double values in the control), the return value is NULL. | |
virtual void | printSettings (std::ostream &out) const |
Print the settings for this control space to a stream. | |
virtual void | setup () |
Perform final setup steps. This function is automatically called by the SpaceInformation. | |
virtual unsigned int | getSerializationLength () const |
Returns the serialization size for a single control in this space. | |
virtual void | serialize (void *serialization, const Control *ctrl) const |
Serializes the given control into the serialization buffer. | |
virtual void | deserialize (Control *ctrl, const void *serialization) const |
Deserializes a control from the serialization buffer. | |
Protected Attributes | |
unsigned int | dimension_ |
The dimension of the state space. | |
base::RealVectorBounds | bounds_ |
The bounds on controls. |
Detailed Description
A control space representing Rn.
Definition at line 63 of file RealVectorControlSpace.h.
The documentation for this class was generated from the following files:
- ompl/control/spaces/RealVectorControlSpace.h
- ompl/control/spaces/src/RealVectorControlSpace.cpp