Skip to content

Commit

Permalink
Add service definitions for cloning network of paths maps & missions
Browse files Browse the repository at this point in the history
  • Loading branch information
civerachb-cpr committed Jan 30, 2024
1 parent 05de66b commit ca13409
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ add_service_files(
AddNetworkPoint.srv
AddRemoveById.srv
CloneMission.srv
CloneNetworkMap.srv
CloneNetworkMission.srv
CreateMission.srv
CreateNetworkMap.srv
CreateNetworkMission.srv
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit ca13409

Please sign in to comment.