Blimp: get MAV_STATE_BOOT on reboot

This commit is contained in:
richaravoil 2024-06-14 16:16:58 +02:00 committed by Peter Barker
parent 99f12d66ff
commit 84adf69ac9
1 changed files with 3 additions and 0 deletions

View File

@ -40,6 +40,9 @@ MAV_STATE GCS_MAVLINK_Blimp::vehicle_system_status() const
if (blimp.ap.land_complete) {
return MAV_STATE_STANDBY;
}
if (!blimp.ap.initialised) {
return MAV_STATE_BOOT;
}
return MAV_STATE_ACTIVE;
}