All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator
ompl::base::ObstacleBasedValidStateSampler Class Reference

Generate valid samples using the Bridge Test. More...

#include <ObstacleBasedValidStateSampler.h>

Inheritance diagram for ompl::base::ObstacleBasedValidStateSampler:

List of all members.

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.

Protected Attributes

StateSamplerPtr sampler_
 The sampler to build upon.

Detailed Description

Generate valid samples using the Bridge Test.

Definition at line 50 of file ObstacleBasedValidStateSampler.h.


Member Function Documentation

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.

Note:
The memory for near must be disjoint from the memory for state

Implements ompl::base::ValidStateSampler.

Definition at line 84 of file ObstacleBasedValidStateSampler.cpp.


The documentation for this class was generated from the following files: