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