Generate valid samples using the Bridge Test. More...
#include <ObstacleBasedValidStateSampler.h>
Public Member Functions | |
ObstacleBasedValidStateSampler (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. | |
virtual | ~ObstacleBasedValidStateSampler (void) |
Protected Attributes | |
StateSamplerPtr | sampler_ |
The sampler to build upon. |
Generate valid samples using the Bridge Test.
Definition at line 50 of file ObstacleBasedValidStateSampler.h.
ompl::base::ObstacleBasedValidStateSampler::ObstacleBasedValidStateSampler | ( | const SpaceInformation * | si | ) |
Constructor.
virtual ompl::base::ObstacleBasedValidStateSampler::~ObstacleBasedValidStateSampler | ( | void | ) | [inline, virtual] |
Definition at line 57 of file ObstacleBasedValidStateSampler.h.
virtual bool ompl::base::ObstacleBasedValidStateSampler::sample | ( | State * | state | ) | [virtual] |
Sample a state. Return false in case of failure.
Implements ompl::base::ValidStateSampler.
virtual bool ompl::base::ObstacleBasedValidStateSampler::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.
The sampler to build upon.
Definition at line 67 of file ObstacleBasedValidStateSampler.h.