Hi all,
I’ve been working on a module that gives ArduPilot an absolute position when the GPS is jammed or spoofed. It matches the downward camera (colour or thermal) against an orthophoto stored on board and sends the position to ArduPilot as a second GPS via MAVLink GPS_INPUT (GPS2_TYPE = 14), or inline over NMEA. When it detects jamming or spoofing, it makes GPS2 the primary GPS and switches the EKF to source set 2 (position from GPS2, velocity from the IMU).
Results in SITL (Copter, with camera images rendered from real aerial photos, GPS jammed for 12.6 minutes):
- 7 km mission completed in AUTO, 1.9 m mean error, 8.2 m max, landing 3.3 m from home
- the same mission without the module: EKF failsafe after about 2 minutes, landing 753 m away
- jamming detected in 0.6 s; slow spoofing detected after 23 s, without a position jump
- 125 ms per photo on a GTX 1070; Jetson Orin Nano next
Video: https://youtu.be/7PiCciTRmzo
It’s a commercial module (not open source), but I’m happy to answer questions about the integration. The first real flights are in December. If anyone has logs with downward camera video (ArduPilot .bin plus the video), I’ll run them without GPS for free and send back the error measured against your own GPS.
Joel