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