A state sampler that only samples valid states, uniformly. More...
#include <UniformValidStateSampler.h>

Public Member Functions | |
| UniformValidStateSampler (const SpaceInformation *si) | |
| Constructor. | |
| virtual bool | sample (State *state) |
| Sample a state. Return false in case of failure. | |
| 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. | |
Protected Attributes | |
| StateSamplerPtr | sampler_ |
| The sampler to build upon. | |
A state sampler that only samples valid states, uniformly.
Definition at line 50 of file UniformValidStateSampler.h.
| bool ompl::base::UniformValidStateSampler::sampleNear | ( | State * | state, |
| const State * | near, | ||
| const double | distance | ||
| ) | [virtual] |
Sample a state near another, within specified distance. Return false, in case of failure.
Implements ompl::base::ValidStateSampler.
Definition at line 59 of file UniformValidStateSampler.cpp.