public static void PushObjectInFrontToLeft() { Rotate( RotationMode.TimerMode, Constants.ROTATION_SPEED_FORWARD, Constants.ROTATION_SPEED_BACKWARD); GrapplerRiserMotor.Off(); GrapplerPosition = GrapplerPosition.Down; Thread.Sleep(1000); Rotate( RotationMode.TimerMode, Constants.ROTATION_SPEED_BACKWARD, Constants.ROTATION_SPEED_FORWARD); RiseGrappler(); }
/// <summary> /// halts the two motors that are responsible for rising/lowering /// and turning the grappler /// </summary> public static void TurnOffGrappler() { GrapplerRiserMotor.Off(); GrapplerWheelMotor.Off(); GrapplerPosition = GrapplerPosition.Down; }