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(); }