iNavFlight / inav

INAV: Navigation-enabled flight control software
https://inavflight.github.io
GNU General Public License v3.0
3.15k stars 1.48k forks source link

UAV does stop and hover during RTH trackback, sometimes for very long, before going towards the next #9069

Closed DarthPlasma closed 7 months ago

DarthPlasma commented 1 year ago

Current Behavior

When testing RTH trackback, the quad follows the previous positions recorded but sometimes it stops (sometimes for 30 seconds) and howers in a particular waypoint, consuming battery and delaying the recovery of the link in case of a failsafe or a video link loss

Steps to Reproduce

Just flyin some lines and angles and then hit RTH or force the failsafe by switch

Expected behavior

Once the quad reaches the waypoint should rotate and go to the next, without howering for longer than 1-2 seconds

Suggested solution(s)

I suppose that some checks that the quad is really in the position give false negatives, so maybe increasing the tolerance (or letting it to be chosen by the operator) could solve it.


Jetrell commented 1 year ago

If WAYPOINT RADIUS or ENFORCE ALTITUDE AT WAYPOINT is set too low. The quad will pause until it gets within the distance of the tracking marker, you have set on those functions. Then it will proceed to the next Trackback point. This will occur more often in windy conditions.

Increase the Waypoint radius. Or turn off Enforce altitude at waypoint. to prevent this.

Capture

DarthPlasma commented 1 year ago

The enforce altitude was already disabled (0) and the waypont radius was 100cm, increased it to 2.5meters

breadoven commented 1 year ago

The other option is to set nav_mc_wp_slowdown OFF which works with Trackback from 6.1. This should stop it hesitating at trackpoints as it tries to get within the waypont radius "tag" distance.