49 const std::string& ,
const moveit_msgs::msg::MotionPlanRequest& req,
50 const moveit::core::RobotModelConstPtr& )
const
53 auto num_constraints =
54 req.path_constraints.position_constraints.size() + req.path_constraints.orientation_constraints.size();
55 if (num_constraints == 1 && req.path_constraints.joint_constraints.empty() &&
56 req.path_constraints.visibility_constraints.empty())