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