ProjectedStateSpace.cpp
46 ompl::base::ProjectedStateSampler::ProjectedStateSampler(const ProjectedStateSpace *space, StateSamplerPtr sampler)
58 void ompl::base::ProjectedStateSampler::sampleUniformNear(State *state, const State *near, const double distance)
65 void ompl::base::ProjectedStateSampler::sampleGaussian(State *state, const State *mean, const double stdDev)
76 bool ompl::base::ProjectedStateSpace::discreteGeodesic(const State *from, const State *to, bool interpolate,
A state sampler that wraps around another state sampler.
Definition: WrapperStateSpace.h:118
void sampleUniform(State *state) override
Sample a state uniformly in ambient space and project to the manifold. Return sample in state.
Definition: ProjectedStateSpace.cpp:51
bool discreteGeodesic(const State *from, const State *to, bool interpolate=false, std::vector< State * > *geodesic=nullptr) const override
Traverse the manifold from from toward to. Returns true if we reached to, and false if we stopped ear...
Definition: ProjectedStateSpace.cpp:76
void sampleUniformNear(State *state, const State *near, double distance) override
Sample a nearby state using underlying sampler.
Definition: WrapperStateSpace.cpp:44
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 proj...
Definition: ProjectedStateSpace.cpp:58
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 p...
Definition: ProjectedStateSpace.cpp:65
void sampleGaussian(State *state, const State *mean, double stdDev) override
Sample a state within a Gaussian distribution using underlying sampler.
Definition: WrapperStateSpace.cpp:50
void interpolate(const State *from, const State *to, double t, State *state) const override
Computes the state that lies at time t in [0, 1] on the segment that connects from state to to state....
Definition: WrapperStateSpace.h:363
ConstrainedStateSpace encapsulating a projection-based methodology for planning with constraints.
Definition: ProjectedStateSpace.h:166
ProjectedStateSampler(const ProjectedStateSpace *space, StateSamplerPtr sampler)
Constructor.
Definition: ProjectedStateSpace.cpp:46
A shared pointer wrapper for ompl::base::StateSampler.
void sampleUniform(State *state) override
Sample a state using underlying sampler.
Definition: WrapperStateSpace.cpp:39