mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
Tracker: Handle NAV_CONTROLLER_OUTPUT.wp_dist overflowing
This commit is contained in:
parent
57c9afb77e
commit
a42c09d27a
@ -124,7 +124,7 @@ void Tracker::send_nav_controller_output(mavlink_channel_t chan)
|
||||
nav_status.pitch,
|
||||
nav_status.bearing,
|
||||
nav_status.bearing,
|
||||
nav_status.distance,
|
||||
MIN(nav_status.distance, UINT16_MAX),
|
||||
alt_diff,
|
||||
0,
|
||||
0);
|
||||
|
Loading…
Reference in New Issue
Block a user