37 #ifndef MOVEIT_OMPL_INTERFACE_DETAIL_CONSTRAINED_SAMPLER_ 38 #define MOVEIT_OMPL_INTERFACE_DETAIL_CONSTRAINED_SAMPLER_ 40 #include <ompl/base/StateSampler.h> 45 class ModelBasedPlanningContext;
65 virtual void sampleGaussian(ompl::base::State* state,
const ompl::base::State* mean,
const double stdDev);
70 bool sampleC(ompl::base::State* state);
constraint_samplers::ConstraintSamplerPtr constraint_sampler_
ompl::base::StateSamplerPtr default_
double getConstrainedSamplingRate() const
ConstrainedSampler(const ModelBasedPlanningContext *pc, const constraint_samplers::ConstraintSamplerPtr &cs)
Default constructor.
virtual void sampleGaussian(ompl::base::State *state, const ompl::base::State *mean, const double stdDev)
Sample a state using the specified Gaussian.
virtual void sampleUniformNear(ompl::base::State *state, const ompl::base::State *near, const double distance)
Sample a state (uniformly) within a certain distance of another state.
The MoveIt! interface to OMPL.
unsigned int constrained_failure_
unsigned int constrained_success_
bool sampleC(ompl::base::State *state)
virtual void sampleUniform(ompl::base::State *state)
Sample a state (uniformly)
double distance(const urdf::Pose &transform)
const ModelBasedPlanningContext * planning_context_
robot_state::RobotState work_state_