Launch node when component node is loaded?

asked 2021-01-26 10:28:25 -0500

updated 2021-01-26 10:28:57 -0500

In my logs I have output like this from a component node container:

[INFO] [launch_ros.actions.load_composable_nodes]: Loaded node '/robot_state_publisher' in container '/test_servo_integration_container'

Is there a way in the launch description to trigger launching another node (my gtest) when this happens? Is there a way for me to get the event of load_composable_nodes and launch another node?

edit retag flag offensive close merge delete