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