DirectedControlSampler.h
83 virtual unsigned int sampleTo(Control *control, const base::State *source, base::State *dest) = 0;
94 virtual unsigned int sampleTo(Control *control, const Control *previous, const base::State *source,
103 using DirectedControlSamplerAllocator = std::function<DirectedControlSamplerPtr(const SpaceInformation *)>;
A shared pointer wrapper for ompl::control::DirectedControlSampler.
Abstract definition of a directed control sampler. Motion planners that need to sample controls that ...
Definition: DirectedControlSampler.h:63
virtual unsigned int sampleTo(Control *control, const base::State *source, base::State *dest)=0
Sample a control given that it will be applied to state state and the intention is to reach state tar...
DirectedControlSampler(const SpaceInformation *si)
Constructor takes the state space to construct samples for as argument.
Definition: DirectedControlSampler.h:70
const SpaceInformation * si_
The space information this sampler operates on.
Definition: DirectedControlSampler.h:99
virtual unsigned int sampleTo(Control *control, const Control *previous, const base::State *source, base::State *dest)=0
Sample a control given that it will be applied to state state and the intention is to reach state des...
Space information containing necessary information for planning with controls. setup() needs to be ca...
Definition: SpaceInformation.h:71
std::function< DirectedControlSamplerPtr(const SpaceInformation *)> DirectedControlSamplerAllocator
Definition of a function that can allocate a directed control sampler.
Definition: DirectedControlSampler.h:103