Public Member Functions | |
MyValidStateSampler (const ob::SpaceInformation *si) | |
virtual bool | sample (ob::State *state) |
Sample a state. Return false in case of failure. | |
virtual bool | sampleNear (ob::State *state, const ob::State *near, const double distance) |
Sample a state near another, within specified distance. Return false, in case of failure. | |
Protected Attributes | |
ompl::RNG | rng_ |
Definition at line 56 of file StateSampling.cpp.
MyValidStateSampler::MyValidStateSampler | ( | const ob::SpaceInformation * | si | ) | [inline] |
Definition at line 42 of file StateSampling.cpp.
virtual bool MyValidStateSampler::sample | ( | ob::State * | state | ) | [inline, virtual] |
Sample a state. Return false in case of failure.
Implements ompl::base::ValidStateSampler.
Definition at line 50 of file StateSampling.cpp.
virtual bool MyValidStateSampler::sampleNear | ( | ob::State * | state, | |
const ob::State * | near, | |||
const double | distance | |||
) | [inline, virtual] |
Sample a state near another, within specified distance. Return false, in case of failure.
Implements ompl::base::ValidStateSampler.
Definition at line 76 of file StateSampling.cpp.
ompl::RNG MyValidStateSampler::rng_ [protected] |
Definition at line 82 of file StateSampling.cpp.