ArduPilot/ardupilot

Plane: BUG with auto_state.checked_for_autoland

开放

#12,996 创建于 2019年12月6日

 (2 条评论) (0 个反应) (0 位负责人)C++ (15,603 个派生)batch import
Planegood first issue

仓库指标

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

描述

Bug report

Switch AUTO->RTL again an again, because checked_for_autoland always set to false when change mode

bool Mode::enter()
{
    // cancel inverted flight
    plane.auto_state.inverted_flight = false;

    // don't cross-track when starting a mission
    plane.auto_state.next_wp_crosstrack = false;

    // reset landing check
    plane.auto_state.checked_for_autoland = false;

Version 4.0 Platform [ ] All [ ] AntennaTracker [ ] Copter [*] Plane [ ] Rover [ ] Submarine

Airframe type What type of airframe (flying wing, glider, hex, Y6, octa etc)

Hardware type What autopilot hardware was used? (Pixhawk, Cube, Pixracer, Navio2, etc)

Logs Please provide a link to any relevant logs that show the issue

贡献者指南