From 8b0e71e4d791cd25368270cae8a40635bec9e120 Mon Sep 17 00:00:00 2001 From: Christoph Froehlich Date: Tue, 28 Nov 2023 10:06:48 +0000 Subject: [PATCH] Use new update method for added tests --- joint_trajectory_controller/test/test_trajectory_actions.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/joint_trajectory_controller/test/test_trajectory_actions.cpp b/joint_trajectory_controller/test/test_trajectory_actions.cpp index 17f29ff4e4..87d557df1b 100644 --- a/joint_trajectory_controller/test/test_trajectory_actions.cpp +++ b/joint_trajectory_controller/test/test_trajectory_actions.cpp @@ -282,7 +282,7 @@ TEST_P(TestTrajectoryActionsTestParameterized, test_success_single_point_with_ve EXPECT_EQ(rclcpp_action::ResultCode::SUCCEEDED, common_resultcode_); // run an update - updateController(rclcpp::Duration::from_seconds(0.01)); + updateControllerAsync(rclcpp::Duration::from_seconds(0.01)); // it should be holding the last position goal // i.e., active but trivial trajectory (one point only) @@ -379,7 +379,7 @@ TEST_P(TestTrajectoryActionsTestParameterized, test_success_multi_point_with_vel EXPECT_EQ(rclcpp_action::ResultCode::SUCCEEDED, common_resultcode_); // run an update - updateController(rclcpp::Duration::from_seconds(0.01)); + updateControllerAsync(rclcpp::Duration::from_seconds(0.01)); // it should be holding the last position goal // i.e., active but trivial trajectory (one point only)