Skip to content
Snippets Groups Projects
Commit 9f309a2a authored by Paul Riseborough's avatar Paul Riseborough Committed by Andrew Tridgell
Browse files

AP_L1_Control: Remove potential nan errors

If WP A and B were the same or ground speed was exactly zero, then the
previous code would produce a nan output.  Protection against these
two cases has been added.

If WP A and B are equal, we track directly to the target waypoint
parent 55235630
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment