mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-30 04:43:36 +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()
|
||||||
{
|
{
|
||||||
_msg.vtol_state = MAV_VTOL_STATE_UNDEFINED;
|
_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)
|
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