dougsm / rosbag_recording_services

ROS package to allow starting and stopping of rosbag recordings via service calls.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

README

This is a simple ROS package that allows starting and stopping rosbag recordings via service calls, which is useful for performing repeated data collection.

Config

The config for the recording is in config/config.yaml. Configure the output directory for the rosbag files and topics to be recorded (regex syntax is ok). Rosbag files are saved with the current date and time as a filename.

Run

roslaunch data_recording data_recording.launch

The package creates three services, which can be called with a std_srvs.srv.TriggerRequest message:

  • /data_recording/start_recording
  • /data_recording/stop_recording
  • /data_recording/toggle_recording

About

ROS package to allow starting and stopping of rosbag recordings via service calls.


Languages

Language:CMake 76.3%Language:Python 23.7%