mirror of https://github.com/ArduPilot/ardupilot
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:
parent
1dd554c333
commit
66c4f752e3
|
@ -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…
Reference in New Issue