From 7dc18b53ad4206a83e5934bc050ffb3a4fd939f7 Mon Sep 17 00:00:00 2001 From: rmackay9 Date: Tue, 20 Mar 2012 17:11:22 +0900 Subject: [PATCH] ArduCopter - navigation - corrected comment in check_missed_wp function to clarify that you've passed the waypoint when the direction to the way point is more than 100 degrees off (not 10 degrees off) from your original bearing towards the waypoint --- ArduCopter/navigation.pde | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArduCopter/navigation.pde b/ArduCopter/navigation.pde index 1bdd5eed0d..f74ffd58e1 100644 --- a/ArduCopter/navigation.pde +++ b/ArduCopter/navigation.pde @@ -32,7 +32,7 @@ static bool check_missed_wp() int32_t temp; temp = target_bearing - original_target_bearing; temp = wrap_180(temp); - return (abs(temp) > 10000); //we pased the waypoint by 10 ° + return (abs(temp) > 10000); // we passed the waypoint by 100 degrees } // ------------------------------