Exemple #1
0
 public void TurnLeftInArcLongDistanceTest()
 {
     GenieInterface.SetFalling(false);
     GenieInterface.SetSpeed(DefaultSpeed);
     GenieInterface.SetDriveMode(GenieInterface.DriveModes.Distance);
     GenieInterface.TurnLeft(false, 50); // 50 cm
 }
Exemple #2
0
 public void MoveBackShortTimeTest()
 {
     GenieInterface.SetFalling(false);
     GenieInterface.SetSpeed(DefaultSpeed);
     GenieInterface.SetDriveMode(GenieInterface.DriveModes.Time);
     GenieInterface.MoveBack(2000); // 2000 = 2 seconds in milliseconds
 }
Exemple #3
0
 public void TurnLeftInArcLongTimeTest()
 {
     GenieInterface.SetFalling(false);
     GenieInterface.SetSpeed(DefaultSpeed);
     GenieInterface.SetDriveMode(GenieInterface.DriveModes.Time);
     GenieInterface.TurnLeft(false, 6000); // 6000 = 6 seconds in milliseconds
 }
Exemple #4
0
 public void TurnLeftInPlaceShortDistanceTest()
 {
     GenieInterface.SetFalling(false);
     GenieInterface.SetSpeed(DefaultSpeed);
     GenieInterface.SetDriveMode(GenieInterface.DriveModes.Distance);
     GenieInterface.TurnLeft(true, 10); // 10 = 10cm
 }
Exemple #5
0
 public void TurnRightInArcShortDistanceTest()
 {
     GenieInterface.SetFalling(false);
     GenieInterface.SetSpeed(DefaultSpeed);
     GenieInterface.SetDriveMode(GenieInterface.DriveModes.Distance);
     GenieInterface.TurnRight(false, 10); // 10 cm
 }
Exemple #6
0
 public void TurnLeftInPlaceShortTimeTest()
 {
     GenieInterface.SetFalling(false);
     GenieInterface.SetSpeed(DefaultSpeed);
     GenieInterface.SetDriveMode(GenieInterface.DriveModes.Time);
     GenieInterface.TurnLeft(true, 2000); // 2000 = 2 seconds in milliseconds
 }
Exemple #7
0
 public void TurnRightInPlaceLongDistanceTest()
 {
     GenieInterface.SetFalling(false);
     GenieInterface.SetSpeed(DefaultSpeed);
     GenieInterface.SetDriveMode(GenieInterface.DriveModes.Distance);
     GenieInterface.TurnRight(true, 50); // 50 = 50cm
 }
Exemple #8
0
 public void MoveForwardLongDistanceTest()
 {
     GenieInterface.SetFalling(false);
     GenieInterface.SetSpeed(DefaultSpeed);
     GenieInterface.SetDriveMode(GenieInterface.DriveModes.Distance);
     GenieInterface.MoveForward(50); // 10 = 1/2 meter
 }
Exemple #9
0
 public void MoveForwardShortDistanceTest()
 {
     GenieInterface.SetFalling(false);
     GenieInterface.SetSpeed(DefaultSpeed);
     GenieInterface.SetDriveMode(GenieInterface.DriveModes.Distance);
     GenieInterface.MoveForward(10); // 10 = 10cm
 }
Exemple #10
0
 public void MoveForwardLongTimeTest()
 {
     GenieInterface.SetFalling(false);
     GenieInterface.SetSpeed(DefaultSpeed);
     GenieInterface.SetDriveMode(GenieInterface.DriveModes.Time);
     GenieInterface.MoveForward(6000); // 6000 = 6 seconds in milliseconds
 }
Exemple #11
0
 public void MoveBackInvalidInputTest()
 {
     GenieInterface.SetFalling(false);
     GenieInterface.SetSpeed(DefaultSpeed);
     GenieInterface.SetDriveMode(GenieInterface.DriveModes.Distance);
     GenieInterface.MoveBack(-50);
 }
Exemple #12
0
 public void SetFallingOffTest()
 {
     GenieInterface.SetFalling(false);
 }
Exemple #13
0
 public void SetFallingOnTest()
 {
     GenieInterface.SetFalling(true);
 }