Extend test script
This commit is contained in:
parent
193f557d5e
commit
238164399d
@ -30,5 +30,10 @@ TEST(BB2B, Basics) {
|
|||||||
|
|
||||||
float leftMotorSpeed = obstacleRight ? -1.0F : 1.0F;
|
float leftMotorSpeed = obstacleRight ? -1.0F : 1.0F;
|
||||||
float rightMotorSpeed = obstacleLeft ? -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
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user