From b0cbe8e5c6b761bfa9da987278cddde90c9b67c1 Mon Sep 17 00:00:00 2001 From: Christoph Froehlich Date: Mon, 18 Nov 2024 08:18:00 +0000 Subject: [PATCH] Fix parameter file --- .../test/rrbot_joint_trajectory_publisher.yaml | 2 +- .../test/test_publisher_joint_trajectory_controller_launch.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ros2_controllers_test_nodes/test/rrbot_joint_trajectory_publisher.yaml b/ros2_controllers_test_nodes/test/rrbot_joint_trajectory_publisher.yaml index 96de7d843a..7dd8304134 100644 --- a/ros2_controllers_test_nodes/test/rrbot_joint_trajectory_publisher.yaml +++ b/ros2_controllers_test_nodes/test/rrbot_joint_trajectory_publisher.yaml @@ -1,4 +1,4 @@ -publisher_joint_trajectory_controller: +publisher_position_trajectory_controller: ros__parameters: controller_name: "joint_trajectory_position_controller" 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 94b6418e76..d8d6e2a577 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 @@ -88,7 +88,7 @@ def test_node_start(self): assert found, "publisher_position_trajectory_controller not found!" def test_check_if_topic_published(self): - topic = "/position_trajectory_controller/joint_trajectory" + topic = "/joint_trajectory_position_controller/joint_trajectory" wait_for_topics = WaitForTopics([(topic, JointTrajectory)], timeout=20.0) assert wait_for_topics.wait(), f"Topic '{topic}' not found!" msgs = wait_for_topics.received_messages(topic)