Further test fixes
This commit is contained in:
parent
c4d0ef95cf
commit
f1a6ea29c4
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user