ControlSampler.cpp
50 void ompl::control::ControlSampler::sampleNext(Control *control, const Control * /* previous */, const base::State * /* state */)
55 unsigned int ompl::control::ControlSampler::sampleStepCount(unsigned int minSteps, unsigned int maxSteps)
80 void ompl::control::CompoundControlSampler::sampleNext(Control *control, const Control *previous)
88 void ompl::control::CompoundControlSampler::sampleNext(Control *control, const Control *previous, const base::State *state)
virtual void sample(Control *control)=0
Sample a control. All other control sampling functions default to this one, unless a user-specified i...
virtual void addSampler(const ControlSamplerPtr &sampler)
Add a sampler as part of the new compound sampler. This sampler is used to sample part of the compoun...
Definition: ControlSampler.cpp:60
A boost shared pointer wrapper for ompl::control::ControlSampler.
virtual unsigned int sampleStepCount(unsigned int minSteps, unsigned int maxSteps)
Sample a number of steps to execute a control for.
Definition: ControlSampler.cpp:55
virtual void sample(Control *control)
Sample a control. All other control sampling functions default to this one, unless a user-specified i...
Definition: ControlSampler.cpp:66
virtual void sampleNext(Control *control, const Control *previous)
Sample a control, given the previously applied control. The default implementation calls the first de...
Definition: ControlSampler.cpp:80
int uniformInt(int lower_bound, int upper_bound)
Generate a random integer within given bounds: [lower_bound, upper_bound].
Definition: RandomNumbers.h:75
virtual void sampleNext(Control *control, const Control *previous)
Sample a control, given the previously applied control. The default implementation calls the first de...
Definition: ControlSampler.cpp:45