Source/Drone_Main.cs
/*
		 * <summary>
		 * Makes the drone move backwards, also accepts only positive numbers (and 0) up to 1.
		 * </summary>
		*/
Makes the drone move backwards, also accepts only positive numbers (and 0) up to 1.
Makes the drone move backwards also accepts only positive numbers ( and 0 ) up to 1 .
public void Backwards (double amount) {
			try {
				if (amount >= 0 && amount <= 1) {
					Status.TiltFB = -amount;
					Status.Flags = 1;
				} else {
					throw new CommandOutOfBounds();
				}
			} catch (Exception err) {
				Console.Error.WriteLine("{0} Argument cannot be over 1 or negative.", err);
			}
		}
public void Backwards ( double amount ) { try { if ( amount >= 0 && amount <= 1 ) { Status . TiltFB = - amount ; Status . Flags = 1 ; } else { throw new CommandOutOfBounds ( ) ; } } catch ( Exception err ) { Console . Error . WriteLine ( " " , err ) ; } }
Makes the drone move backwards, also accepts only positive numbers (and 0) up to 1.
Makes the drone move backwards also accepts only positive numbers ( and 0 ) up to 1 .
amount
double