Go to the documentation of this file.
41 #include <moveit_msgs/PlanningScene.h>
42 #include <moveit_msgs/MotionPlanRequest.h>
43 #include <moveit_msgs/RobotTrajectory.h>
57 class PlanningSceneStorage :
public MoveItMessageStorage
68 void addPlanningQuery(
const moveit_msgs::MotionPlanRequest& planning_query,
const std::string& scene_name,
69 const std::string& query_name =
"");
71 const moveit_msgs::RobotTrajectory& result,
const std::string& scene_name);
81 bool hasPlanningQuery(
const std::string& scene_name,
const std::string& query_name)
const;
83 const std::string& query_name);
85 const std::string& scene_name)
const;
88 const std::string& scene_name)
const;
90 std::vector<std::string>& query_names,
const std::string& scene_name)
const;
92 void getPlanningResults(std::vector<RobotTrajectoryWithMetadata>& planning_results,
const std::string& scene_name,
93 const moveit_msgs::MotionPlanRequest& planning_query)
const;
94 void getPlanningResults(std::vector<RobotTrajectoryWithMetadata>& planning_results,
const std::string& scene_name,
95 const std::string& query_name)
const;
97 void renamePlanningScene(
const std::string& old_scene_name,
const std::string& new_scene_name);
99 const std::string& new_query_name);
113 const std::string& scene_name)
const;
114 std::string
addNewPlanningRequest(
const moveit_msgs::MotionPlanRequest& planning_query,
const std::string& scene_name,
115 const std::string& query_name);
void removePlanningScene(const std::string &scene_name)
static const std::string DATABASE_NAME
bool getPlanningScene(PlanningSceneWithMetadata &scene_m, const std::string &scene_name) const
Get the latest planning scene named scene_name.
warehouse_ros::MessageCollection< moveit_msgs::PlanningScene >::Ptr PlanningSceneCollection
std::string getMotionPlanRequestName(const moveit_msgs::MotionPlanRequest &planning_query, const std::string &scene_name) const
void removePlanningQuery(const std::string &scene_name, const std::string &query_name)
static const std::string MOTION_PLAN_REQUEST_ID_NAME
std::string addNewPlanningRequest(const moveit_msgs::MotionPlanRequest &planning_query, const std::string &scene_name, const std::string &query_name)
void renamePlanningQuery(const std::string &scene_name, const std::string &old_query_name, const std::string &new_query_name)
void addPlanningResult(const moveit_msgs::MotionPlanRequest &planning_query, const moveit_msgs::RobotTrajectory &result, const std::string &scene_name)
bool getPlanningSceneWorld(moveit_msgs::PlanningSceneWorld &world, const std::string &scene_name) const
void addPlanningScene(const moveit_msgs::PlanningScene &scene)
void removePlanningResults(const std::string &scene_name)
PlanningSceneStorage(warehouse_ros::DatabaseConnection::Ptr conn)
warehouse_ros::MessageCollection< moveit_msgs::MotionPlanRequest >::Ptr MotionPlanRequestCollection
void addPlanningQuery(const moveit_msgs::MotionPlanRequest &planning_query, const std::string &scene_name, const std::string &query_name="")
bool hasPlanningQuery(const std::string &scene_name, const std::string &query_name) const
PlanningSceneCollection planning_scene_collection_
RobotTrajectoryCollection robot_trajectory_collection_
MOVEIT_CLASS_FORWARD(ConstraintsStorage)
MotionPlanRequestCollection motion_plan_request_collection_
void removePlanningQueries(const std::string &scene_name)
void renamePlanningScene(const std::string &old_scene_name, const std::string &new_scene_name)
warehouse_ros::MessageWithMetadata< moveit_msgs::MotionPlanRequest >::ConstPtr MotionPlanRequestWithMetadata
void getPlanningQueriesNames(std::vector< std::string > &query_names, const std::string &scene_name) const
void getPlanningSceneNames(std::vector< std::string > &names) const
bool getPlanningQuery(MotionPlanRequestWithMetadata &query_m, const std::string &scene_name, const std::string &query_name)
warehouse_ros::MessageWithMetadata< moveit_msgs::RobotTrajectory >::ConstPtr RobotTrajectoryWithMetadata
warehouse_ros::MessageCollection< moveit_msgs::RobotTrajectory >::Ptr RobotTrajectoryCollection
void getPlanningQueries(std::vector< MotionPlanRequestWithMetadata > &planning_queries, const std::string &scene_name) const
bool hasPlanningScene(const std::string &name) const
warehouse_ros::MessageWithMetadata< moveit_msgs::PlanningScene >::ConstPtr PlanningSceneWithMetadata
void getPlanningResults(std::vector< RobotTrajectoryWithMetadata > &planning_results, const std::string &scene_name, const moveit_msgs::MotionPlanRequest &planning_query) const
static const std::string PLANNING_SCENE_ID_NAME
warehouse
Author(s): Ioan Sucan
autogenerated on Thu Nov 21 2024 03:25:01