From 450f89ec5d82d57351ed4aaaf796ebf57b8ee4c7 Mon Sep 17 00:00:00 2001 From: Jason Short Date: Sat, 10 Mar 2012 12:43:28 -0800 Subject: [PATCH] ACM: Added note about scaling rates --- ArduCopter/navigation.pde | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ArduCopter/navigation.pde b/ArduCopter/navigation.pde index f1ae71081c..b69cb24aa8 100644 --- a/ArduCopter/navigation.pde +++ b/ArduCopter/navigation.pde @@ -424,6 +424,8 @@ static int32_t get_new_altitude() } int32_t diff = abs(next_WP.alt - target_altitude); + // scale is how we generate a desired rate from the elapsed time + // a smaller scale means faster rates int8_t _scale = 4; if (next_WP.alt < target_altitude){