ros2 bag launch
Hi ROS2 enthusiasts,
I would like to use ros2bag from a launch file. How do I realize it? Non of the ros2bag
or rosbag2
packages seems to have a launch configuration yet.
Any idea?
Sebastian
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
Hi ROS2 enthusiasts,
I would like to use ros2bag from a launch file. How do I realize it? Non of the ros2bag
or rosbag2
packages seems to have a launch configuration yet.
Any idea?
Sebastian
I missed this question earlier, but I've answered a duplicate question here: https://answers.ros.org/question/3417...
I'm not sure it's the ideal approach for rosbag2
, but you can launch an ExecuteProcess
for any ros2
CLI.
So far this is the suggested way to do it (via executing as executable notas node action): https://github.com/ros2/rosbag2#using...
Asked: 2019-12-06 12:34:17 -0500
Seen: 2,782 times
Last updated: Jan 17 '20
How to start multiple Lidar in one file in ros2 environment
how to change default logging verbosity
Passing parameter for launch testing in ros2
ROS2 parameter override semantics?
Add an environment variable in ExecuteProcess
[SOLVED] [ROS2 humble linux] Wait until a node has been destroyed in launch_testing
How to solve 'file 'rviz2.launch.py' was not found in the share directory of package'?
Are you talking about something like this:
If you know how to start a node from terminal then you can also launch it in a launchfile. You can simply add the Node(), to the other launch_descriptions inside:
You will just have to import
I left the fields blank, because I haven't used rosbag2 and don't know the name of the executables or parameters etc., but hopefully this helps. If I misunderstood your question please let me know.