Rosbag Recording
note
This resource allows user to start/stop rosbag recording Detailed behavior of each command is described below.
POST
/internal/commands/start-rosbag-recording
Start the Rosbag Recording
In case of distributed system, recording for all algo nodes is started simultaneously
- Parameters
- (optional) folder_name : Name of the subfolder to save the collected data. If not specified, data will be saved in
/root/seoulrobotics/recordings/
.
- (optional) folder_name : Name of the subfolder to save the collected data. If not specified, data will be saved in
- Return code
- 200 OK
- 400 BAD REQ
Example
$ curl -X POST 'http://localhost:9080/internal/commands/start-rosbag-recording?folder_name=test'
** Respond **
Rosbag Recording has started.
/internal/commands/stop-rosbag-recording
Stop the Rosbag Recording
In case of distributed system, recording for all algo nodes is stopped simultaneously
Collected rosbags will be saved in
/root/seoulrobotics/recordings/{subfolder}/
which is mounted to/opt/seoulrobotics/recordings/{subfolder}/
in local machine.- Parameters
- N/A
- Return code
- 200 OK
- 400 BAD REQ
Example
$ curl -X POST 'http://localhost:9080/internal/commands/stop-rosbag-recording'
** Respond **
Rosbag Recording has stopped.