5 #ifndef CHOREO_MPP_CONSTRUCT_PLANNING_SCENE_H 6 #define CHOREO_MPP_CONSTRUCT_PLANNING_SCENE_H 8 #include <choreo_msgs/AssemblySequencePickNPlace.h> 9 #include <choreo_msgs/WireFrameCollisionObject.h> 11 #include <moveit_msgs/CollisionObject.h> 12 #include <moveit_msgs/AttachedCollisionObject.h> 15 #include <descartes_core/robot_model.h> 20 const std::vector<moveit_msgs::CollisionObject>& add_cos,
21 const std::vector<moveit_msgs::CollisionObject>& remove_cos,
22 const std::vector<moveit_msgs::AttachedCollisionObject>& attach_objs,
23 const std::vector<moveit_msgs::AttachedCollisionObject>& detach_objs,
24 planning_scene::PlanningScenePtr s);
27 const std::vector<moveit_msgs::CollisionObject>& add_cos,
28 const std::vector<moveit_msgs::CollisionObject>& remove_cos,
29 const std::vector<moveit_msgs::AttachedCollisionObject>& attach_objs,
30 const std::vector<moveit_msgs::AttachedCollisionObject>& detach_objs);
35 const std::string& world_frame,
36 const choreo_msgs::AssemblySequencePickNPlace& as_pnp,
37 std::vector<std::vector<planning_scene::PlanningScenePtr>>& planning_scenes_transition,
38 std::vector<std::vector<planning_scene::PlanningScenePtr>>& planning_scenes_subprocess);
42 const std::vector <choreo_msgs::WireFrameCollisionObject> &wf_collision_objs,
43 std::vector<planning_scene::PlanningScenePtr>& planning_scenes_shrinked_approach,
44 std::vector<planning_scene::PlanningScenePtr>& planning_scenes_shrinked_depart,
45 std::vector<planning_scene::PlanningScenePtr>& planning_scenes_full);
49 #endif //CHOREO_MPP_CONSTRUCT_PLANNING_SCENE_H_H void constructPlanningScenes(moveit::core::RobotModelConstPtr moveit_model, const std::string &world_frame, const choreo_msgs::AssemblySequencePickNPlace &as_pnp, std::vector< std::vector< planning_scene::PlanningScenePtr >> &planning_scenes_transition, std::vector< std::vector< planning_scene::PlanningScenePtr >> &planning_scenes_subprocess)
void constructPlanningScene(const planning_scene::PlanningScenePtr base_scene, const std::vector< moveit_msgs::CollisionObject > &add_cos, const std::vector< moveit_msgs::CollisionObject > &remove_cos, const std::vector< moveit_msgs::AttachedCollisionObject > &attach_objs, const std::vector< moveit_msgs::AttachedCollisionObject > &detach_objs, planning_scene::PlanningScenePtr s)