Finally, and this will be the last line of your launch file, return the LaunchDescription object, which now contains all nodes to launch.Install the ROS2 Python launch fileAdd dependenciesIn this example, we are starting nodes from demo_nodes_cpp and demo_nodes_py packages. As those are ...
Because it is marked as required, the other nodes in the launch file (cool_but_rude) will also be terminated after five seconds. ROS 2 The ROS 2 launch system adds a bit of flexibility to what to do when a node is shutdown. If you just want to replicate the behavior, you can add...