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

This commit is contained in:
rmackay9 2012-03-20 17:11:22 +09:00
parent 198ac97914
commit 7dc18b53ad
1 changed files with 1 additions and 1 deletions

View File

@ -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
}
// ------------------------------