ompl::base::ProjectedStateSampler Class Reference

StateSampler for use for a projection-based state space. More...

#include <ompl/base/spaces/constraint/ProjectedStateSpace.h>

Inheritance diagram for ompl::base::ProjectedStateSampler:

Public Member Functions

 ProjectedStateSampler (const ProjectedStateSpace *space, StateSamplerPtr sampler)
 Constructor. More...
 
void sampleUniform (State *state) override
 Sample a state uniformly in ambient space and project to the manifold. Return sample in state.
 
void sampleUniformNear (State *state, const State *near, double distance) override
 Sample a state uniformly from the ball with center near and radius distance in ambient space and project to the manifold. Return sample in state.
 
void sampleGaussian (State *state, const State *mean, double stdDev) override
 Sample a state uniformly from a normal distribution with given mean and stdDev in ambient space and project to the manifold. Return sample in state.
 
- Public Member Functions inherited from ompl::base::WrapperStateSampler
 WrapperStateSampler (const StateSpace *space, StateSamplerPtr sampler)
 Constructor. Requires the wrapper state space space and the underlying sampler sampler.
 
void sampleUniform (State *state) override
 Sample a state using underlying sampler.
 
void sampleUniformNear (State *state, const State *near, double distance) override
 Sample a nearby state using underlying sampler.
 
void sampleGaussian (State *state, const State *mean, double stdDev) override
 Sample a state within a Gaussian distribution using underlying sampler.
 
- Public Member Functions inherited from ompl::base::StateSampler
 StateSampler (const StateSampler &)=delete
 
StateSampleroperator= (const StateSampler &)=delete
 
 StateSampler (const StateSpace *space)
 Constructor.
 

Protected Attributes

const ConstraintPtr constraint_
 Constraint.
 
- Protected Attributes inherited from ompl::base::WrapperStateSampler
StateSamplerPtr sampler_
 Underlying state sampler.
 
- Protected Attributes inherited from ompl::base::StateSampler
const StateSpacespace_
 The state space this sampler samples.
 
RNG rng_
 An instance of a random number generator.
 

Detailed Description

StateSampler for use for a projection-based state space.

Definition at line 122 of file ProjectedStateSpace.h.

Constructor & Destructor Documentation

◆ ProjectedStateSampler()

ompl::base::ProjectedStateSampler::ProjectedStateSampler ( const ProjectedStateSpace space,
StateSamplerPtr  sampler 
)

Constructor.

ProjectedStateSampler.

Public

Definition at line 46 of file ProjectedStateSpace.cpp.


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