From 13bf10e3a2cc46178a297091917511fa758d8dbe Mon Sep 17 00:00:00 2001 From: jakubach Date: Thu, 14 Nov 2024 00:54:45 +0100 Subject: [PATCH] Updated test Signed-off-by: jakubach --- nav2_docking/opennav_docking/test/test_controller.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nav2_docking/opennav_docking/test/test_controller.cpp b/nav2_docking/opennav_docking/test/test_controller.cpp index a195bb4a5c..9ad599fd72 100644 --- a/nav2_docking/opennav_docking/test/test_controller.cpp +++ b/nav2_docking/opennav_docking/test/test_controller.cpp @@ -39,9 +39,8 @@ TEST(ControllerTests, ObjectLifecycle) auto controller = std::make_unique(node); geometry_msgs::msg::Pose pose; - geometry_msgs::msg::Pose robot_pose; geometry_msgs::msg::Twist cmd_out, cmd_init; - EXPECT_TRUE(controller->computeVelocityCommand(pose, robot_pose, cmd_out)); + EXPECT_TRUE(controller->computeVelocityCommand(pose, cmd_out)); EXPECT_NE(cmd_init, cmd_out); controller.reset(); }