diff --git a/example_15/bringup/launch/rrbot_base.launch.py b/example_15/bringup/launch/rrbot_base.launch.py index d5fed3f91..97ba4947f 100644 --- a/example_15/bringup/launch/rrbot_base.launch.py +++ b/example_15/bringup/launch/rrbot_base.launch.py @@ -226,20 +226,11 @@ def generate_launch_description(): ) ) - # Delay start of joint_state_broadcaster after `robot_controller` - # TODO(anyone): This is a workaround for flaky tests. Remove when fixed. - delay_joint_state_broadcaster_after_robot_controller_spawner = RegisterEventHandler( - event_handler=OnProcessExit( - target_action=robot_controller_spawner, - on_exit=[joint_state_broadcaster_spawner], - ) - ) - nodes = [ control_node, robot_state_pub_node, robot_controller_spawner, - delay_joint_state_broadcaster_after_robot_controller_spawner, + joint_state_broadcaster_spawner, delay_rviz_after_joint_state_broadcaster_spawner, ] diff --git a/example_15/bringup/launch/rrbot_namespace.launch.py b/example_15/bringup/launch/rrbot_namespace.launch.py index d63a0b040..537bdb208 100644 --- a/example_15/bringup/launch/rrbot_namespace.launch.py +++ b/example_15/bringup/launch/rrbot_namespace.launch.py @@ -131,32 +131,13 @@ def generate_launch_description(): ) ) - # Delay start of joint_state_broadcaster after `robot_controller` - # TODO(anyone): This is a workaround for flaky tests. Remove when fixed. - delay_joint_state_broadcaster_after_robot_controller_spawner = RegisterEventHandler( - event_handler=OnProcessExit( - target_action=robot_forward_position_controller_spawner, - on_exit=[joint_state_broadcaster_spawner], - ) - ) - - # Delay start of robot_controller after `joint_state_broadcaster` - delay_robot_position_trajectory_controller_spawner_after_joint_state_broadcaster_spawner = ( - RegisterEventHandler( - event_handler=OnProcessExit( - target_action=joint_state_broadcaster_spawner, - on_exit=[robot_position_trajectory_controller_spawner], - ) - ) - ) - nodes = [ control_node, robot_state_pub_node, delay_rviz_after_joint_state_broadcaster_spawner, robot_forward_position_controller_spawner, - delay_joint_state_broadcaster_after_robot_controller_spawner, - delay_robot_position_trajectory_controller_spawner_after_joint_state_broadcaster_spawner, + joint_state_broadcaster_spawner, + robot_position_trajectory_controller_spawner, ] return LaunchDescription(declared_arguments + nodes)