39#include <ompl/base/StateSampler.h>
44class ModelBasedPlanningContext;
61 void sampleUniformNear(ompl::base::State* state,
const ompl::base::State* near,
const double distance)
override;
64 void sampleGaussian(ompl::base::State* state,
const ompl::base::State* mean,
const double stdDev)
override;
69 bool sampleC(ompl::base::State* state);
72 ompl::base::StateSamplerPtr default_;
73 constraint_samplers::ConstraintSamplerPtr constraint_sampler_;
75 unsigned int constrained_success_;
76 unsigned int constrained_failure_;
Representation of a robot's state. This includes position, velocity, acceleration and effort.
void sampleUniformNear(ompl::base::State *state, const ompl::base::State *near, const double distance) override
Sample a state (uniformly) within a certain distance of another state.
double getConstrainedSamplingRate() const
void sampleUniform(ompl::base::State *state) override
Sample a state (uniformly)
void sampleGaussian(ompl::base::State *state, const ompl::base::State *mean, const double stdDev) override
Sample a state using the specified Gaussian.
The MoveIt interface to OMPL.