37 #ifndef MOVEIT_OMPL_INTERFACE_DETAIL_CONSTRAINED_GOAL_SAMPLER_ 38 #define MOVEIT_OMPL_INTERFACE_DETAIL_CONSTRAINED_GOAL_SAMPLER_ 40 #include <ompl/base/goals/GoalLazySamples.h> 49 class ModelBasedPlanningContext;
58 const constraint_samplers::ConstraintSamplerPtr& cs = constraint_samplers::ConstraintSamplerPtr());
63 const robot_model::JointModelGroup*,
const double*,
bool verbose =
false)
const;
64 bool checkStateValidity(ompl::base::State* new_goal,
const robot_state::RobotState& state,
bool stateValidityCallback(ompl::base::State *new_goal, robot_state::RobotState const *state, const robot_model::JointModelGroup *, const double *, bool verbose=false) const
bool warned_invalid_samples_
ompl::base::StateSamplerPtr default_sampler_
const ModelBasedPlanningContext * planning_context_
The MoveIt! interface to OMPL.
robot_state::RobotState work_state_
unsigned int invalid_sampled_constraints_
ConstrainedGoalSampler(const ModelBasedPlanningContext *pc, const kinematic_constraints::KinematicConstraintSetPtr &ks, const constraint_samplers::ConstraintSamplerPtr &cs=constraint_samplers::ConstraintSamplerPtr())
constraint_samplers::ConstraintSamplerPtr constraint_sampler_
bool checkStateValidity(ompl::base::State *new_goal, const robot_state::RobotState &state, bool verbose=false) const
bool sampleUsingConstraintSampler(const ompl::base::GoalLazySamples *gls, ompl::base::State *new_goal)
unsigned int verbose_display_
kinematic_constraints::KinematicConstraintSetPtr kinematic_constraint_set_