41 #include <moveit_msgs/msg/trajectory_constraints.hpp>
45 typedef warehouse_ros::MessageWithMetadata<moveit_msgs::msg::TrajectoryConstraints>::ConstPtr
63 const std::string&
robot =
"",
const std::string&
group =
"");
65 const std::string&
group =
"")
const;
67 const std::string&
group =
"")
const;
69 const std::string&
robot =
"",
const std::string&
group =
"")
const;
73 const std::string&
robot =
"",
const std::string&
group =
"")
const;
76 const std::string&
robot =
"",
const std::string&
group =
"");
79 const std::string&
group =
"");
84 void createCollections();
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