ArduPilot/ardupilot

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

Open

#11,285 创建于 2019年5月7日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)C++ (15,603 fork)batch import
EnhancementRovergood first issue

仓库指标

Star
 (9,336 star)
PR 合并指标
 (平均合并 26天 16小时) (30 天内合并 166 个 PR)

描述

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.

贡献者指南