ArduPilot/ardupilot

Rover: boats entering SmartRTL should loiter during path cleanup and during failure

Open

#11.285 aperta il 7 mag 2019

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)C++ (15.603 fork)batch import
EnhancementRovergood first issue

Metriche repository

Star
 (9336 star)
Metriche merge PR
 (Merge medio 26g 16h) (166 PR mergiate in 30 g)

Descrizione

There are two places in mode_smart_rtl.cpp where stop_vehicle() is called (see here).

This is fine for Rovers but for boats they should ideally Loiter (i.e. hold position) if they can during the SmartRTL_WaitForPathCleanup and SmartRTL_Failure stages.

Guided mode's behaviour when _guided_mode == Guided_WP can be used as a reference on how this can be done.

Guida contributor