37 #ifndef OMPL_BASE_SAMPLERS_GAUSSIAN_VALID_STATE_SAMPLER_
38 #define OMPL_BASE_SAMPLERS_GAUSSIAN_VALID_STATE_SAMPLER_
40 #include "ompl/base/ValidStateSampler.h"
41 #include "ompl/base/StateSampler.h"
virtual bool sample(State *state)
Sample a state. Return false in case of failure.
A boost shared pointer wrapper for ompl::base::StateSampler.
StateSamplerPtr sampler_
The sampler to build upon.
double getStdDev(void) const
Get the standard deviation used when sampling.
double stddev_
The standard deviation to use in the sampling process.
Generate valid samples using the Gaussian sampling strategy.
Abstract definition of a state sampler.
virtual bool sampleNear(State *state, const State *near, const double distance)
Sample a state near another, within specified distance. Return false, in case of failure.
Definition of an abstract state.
GaussianValidStateSampler(const SpaceInformation *si)
Constructor.
void setStdDev(double stddev)
Set the standard deviation to use when sampling.