public void TurnRightInArcLongDistanceTest() { GenieInterface.SetFalling(false); GenieInterface.SetSpeed(DefaultSpeed); GenieInterface.SetDriveMode(GenieInterface.DriveModes.Distance); GenieInterface.TurnRight(false, 50); // 50 cm }
public void TurnRightInArcLongTimeTest() { GenieInterface.SetFalling(false); GenieInterface.SetSpeed(DefaultSpeed); GenieInterface.SetDriveMode(GenieInterface.DriveModes.Time); GenieInterface.TurnRight(false, 6000); // 6000 = 6 seconds in milliseconds }
public void TurnRightInPlaceShortDistanceTest() { GenieInterface.SetFalling(false); GenieInterface.SetSpeed(DefaultSpeed); GenieInterface.SetDriveMode(GenieInterface.DriveModes.Distance); GenieInterface.TurnRight(true, 10); // 10 = 10cm }
public void TurnRightInPlaceShortTimeTest() { GenieInterface.SetFalling(false); GenieInterface.SetSpeed(DefaultSpeed); GenieInterface.SetDriveMode(GenieInterface.DriveModes.Time); GenieInterface.TurnRight(true, 2000); // 2000 = 2 seconds in milliseconds }
public void TurnRightInvalidInputTest() { GenieInterface.TurnRight(false, -100); }