From ca1340976c52610bf8c9d9e9c7fa4f20eb963c51 Mon Sep 17 00:00:00 2001 From: Chris Iverach-Brereton Date: Tue, 30 Jan 2024 11:38:35 -0500 Subject: [PATCH] Add service definitions for cloning network of paths maps & missions --- .../clearpath_mission_manager_msgs/CMakeLists.txt | 2 ++ .../srv/CloneNetworkMap.srv | 10 ++++++++++ .../srv/CloneNetworkMission.srv | 12 ++++++++++++ 3 files changed, 24 insertions(+) create mode 100644 clearpath_outdoornav_msgs/clearpath_mission_manager_msgs/srv/CloneNetworkMap.srv create mode 100644 clearpath_outdoornav_msgs/clearpath_mission_manager_msgs/srv/CloneNetworkMission.srv diff --git a/clearpath_outdoornav_msgs/clearpath_mission_manager_msgs/CMakeLists.txt b/clearpath_outdoornav_msgs/clearpath_mission_manager_msgs/CMakeLists.txt index 3c96e61..9162864 100644 --- a/clearpath_outdoornav_msgs/clearpath_mission_manager_msgs/CMakeLists.txt +++ b/clearpath_outdoornav_msgs/clearpath_mission_manager_msgs/CMakeLists.txt @@ -21,6 +21,8 @@ add_service_files( AddNetworkPoint.srv AddRemoveById.srv CloneMission.srv + CloneNetworkMap.srv + CloneNetworkMission.srv CreateMission.srv CreateNetworkMap.srv CreateNetworkMission.srv diff --git a/clearpath_outdoornav_msgs/clearpath_mission_manager_msgs/srv/CloneNetworkMap.srv b/clearpath_outdoornav_msgs/clearpath_mission_manager_msgs/srv/CloneNetworkMap.srv new file mode 100644 index 0000000..bd907a0 --- /dev/null +++ b/clearpath_outdoornav_msgs/clearpath_mission_manager_msgs/srv/CloneNetworkMap.srv @@ -0,0 +1,10 @@ +# The UUID of the map to clone +string uuid + +# The new name for the map +# If blank, the old map name will be re-used with -copy appended to the end +string new_name + +--- +# The newly-created copy of the original map, with a new name and new UUID +clearpath_navigation_msgs/NetworkMap map diff --git a/clearpath_outdoornav_msgs/clearpath_mission_manager_msgs/srv/CloneNetworkMission.srv b/clearpath_outdoornav_msgs/clearpath_mission_manager_msgs/srv/CloneNetworkMission.srv new file mode 100644 index 0000000..9fe0fbd --- /dev/null +++ b/clearpath_outdoornav_msgs/clearpath_mission_manager_msgs/srv/CloneNetworkMission.srv @@ -0,0 +1,12 @@ +# The UUID of the mission to clone +string uuid + +# The new name for the mission +# If blank, the old mission name will be re-used with -copy appended to the end +string new_name + +# If true, the order of the waypoints within the cloned mission are reversed +bool reverse +--- +# The Mission with the given ID, or null if no Mission with that ID exists +clearpath_navigation_msgs/NetworkMission mission