37 #ifndef MOVEIT_MOVEIT_WAREHOUSE_TRAJECTORY_CONSTRAINTS_STORAGE_ 38 #define MOVEIT_MOVEIT_WAREHOUSE_TRAJECTORY_CONSTRAINTS_STORAGE_ 42 #include <moveit_msgs/TrajectoryConstraints.h> 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 =
"");
void createCollections(void)
void addTrajectoryConstraints(const moveit_msgs::TrajectoryConstraints &msg, const std::string &name, const std::string &robot="", const std::string &group="")
This class provides the mechanism to connect to a database and reads needed ROS parameters when appro...
TrajectoryConstraintsStorage(warehouse_ros::DatabaseConnection::Ptr conn)
MOVEIT_CLASS_FORWARD(ConstraintsStorage)
void getKnownTrajectoryConstraints(std::vector< std::string > &names, const std::string &robot="", const std::string &group="") const
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.
void removeTrajectoryConstraints(const std::string &name, const std::string &robot="", const std::string &group="")
warehouse_ros::MessageWithMetadata< moveit_msgs::TrajectoryConstraints >::ConstPtr TrajectoryConstraintsWithMetadata
TrajectoryConstraintsCollection constraints_collection_
static const std::string CONSTRAINTS_ID_NAME
static const std::string CONSTRAINTS_GROUP_NAME
warehouse_ros::MessageCollection< moveit_msgs::TrajectoryConstraints >::Ptr TrajectoryConstraintsCollection
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="")
static const std::string DATABASE_NAME
static const std::string ROBOT_NAME