Skip to content

Commit eacc65a

Browse files
author
Dhruv Tyagi
committed
Merge branch 'main' into dtyagi/delete-map-srv
2 parents 69da0f2 + 912cfd9 commit eacc65a

File tree

7 files changed

+23
-5
lines changed

7 files changed

+23
-5
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ rosidl_generate_interfaces(${PROJECT_NAME}
4545
"msg/Route.msg"
4646
"msg/HttpRequest.msg"
4747
"msg/HttpResponse.msg"
48+
"msg/MapIdNamePair.msg"
4849
"srv/FetchRouteNode.srv"
4950
"srv/ModifyRouteNode.srv"
5051
"srv/ModifyRouteEdge.srv"
@@ -61,6 +62,7 @@ rosidl_generate_interfaces(${PROJECT_NAME}
6162
"srv/GetBagRecordingStatus.srv"
6263
"srv/ListBagRecordings.srv"
6364
"srv/DeleteMap.srv"
65+
"srv/ListMaps.srv"
6466
"action/GenerateOfflineMap.action"
6567
DEPENDENCIES ${dependencies}
6668
)

msg/BagRecording.msg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
string bag_name
2-
uint8 size_mb
2+
uint64 size_bytes
33
string[] files

msg/BagRecordingStatus.msg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ bool is_recording
22
# Name of the currently recording bag file (empty if not recording)
33
string bag_name
44
# Time elapsed since the start of current recording in seconds (0 if not recording)
5-
uint16 time_elapsed
5+
uint32 time_elapsed
66
string recorded_topics
7-
uint16 planned_duration
7+
uint32 planned_duration

msg/MapIdNamePair.msg

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Pair of map ID and name
2+
uint16 map_id
3+
string map_name

package.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
33
<package format="3">
44
<name>polymath_msgs</name>
5-
<version>0.9.0</version>
5+
<version>0.10.0</version>
66
<description>Interface definitions for customer applications to communicate with Polymath Autonomy Software</description>
77
<maintainer email="dhruv@polymathrobotics.com">Dhruv Tyagi</maintainer>
88
<license>Apache-2.0</license>

srv/ListMaps.srv

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
## Request
2+
3+
---
4+
## Response
5+
6+
# Indicate successful run of service
7+
bool success
8+
9+
# List of maps
10+
MapIdNamePair[] maps_list
11+
12+
# Error messages
13+
string error

srv/StartBagRecording.srv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ string topic_profile
1010

1111
# Record for pre-set time duration in seconds (optional)
1212
# Default 0: record until manually stopped or max time limit reached
13-
uint8 record_duration
13+
uint32 record_duration
1414

1515
---
1616
## Response

0 commit comments

Comments
 (0)