Robotics StackExchange | Archived questions

Can you launch ROS2 rosbag2 from a launch file?

The documentation on the github page only shows how to launch rosbag using the ros2 executable (https://github.com/ros2/rosbag2). Is there a way to launch a rosbag2 node from a launch script when the vehicle starts operations?

Asked by mdeegan on 2020-03-05 18:14:37 UTC

Comments

This is a duplicate question. Find an answer here: #q341710.

I've also opened a PR to add documentation to the rosbag2 README: https://github.com/ros2/rosbag2/pull/325

Asked by jacobperron on 2020-03-17 11:31:47 UTC

@jacobperron: if it's a duplicate, please close it as such.

Asked by gvdhoorn on 2020-03-17 11:36:54 UTC

Thanks, I wasn't sure of the protocol.

Asked by jacobperron on 2020-03-17 11:44:22 UTC

Answers