-
Notifications
You must be signed in to change notification settings - Fork 1
Interfaces for managing Continuous Recording #12
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| # Date | ||
| uint16 year | ||
| uint8 month | ||
| uint8 day | ||
|
|
||
| # Time (UTC) | ||
| uint8 hour | ||
| uint8 minute | ||
| uint8 second |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| ## Request | ||
|
|
||
| # Recording Types (enum) | ||
| # | ||
| # BUFFER_FILE: Delete a recording from the buffer dir | ||
| # KEEP_SESSION: Delete a session from keep dir | ||
| uint8 BUFFER_FILE=0 | ||
| uint8 KEEP_SESSION=1 | ||
|
|
||
|
|
||
| # Type of request (see options above) | ||
| uint8 delete_request_type | ||
|
|
||
| # File/session name | ||
| string name | ||
|
|
||
| --- | ||
| ## Response | ||
|
|
||
| # Indicate successful run of service | ||
| bool success | ||
|
|
||
| # Error messages | ||
| string error |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| ## Request | ||
|
|
||
| --- | ||
| ## Response | ||
|
|
||
| # Indicate successful run of service | ||
| bool success | ||
|
|
||
| # Bag recordings from each category | ||
| BagRecording[] active_recordings | ||
| BagRecording[] buffer_recordings | ||
| BagRecording[] keep_sessions | ||
|
|
||
| # Error messages | ||
| string error |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| ## Request | ||
|
|
||
| # Start time for retention | ||
| polymath_msgs/DateTime start_time | ||
|
|
||
| # End time for retention | ||
| polymath_msgs/DateTime end_time | ||
|
|
||
| # Session suffix (optional, recommended) | ||
| string session_suffix | ||
|
|
||
| --- | ||
| ## Response | ||
|
|
||
| # Indicate successful run of service | ||
| bool success | ||
|
|
||
| # Error messages | ||
| string error | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| ## Request | ||
|
|
||
| # Session suffix (optional, recommended) | ||
| string session_suffix | ||
|
|
||
| --- | ||
| ## Response | ||
|
|
||
| # Indicate successful run of service | ||
| bool success | ||
|
|
||
| # Error messages | ||
| string error |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| ## Request | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Given how generic this There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah we can make a basic trigger request, since even StopBagRecording.srv is the same |
||
| --- | ||
| ## Response | ||
|
|
||
| # Indicate successful run of service | ||
| bool success | ||
|
|
||
| # Error messages | ||
| string error | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why define a new datetime? Why not rostime? Let other tools define the human readable interface
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since all bags are stored with UTC timestamp, I assume it'll be more intuitive for someone to provide that when requesting to retain bags instead of builtin_interfaces/Time (sec + nanosec). Would be intuitive to use from raw service panels and cli as well if required
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We will be writing tooling in Foxglove/Polyglot to set retentions right? They can manage the human readable datetime -> ros time conversion.