Skip to content

Commit 5d8142f

Browse files
Use new update method for added tests
1 parent 5393fee commit 5d8142f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

joint_trajectory_controller/test/test_trajectory_actions.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ TEST_P(TestTrajectoryActionsTestParameterized, test_success_single_point_with_ve
282282
EXPECT_EQ(rclcpp_action::ResultCode::SUCCEEDED, common_resultcode_);
283283

284284
// run an update
285-
updateController(rclcpp::Duration::from_seconds(0.01));
285+
updateControllerAsync(rclcpp::Duration::from_seconds(0.01));
286286

287287
// it should be holding the last position goal
288288
// i.e., active but trivial trajectory (one point only)
@@ -379,7 +379,7 @@ TEST_P(TestTrajectoryActionsTestParameterized, test_success_multi_point_with_vel
379379
EXPECT_EQ(rclcpp_action::ResultCode::SUCCEEDED, common_resultcode_);
380380

381381
// run an update
382-
updateController(rclcpp::Duration::from_seconds(0.01));
382+
updateControllerAsync(rclcpp::Duration::from_seconds(0.01));
383383

384384
// it should be holding the last position goal
385385
// i.e., active but trivial trajectory (one point only)

0 commit comments

Comments
 (0)