ArduPilot/ardupilot
View on GitHubRover: boats entering SmartRTL should loiter during path cleanup and during failure
Open
#11,285 opened on May 7, 2019
EnhancementRovergood first issue
Description
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.