Source/Drone_Main.cs
/*
		 * <summary> 
		 * Makes the drone turn left or right, cannot be over 1 or less than -1 and is dictated by the sign of the number.
		 * (positive - left, negative - right)
		 * </summary>
		 * 
		 * <suggestion>
		 * Make it accept degrees instead?
		 * </suggestion>
		*/
Makes the drone turn left or right, cannot be over 1 or less than -1 and is dictated by the sign of the number.
(positive - left, negative - right)
Makes the drone turn left or right cannot be over 1 or less than - 1 and is dictated by the sign of the number . ( positive - left negative - right )
public void Turn (double amount) {
			try {
				if (amount >= -1 && amount <= 1) {
					Status.Ang = amount;
					Status.Flags = 1;
				} else {
					throw new CommandOutOfBounds();
				}
			} catch (Exception err) {
				Console.Error.WriteLine("{0} Argument cannot be over 1 or lower than -1.", err);
			}
		}
public void Turn ( double amount ) { try { if ( amount >= - 1 && amount <= 1 ) { Status . Ang = amount ; Status . Flags = 1 ; } else { throw new CommandOutOfBounds ( ) ; } } catch ( Exception err ) { Console . Error . WriteLine ( " " , err ) ; } }
Makes the drone turn left or right, cannot be over 1 or less than -1 and is dictated by the sign of the number.
Makes the drone turn left or right cannot be over 1 or less than - 1 and is dictated by the sign of the number .
amount
double
suggestion
None