Extend test script

This commit is contained in:
Pascal Serrarens 2023-12-31 16:39:11 +01:00
parent 193f557d5e
commit 238164399d

View File

@ -30,5 +30,10 @@ TEST(BB2B, Basics) {
float leftMotorSpeed = obstacleRight ? -1.0F : 1.0F;
float rightMotorSpeed = obstacleLeft ? -1.0F : 1.0F;
DifferentialDrive *diffDrive = (DifferentialDrive *)&roboid->propulsion;
diffDrive->SetTargetSpeeds(leftMotorSpeed, rightMotorSpeed);
// cannot chek verlocity in this branch?
}
#endif