Hi, I am trying to control my drone using Mavlink messages, specifically setting POSITION_TARGET_LOCAL_NED values to get my drone to fly to a location relative to home.
In the process of working towards this goal, I have setup my drone to send me MAVLINK_MSG_ID_LOCAL_POSITION_NED messages at 200ms intervals.
I have noticed something very odd… on the ground doing nothing, I receive MAVLINK_MSG_ID_LOCAL_POSITION_NED messages with position (1, 6, 0)
i.e. struct mavlink_local_position_ned_t members (x, y, z)
After starting to Arm I see a dramatic jump to position (0, 0, 0). The drone has not moved, yet the act of arming has made the location change.
Does anyone know what is going on here? Many thanks!