GaussianValidStateSampler.cpp
81 bool ompl::base::GaussianValidStateSampler::sampleNear(State *state, const State *near, const double distance)
The base class for space information. This contains all the information about the space planning is d...
Definition: SpaceInformation.h:145
double getStdDev() const
Get the standard deviation used when sampling.
Definition: GaussianValidStateSampler.h:156
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
ParamSet params_
The parameters for this instance of the valid state sampler.
Definition: ValidStateSampler.h:194
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:162
void declareParam(const std::string &name, const typename SpecificParam< T >::SetterFn &setter, const typename SpecificParam< T >::GetterFn &getter=[] { return T();})
This function declares a parameter name, and specifies the setter and getter functions.
Definition: GenericParam.h:295
Abstract definition of a state sampler.
Definition: ValidStateSampler.h:126
GaussianValidStateSampler(const SpaceInformation *si)
Constructor.
Definition: GaussianValidStateSampler.cpp:41