41 #include <moveit_msgs/msg/trajectory_constraints.hpp>
42 #include <rclcpp/logger.hpp>
46 typedef warehouse_ros::MessageWithMetadata<moveit_msgs::msg::TrajectoryConstraints>::ConstPtr
64 const std::string& robot =
"",
const std::string& group =
"");
66 const std::string& group =
"")
const;
68 const std::string& group =
"")
const;
70 const std::string& robot =
"",
const std::string& group =
"")
const;
74 const std::string& robot =
"",
const std::string& group =
"")
const;
77 const std::string& robot =
"",
const std::string& group =
"");
80 const std::string& group =
"");
85 void createCollections();
88 rclcpp::Logger logger_;
This class provides the mechanism to connect to a database and reads needed ROS parameters when appro...
TrajectoryConstraintsStorage(warehouse_ros::DatabaseConnection::Ptr conn)
static const std::string DATABASE_NAME
bool hasTrajectoryConstraints(const std::string &name, const std::string &robot="", const std::string &group="") const
void renameTrajectoryConstraints(const std::string &old_name, const std::string &new_name, const std::string &robot="", const std::string &group="")
void getKnownTrajectoryConstraints(std::vector< std::string > &names, const std::string &robot="", const std::string &group="") const
static const std::string CONSTRAINTS_ID_NAME
void removeTrajectoryConstraints(const std::string &name, const std::string &robot="", const std::string &group="")
static const std::string ROBOT_NAME
void addTrajectoryConstraints(const moveit_msgs::msg::TrajectoryConstraints &msg, const std::string &name, const std::string &robot="", const std::string &group="")
static const std::string CONSTRAINTS_GROUP_NAME
bool getTrajectoryConstraints(TrajectoryConstraintsWithMetadata &msg_m, const std::string &name, const std::string &robot="", const std::string &group="") const
Get the constraints named name. Return false on failure.
warehouse_ros::MessageWithMetadata< moveit_msgs::msg::TrajectoryConstraints >::ConstPtr TrajectoryConstraintsWithMetadata
MOVEIT_CLASS_FORWARD(PlanningSceneStorage)
warehouse_ros::MessageCollection< moveit_msgs::msg::TrajectoryConstraints >::Ptr TrajectoryConstraintsCollection