From f1a6ea29c4e3333ad5c95ad0bd5d6c303f0093a2 Mon Sep 17 00:00:00 2001 From: Pascal Serrarens Date: Fri, 15 Nov 2024 15:15:29 +0100 Subject: [PATCH] Further test fixes --- test/BB2B_Test.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/BB2B_Test.cc b/test/BB2B_Test.cc index 856966c..5659a3c 100644 --- a/test/BB2B_Test.cc +++ b/test/BB2B_Test.cc @@ -208,7 +208,7 @@ TEST(BB2B, ObstacleLeft) { EXPECT_FLOAT_EQ(rightActualSpeed, -1.0F); // Roboid velocity - Polar velocity = + Spherical16 velocity = diffDrive->GetVelocity(); // this depends on the wheel diameter. EXPECT_FLOAT_EQ(velocity.distance, 0.0F); @@ -409,7 +409,7 @@ TEST(BB2B, ObstacleBoth) { EXPECT_FLOAT_EQ(rightActualSpeed, -1.0F); // Roboid velocity - Spherical velocity = diffDrive->GetVelocity(); + Spherical16 velocity = diffDrive->GetVelocity(); EXPECT_FLOAT_EQ(velocity.distance, 1.0F); EXPECT_FLOAT_EQ(velocity.direction.horizontal.InDegrees(), -180.0F);