From a22596fb334790c6c967fb156731d28267cce693 Mon Sep 17 00:00:00 2001 From: Jason Short Date: Fri, 20 Jan 2012 16:47:53 -0800 Subject: [PATCH] Max throttle output was to high --- ArduCopter/motors_octa.pde | 2 +- ArduCopter/motors_octa_quad.pde | 2 +- ArduCopter/motors_quad.pde | 2 +- ArduCopter/motors_tri.pde | 2 +- ArduCopter/motors_y6.pde | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ArduCopter/motors_octa.pde b/ArduCopter/motors_octa.pde index 5b8be50425..bafb4c71fd 100644 --- a/ArduCopter/motors_octa.pde +++ b/ArduCopter/motors_octa.pde @@ -17,7 +17,7 @@ static void output_motors_armed() int out_max = g.rc_3.radio_max; // Throttle is 0 to 1000 only - g.rc_3.servo_out = constrain(g.rc_3.servo_out, 0, MAXIMUM_THROTTLE); + g.rc_3.servo_out = constrain(g.rc_3.servo_out, 0, 800); if(g.rc_3.servo_out > 0) out_min = g.rc_3.radio_min + MINIMUM_THROTTLE; diff --git a/ArduCopter/motors_octa_quad.pde b/ArduCopter/motors_octa_quad.pde index a8c4331ee0..8025be1dac 100644 --- a/ArduCopter/motors_octa_quad.pde +++ b/ArduCopter/motors_octa_quad.pde @@ -17,7 +17,7 @@ static void output_motors_armed() int out_max = g.rc_3.radio_max; // Throttle is 0 to 1000 only - g.rc_3.servo_out = constrain(g.rc_3.servo_out, 0, MAXIMUM_THROTTLE); + g.rc_3.servo_out = constrain(g.rc_3.servo_out, 0, 800); if(g.rc_3.servo_out > 0) out_min = g.rc_3.radio_min + MINIMUM_THROTTLE; diff --git a/ArduCopter/motors_quad.pde b/ArduCopter/motors_quad.pde index e613cc6aa7..8b3e3720b0 100644 --- a/ArduCopter/motors_quad.pde +++ b/ArduCopter/motors_quad.pde @@ -16,7 +16,7 @@ static void output_motors_armed() int out_max = g.rc_3.radio_max; // Throttle is 0 to 1000 only - g.rc_3.servo_out = constrain(g.rc_3.servo_out, 0, MAXIMUM_THROTTLE); + g.rc_3.servo_out = constrain(g.rc_3.servo_out, 0, 800); if(g.rc_3.servo_out > 0) out_min = g.rc_3.radio_min + MINIMUM_THROTTLE; diff --git a/ArduCopter/motors_tri.pde b/ArduCopter/motors_tri.pde index 4c956965e9..8c7420487b 100644 --- a/ArduCopter/motors_tri.pde +++ b/ArduCopter/motors_tri.pde @@ -15,7 +15,7 @@ static void output_motors_armed() int out_max = g.rc_3.radio_max; // Throttle is 0 to 1000 only - g.rc_3.servo_out = constrain(g.rc_3.servo_out, 0, MAXIMUM_THROTTLE); + g.rc_3.servo_out = constrain(g.rc_3.servo_out, 0, 800); if(g.rc_3.servo_out > 0) out_min = g.rc_3.radio_min + MINIMUM_THROTTLE; diff --git a/ArduCopter/motors_y6.pde b/ArduCopter/motors_y6.pde index 98094e0eaf..c87dfc28dc 100644 --- a/ArduCopter/motors_y6.pde +++ b/ArduCopter/motors_y6.pde @@ -18,7 +18,7 @@ static void output_motors_armed() int out_max = g.rc_3.radio_max; // Throttle is 0 to 1000 only - g.rc_3.servo_out = constrain(g.rc_3.servo_out, 0, MAXIMUM_THROTTLE); + g.rc_3.servo_out = constrain(g.rc_3.servo_out, 0, 800); if(g.rc_3.servo_out > 0) out_min = g.rc_3.radio_min + MINIMUM_THROTTLE;