mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-22 12:57:34 +08:00
mavlink EXTENDED_SYS_STATE initialize landed and vtol state
This commit is contained in:
committed by
Lorenz Meier
parent
4e45d7959c
commit
2c7d45064e
@@ -3720,7 +3720,7 @@ protected:
|
||||
_msg()
|
||||
{
|
||||
_msg.vtol_state = MAV_VTOL_STATE_UNDEFINED;
|
||||
_msg.landed_state = MAV_LANDED_STATE_UNDEFINED;
|
||||
_msg.landed_state = MAV_LANDED_STATE_ON_GROUND;
|
||||
}
|
||||
|
||||
bool send(const hrt_abstime t)
|
||||
@@ -3770,9 +3770,6 @@ protected:
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
} else {
|
||||
_msg.landed_state = MAV_LANDED_STATE_UNDEFINED;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user