41 #include <moveit_msgs/msg/constraints.hpp>
43 #include <moveit_warehouse_export.h>
45 #include <rclcpp/logger.hpp>
65 void addConstraints(
const moveit_msgs::msg::Constraints& msg,
const std::string& robot =
"",
66 const std::string& group =
"");
67 bool hasConstraints(
const std::string&
name,
const std::string& robot =
"",
const std::string& group =
"")
const;
68 void getKnownConstraints(std::vector<std::string>& names,
const std::string& robot =
"",
69 const std::string& group =
"")
const;
70 void getKnownConstraints(
const std::string& regex, std::vector<std::string>& names,
const std::string& robot =
"",
71 const std::string& group =
"")
const;
75 const std::string& group =
"")
const;
77 void renameConstraints(
const std::string& old_name,
const std::string& new_name,
const std::string& robot =
"",
78 const std::string& group =
"");
80 void removeConstraints(
const std::string&
name,
const std::string& robot =
"",
const std::string& group =
"");
85 void createCollections();
88 rclcpp::Logger logger_;
static const std::string DATABASE_NAME
static const std::string CONSTRAINTS_ID_NAME
static const std::string CONSTRAINTS_GROUP_NAME
static const std::string ROBOT_NAME
This class provides the mechanism to connect to a database and reads needed ROS parameters when appro...
warehouse_ros::MessageCollection< moveit_msgs::msg::Constraints >::Ptr ConstraintsCollection
MOVEIT_CLASS_FORWARD(PlanningSceneStorage)
warehouse_ros::MessageWithMetadata< moveit_msgs::msg::Constraints >::ConstPtr ConstraintsWithMetadata