GPS over MAVlink

Hi everyone,

I want to simulate a GPS connection through MAVlink without using mavros. I want to be able to run the program from an arduino and feed it straight into a serial port as a fake receiver.

Tried searching a lot for this problem but haven’t found anything specific. Just wondering if anyone has done it before or could give me some more information? I’ve already tried using the c_uart examples of the MAV message but mainly returned zeros when it was running.

I’m using a hexacopter with a pixracer

You’re after GPS_INPUT:

Hi, how do I write a MAVlink message? I’m very new to arducopter and MAVlink

there is a thread here that explains mavlink using arduino. just search for it.

Take a look at Pozyx
Its using an Arduino for GPS spoofing

1 Like