From e47bca8b95ce74925fb82d6bf63f58e28e670429 Mon Sep 17 00:00:00 2001 From: Nisarg Panchal Date: Wed, 25 Dec 2024 15:22:49 +0530 Subject: [PATCH] update unit tests --- costmap_2d/test/footprint_tests.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/costmap_2d/test/footprint_tests.cpp b/costmap_2d/test/footprint_tests.cpp index 86fe19d22..e30574d97 100644 --- a/costmap_2d/test/footprint_tests.cpp +++ b/costmap_2d/test/footprint_tests.cpp @@ -71,14 +71,14 @@ TEST( Costmap2DROS, padded_footprint_from_string_param ) EXPECT_EQ( 3, footprint.size() ); EXPECT_EQ( 1.66667f, footprint[0].x ); - EXPECT_EQ( 1.66667f, footprint[0].y ); + EXPECT_EQ( 1.33333f, footprint[0].y ); EXPECT_EQ( 0.0f, footprint[0].z ); - EXPECT_EQ( -1.66667f, footprint[1].x ); - EXPECT_EQ( 1.66667f, footprint[1].y ); + EXPECT_EQ( -1.33333f, footprint[1].x ); + EXPECT_EQ( 1.33333f, footprint[1].y ); EXPECT_EQ( 0.0f, footprint[1].z ); - EXPECT_EQ( -1.66667f, footprint[2].x ); + EXPECT_EQ( -1.33333f, footprint[2].x ); EXPECT_EQ( -1.66667f, footprint[2].y ); EXPECT_EQ( 0.0f, footprint[2].z ); }