From 3e62d3474619e062c43b988dec36750929134199 Mon Sep 17 00:00:00 2001 From: Christoph Froehlich Date: Sun, 17 Nov 2024 23:15:01 +0000 Subject: [PATCH] Fix node name --- .../test/test_publisher_joint_trajectory_controller_launch.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ros2_controllers_test_nodes/test/test_publisher_joint_trajectory_controller_launch.py b/ros2_controllers_test_nodes/test/test_publisher_joint_trajectory_controller_launch.py index d68d4141fb..ac61883963 100644 --- a/ros2_controllers_test_nodes/test/test_publisher_joint_trajectory_controller_launch.py +++ b/ros2_controllers_test_nodes/test/test_publisher_joint_trajectory_controller_launch.py @@ -81,9 +81,9 @@ def test_node_start(self): start = time.time() found = False while time.time() - start < 2.0 and not found: - found = "/publisher_position_trajectory_controller" in self.node.get_node_names() + found = "publisher_position_trajectory_controller" in self.node.get_node_names() time.sleep(0.1) - assert found, "/publisher_position_trajectory_controller not found!" + assert found, "publisher_position_trajectory_controller not found!" @launch_testing.post_shutdown_test()