mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-20 03:53:33 +08:00
navigator: don't enter AUTO_READY for fixedwing because we don't have a land detector yet
This commit is contained in:
@@ -1386,7 +1386,8 @@ Navigator::set_rtl_item()
|
|||||||
void
|
void
|
||||||
Navigator::request_loiter_or_ready()
|
Navigator::request_loiter_or_ready()
|
||||||
{
|
{
|
||||||
if (_vstatus.condition_landed) {
|
/* XXX workaround: no landing detector for fixedwing yet */
|
||||||
|
if (_vstatus.condition_landed && _vstatus.is_rotary_wing) {
|
||||||
dispatch(EVENT_READY_REQUESTED);
|
dispatch(EVENT_READY_REQUESTED);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user