Browse Source

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

master
rmackay9 13 years ago
parent
commit
66c4f752e3
  1. 2
      ArduCopter/navigation.pde

2
ArduCopter/navigation.pde

@ -32,7 +32,7 @@ static bool check_missed_wp() @@ -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
}
// ------------------------------

Loading…
Cancel
Save