예제 #1
0
 public void MoveBackShortTimeTest()
 {
     GenieInterface.SetFalling(false);
     GenieInterface.SetSpeed(DefaultSpeed);
     GenieInterface.SetDriveMode(GenieInterface.DriveModes.Time);
     GenieInterface.MoveBack(2000); // 2000 = 2 seconds in milliseconds
 }
예제 #2
0
 public void MoveBackLongDistanceTest()
 {
     GenieInterface.SetFalling(false);
     GenieInterface.SetSpeed(DefaultSpeed);
     GenieInterface.SetDriveMode(GenieInterface.DriveModes.Distance);
     GenieInterface.MoveBack(50); // 10 = 1/2 meter
 }
예제 #3
0
 public void MoveBackInvalidInputTest()
 {
     GenieInterface.SetFalling(false);
     GenieInterface.SetSpeed(DefaultSpeed);
     GenieInterface.SetDriveMode(GenieInterface.DriveModes.Distance);
     GenieInterface.MoveBack(-50);
 }
예제 #4
0
 public void MoveBackShortDistanceTest()
 {
     GenieInterface.SetFalling(false);
     GenieInterface.SetSpeed(DefaultSpeed);
     GenieInterface.SetDriveMode(GenieInterface.DriveModes.Distance);
     GenieInterface.MoveBack(10); // 10 = 10cm
 }