> For the complete documentation index, see [llms.txt](https://docs.theseus.us/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.theseus.us/cyclops/autopilot-integration.md).

# Autopilot Integration

Cyclops works with ArduPilot and PX4. In both cases it connects to the flight controller over MAVLink 2, reads the flight controller's sensors, and sends a position back. What differs is how that position enters the autopilot's EKF.

|                    | ArduPilot                                                                      | PX4                                                                                                                                               |
| ------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------- |
| Position message   | `GPS_INPUT` (Cyclops looks like a second GPS)                                  | `ODOMETRY` into EKF2's external vision input                                                                                                      |
| Tested versions    | 4.5 and later                                                                  | 1.16                                                                                                                                              |
| Airframes          | Fixed wing and multirotor                                                      | Multirotor only. Contact us for fixed wing or VTOL.                                                                                               |
| When Cyclops fails | The GPS/VPS switch script lets the pilot turn Cyclops or GPS off from a switch | PX4's own failsafes apply. See [Losing Cyclops in flight](https://docs.theseus.us/cyclops/autopilot-integration/px4/losing-cyclops-in-flight.md). |

Pick the page for your autopilot:

* [ArduPilot](https://docs.theseus.us/cyclops/autopilot-integration/ardupilot.md): parameters, compass calibration, the GPS/VPS switch script, EKF spoof and the MAVLink messages.
* [PX4](https://docs.theseus.us/cyclops/autopilot-integration/px4.md): parameters, the MAVLink messages, and what happens when Cyclops fails in flight.

If you use another autopilot, or an airframe type not listed for your autopilot, contact us before you fly.
