It looks like the ANAFI requires the Mavlink component it is communicating with to be issuing a regular heartbeat. Now that I have that in place I am getting the data I need.
A few more related flight control questions on Mavlink:
-
What command sequence is required to get the drone to takeoff? I have found that it does not seem to respond to an ARM followed by a MAV_CMD_NAV_TAKEOFF and I believe it is because it does not ARM. Do I need to be in a certain mode for ARM to take effect? All I got from the docs is “drone must be armed to react” however I am trying to arm it…
-
How can I switch modes? The SET_MODE command does not seem to have any effect. I have tried switching to an autonomous mode so I can send MAV_CMD_DO_REPOSITION but can’t seem to get it in any mode other than POSCTL - this is also from the SkyController; nothing seems to get it to leave POSCTL mode.
-
Any other guidance on the nuances of Mavlink control of the ANAFI?
@vegovs, have you learned anything in your tests with the simulator? I haven’t had any luck getting the simulator running at all since I don’t have access to a Ubuntu 18.04 box and VM is out of the question, so I’d love to hear your thoughts!
Thanks all!