GaussianValidStateSampler.h
Generate valid samples using the Gaussian sampling strategy.
Definition: GaussianValidStateSampler.h:49
bool sampleNear(State *state, const State *near, double distance) override
Sample a state near another, within specified distance. Return false, in case of failure.
Definition: GaussianValidStateSampler.cpp:81
double stddev_
The standard deviation to use in the sampling process.
Definition: GaussianValidStateSampler.h:76
bool sample(State *state) override
Sample a state. Return false in case of failure.
Definition: GaussianValidStateSampler.cpp:58
void setStdDev(double stddev)
Set the standard deviation to use when sampling.
Definition: GaussianValidStateSampler.h:66
GaussianValidStateSampler(const SpaceInformation *si)
Constructor.
Definition: GaussianValidStateSampler.cpp:41
double getStdDev() const
Get the standard deviation used when sampling.
Definition: GaussianValidStateSampler.h:60
The base class for space information. This contains all the information about the space planning is d...
Definition: SpaceInformation.h:82
A shared pointer wrapper for ompl::base::StateSampler.
Abstract definition of a state sampler.
Definition: ValidStateSampler.h:63