BridgeTestValidStateSampler.h
The base class for space information. This contains all the information about the space planning is d...
Definition: SpaceInformation.h:82
bool sample(State *state) override
Sample a state. Return false in case of failure.
Definition: BridgeTestValidStateSampler.cpp:15
Generate valid samples using bridge test. First sample an invalid state, then sample another invalid ...
Definition: BridgeTestValidStateSampler.h:64
double getStdDev() const
Get the standard deviation used when sampling.
Definition: BridgeTestValidStateSampler.h:75
void setStdDev(double stddev)
Set the standard deviation to use when sampling.
Definition: BridgeTestValidStateSampler.h:81
double stddev_
The standard deviation to use in the sampling process.
Definition: BridgeTestValidStateSampler.h:91
BridgeTestValidStateSampler(const SpaceInformation *si)
Constructor.
Definition: BridgeTestValidStateSampler.cpp:5
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: BridgeTestValidStateSampler.cpp:41
A shared pointer wrapper for ompl::base::StateSampler.
Abstract definition of a state sampler.
Definition: ValidStateSampler.h:63