On ground flag - logs

Hi,
is their a message logged in the data that identifies when the drone was on ground and when its in air?

I know that i can use the esc rpm data (observing between idle and take off) but I was wondering if there is a flag logged to know when the drone is on ground or not.

I looked into this page onboard logged messages but couldnt find it. Ill be grateful if anyone have a comment about it.

thank you

There’s this:
https://ardupilot.org/copter/docs/logmessages.html#ldet

Thank you for your quick answer. I dont have message in my logs. Do you know why?
I am running on latest arducopter version and have a pixhawk 6x

Looks to me like it should be logged. Landing state is supposed to be checked at the main loop rate with changes logged at up to 50Hz.

The Land detector (and more) is in the EV category in logs, instead of MSG.
In MissionPlanner you can view the Data Table, filter on EV

Thank you! I found it, but I am wondering if there’s a flag for showing that the drone took off?

NOT_LANDED is approximately equal to copter is armed, throttle is high, takeoff mode is used where appropriate (Loiter, Guided, Auto…) and the copter moved upwards.

1 Like