Skip to content

Interface definitions for listing maps #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ rosidl_generate_interfaces(${PROJECT_NAME}
"msg/Route.msg"
"msg/HttpRequest.msg"
"msg/HttpResponse.msg"
"msg/MapIdNamePair.msg"
"srv/FetchRouteNode.srv"
"srv/ModifyRouteNode.srv"
"srv/ModifyRouteEdge.srv"
Expand All @@ -60,6 +61,7 @@ rosidl_generate_interfaces(${PROJECT_NAME}
"srv/StopBagRecording.srv"
"srv/GetBagRecordingStatus.srv"
"srv/ListBagRecordings.srv"
"srv/ListMaps.srv"
"action/GenerateOfflineMap.action"
DEPENDENCIES ${dependencies}
)
Expand Down
3 changes: 3 additions & 0 deletions msg/MapIdNamePair.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Pair of map ID and name
uint16 map_id
string map_name
13 changes: 13 additions & 0 deletions srv/ListMaps.srv
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
## Request

---
## Response

# Indicate successful run of service
bool success

# List of maps
MapIdNamePair[] maps_list

# Error messages
string error