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
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...
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 2019-12-06 12:34:17 -0500
Seen: 248 times
Last updated: Jan 17 '20
[ROS2] robot_state_publisher + xacro + Python launch
Launching both ROS2 nodes and ROS1 nodes from a single script
Using the --split option in a launch file for rosbag recording.
ros2 launch arg bug with string?
[ROS2] extend env vars in launch file instead of overwriting
[ROS2 Foxy] Setting log level in launch file
what is the replacement of dynamic_reconfigure in ros2.?
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.