RealVectorControlSpace.h
Abstract definition of a control sampler. Motion planners that need to sample controls will call func...
Definition: ControlSampler.h:70
ompl::control::RealVectorControlSpace
Definition: ControlSpaceTypes.h:53
RealVectorControlSpace(const base::StateSpacePtr &stateSpace, unsigned int dim)
Constructor takes the state space the controls correspond to and the dimension of the space of contro...
Definition: RealVectorControlSpace.h:91
A boost shared pointer wrapper for ompl::base::StateSpace.
A boost shared pointer wrapper for ompl::control::ControlSampler.
A control space representing Rn.
Definition: RealVectorControlSpace.h:63
The definition of a control in Rn
Definition: RealVectorControlSpace.h:68
A control space representing the space of applicable controls.
Definition: ControlSpace.h:66
RealVectorControlUniformSampler(const ControlSpace *space)
Constructor.
Definition: RealVectorControlSpace.h:55
Uniform sampler for the Rn state space.
Definition: RealVectorControlSpace.h:50
double & operator[](unsigned int i)
Access element i of values. This does not check whether the index is within bounds.
Definition: RealVectorControlSpace.h:81
const base::RealVectorBounds & getBounds() const
Get the bounds (min max values for each dimension) for the control.
Definition: RealVectorControlSpace.h:106
The lower and upper bounds for an Rn space.
Definition: RealVectorBounds.h:48
double operator[](unsigned int i) const
Access element i of values. This does not check whether the index is within bounds.
Definition: RealVectorControlSpace.h:74
virtual void sample(Control *control)
Sample a control. All other control sampling functions default to this one, unless a user-specified i...
Definition: RealVectorControlSpace.cpp:43
double * values
An array of length n, representing the value of the control.
Definition: RealVectorControlSpace.h:87