From 4c2fef963409203a61e169b4a566b70cf76d20d9 Mon Sep 17 00:00:00 2001 From: Shankar-Balajee Date: Tue, 24 Dec 2024 12:09:23 +0530 Subject: [PATCH 1/2] Cleaned up unused variable EPS in /mecanum_drive_controller/test_mecanum_drive_controller.cpp --- .../test/test_mecanum_drive_controller.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/mecanum_drive_controller/test/test_mecanum_drive_controller.cpp b/mecanum_drive_controller/test/test_mecanum_drive_controller.cpp index 5327e890e9..fa137db930 100644 --- a/mecanum_drive_controller/test/test_mecanum_drive_controller.cpp +++ b/mecanum_drive_controller/test/test_mecanum_drive_controller.cpp @@ -31,11 +31,11 @@ class MecanumDriveControllerTest { }; -namespace -{ -// Floating-point value comparison threshold -const double EPS = 1e-3; -} // namespace +// namespace +// { +// // Floating-point value comparison threshold +// const double EPS = 1e-3; +// } // namespace TEST_F(MecanumDriveControllerTest, when_controller_is_configured_expect_all_parameters_set) { From 9145d11f1cca518cf1da561e0876e542a27b902a Mon Sep 17 00:00:00 2001 From: Shankar-Balajee Date: Tue, 24 Dec 2024 13:24:29 +0530 Subject: [PATCH 2/2] removed unused var in mecanum_drive_controller Closes #1441 --- .../test/test_mecanum_drive_controller.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/mecanum_drive_controller/test/test_mecanum_drive_controller.cpp b/mecanum_drive_controller/test/test_mecanum_drive_controller.cpp index fa137db930..bbddcec06a 100644 --- a/mecanum_drive_controller/test/test_mecanum_drive_controller.cpp +++ b/mecanum_drive_controller/test/test_mecanum_drive_controller.cpp @@ -31,12 +31,6 @@ class MecanumDriveControllerTest { }; -// namespace -// { -// // Floating-point value comparison threshold -// const double EPS = 1e-3; -// } // namespace - TEST_F(MecanumDriveControllerTest, when_controller_is_configured_expect_all_parameters_set) { SetUpController();