38#include <rclcpp/logger.hpp>
39#include <rclcpp/logging.hpp>
53 const std::string& group_name)
58 RCLCPP_ERROR(
getLogger(),
"A JointModelGroup should have been specified for the constraint sampler");
ConstraintSampler(const planning_scene::PlanningSceneConstPtr &scene, const std::string &group_name)
Constructor.
bool is_valid_
Holds the value for validity.
std::vector< std::string > frame_depends_
Holds the set of frames that must exist in the reference state to allow samples to be drawn.
const moveit::core::JointModelGroup *const jmg_
Holds the joint model group associated with this constraint.
virtual void clear()
Clears all data from the constraint.
bool verbose_
True if verbosity is on.
planning_scene::PlanningSceneConstPtr scene_
Holds the planning scene.
const moveit::core::JointModelGroup * getJointModelGroup() const
Gets the joint model group.
The constraint samplers namespace contains a number of methods for generating samples based on a cons...
rclcpp::Logger getLogger(const std::string &name)
Creates a namespaced logger.
rclcpp::Logger getLogger()