Implementation of Extended System State

Hi, I would like to get the state of takeoff of my drone so that I know when it has finished taking off.

Are there any plans to implement MAVLINK_MSG_ID_EXTENDED_SYS_STATE aka MSG_EXTENDED_SYS_STATE?

I see this code in GCS_Common.cpp:

bool GCS_MAVLINK::try_send_message(const enum ap_message id)
{
...
case MSG_EXTENDED_SYS_STATE:
        CHECK_PAYLOAD_SIZE(EXTENDED_SYS_STATE);
        send_extended_sys_state();
        break;

but it is never called.

It probably gets called if you use SET_MESSAGE_INTERVAL messages

1 Like

You are correct. Thank you for highlighting this to me. :smiley:

Your GCS can request the message be sent using a command-long
SET_MESSAGE_INTERVAL.

Peter

1 Like