GPS to non-GPS with Mavlink

Hi!

I read and studied:

At last link I saw that there is a mavlink_command_long handler with the code MAV_CMD_SET_EKF_SOURCE_SET. But I didn’t see this code in Mavlink message common.

Who can give the value of MAV_CMD_SET_EKF_SOURCE_SET to form this command?

Thanks!

MAV_CMD_SET_EKF_SOURCE_SET is in the ArduPilot dialect of MAVLink: ardupilotmega.xml · MAVLink Developer Guide

1 Like

Thank you very much!

I did not know about the existence of such a dialect. Now I will use :partying_face:

Hello!
May be you know.
How can i find out which EKF_SOURCE is currently in use, using Mavlink?

There’s no MAVLink message for the current EKF_SOURCE. You can read it int via Lua and send it on via MAVLink - see ardupilot/active_source_set.lua at master · ArduPilot/ardupilot · GitHub

1 Like