Skip to content

Commit 68fc388

Browse files
dhruvtyaDhruv Tyagi
andauthored
Fix for duration & size type (#10)
* Modified durations and size to uint64 * Modified duration to uint32 --------- Co-authored-by: Dhruv Tyagi <dhruv@polymathrobotics.com>
1 parent e9f42f9 commit 68fc388

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

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

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)