37 #ifndef MOVEIT_OMPL_INTERFACE_DETAIL_CONSTRAINED_VALID_STATE_SAMPLER_ 38 #define MOVEIT_OMPL_INTERFACE_DETAIL_CONSTRAINED_VALID_STATE_SAMPLER_ 40 #include <ompl/base/StateSampler.h> 41 #include <ompl/base/ValidStateSampler.h> 47 class ModelBasedPlanningContext;
58 const constraint_samplers::ConstraintSamplerPtr& cs = constraint_samplers::ConstraintSamplerPtr());
60 virtual bool sample(ompl::base::State* state);
61 virtual bool project(ompl::base::State* state);
62 virtual bool sampleNear(ompl::base::State* state,
const ompl::base::State* near,
const double distance);
ompl::base::StateSamplerPtr default_sampler_
const ModelBasedPlanningContext * planning_context_
virtual bool sampleNear(ompl::base::State *state, const ompl::base::State *near, const double distance)
kinematic_constraints::KinematicConstraintSetPtr kinematic_constraint_set_
The MoveIt! interface to OMPL.
MOVEIT_CLASS_FORWARD(ConstraintsLibrary)
robot_state::RobotState work_state_
ValidConstrainedSampler(const ModelBasedPlanningContext *pc, const kinematic_constraints::KinematicConstraintSetPtr &ks, const constraint_samplers::ConstraintSamplerPtr &cs=constraint_samplers::ConstraintSamplerPtr())
constraint_samplers::ConstraintSamplerPtr constraint_sampler_
virtual bool sample(ompl::base::State *state)
virtual bool project(ompl::base::State *state)
double distance(const urdf::Pose &transform)