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