ProjectedStateSpace.h
A shared pointer wrapper for ompl::base::Constraint.
void interpolate(const State *from, const State *to, double t, State *state) const override
Find a state between from and to around time t, where t = 0 is from, and t = 1 is the final state rea...
Definition: ConstrainedStateSpace.cpp:270
ConstrainedStateSpace(const StateSpacePtr &ambientSpace, const ConstraintPtr &constraint)
Construct a constrained space from an ambientSpace and a constraint.
Definition: ConstrainedStateSpace.cpp:102
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
~ProjectedStateSpace() override=default
Destructor.
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
ProjectedStateSpace(const StateSpacePtr &ambientSpace, const ConstraintPtr &constraint)
Construct an atlas with the specified dimensions.
Definition: ProjectedStateSpace.h:170
A shared pointer wrapper for ompl::base::StateSpace.
StateSamplerPtr allocStateSampler() const override
Allocate the previously set state sampler for this space.
Definition: ProjectedStateSpace.h:186
ProjectedStateSampler(const ProjectedStateSpace *space, StateSamplerPtr sampler)
Constructor.
Definition: ProjectedStateSpace.cpp:46
A shared pointer wrapper for ompl::base::StateSampler.
StateSamplerPtr allocDefaultStateSampler() const override
Allocate the default state sampler for this space.
Definition: ProjectedStateSpace.h:180