GPS & Compass

PX4 supports global navigation satellite systems (GNSS) (including GPS, GLONASS, Galileo, BeiDou, QZSS and SBAS) using receivers that communicate via the UBlox, MTK or Ashtech protocols, or via UAVCAN. It also supports Real Time Kinematic (RTK) GPS Receivers, which extends GPS systems to centimetre-level precision.

PX4 can be used with the following compass parts (magnetometers): Bosch BMM 150 MEMS (via I2C bus), HMC5883 / HMC5983 (I2C or SPI), IST8310 (I2C) and LIS3MDL (I2C or SPI).

When using Pixhawk-series flight controllers we recommend using a combined GPS + Compass (the Pixhawk internal compass is close to other electronics, and may be susceptible to electromagnetic noise).

GPS + Compass

Combined GPS/Compass Options

Some popular GPS/compass options include:

Instructions for connecting the GPS and compass are usually provided by the manufacturer (at least for more common Autopilot Hardware).

Pixhawk Series controllers usually have a clearly labeled port for connecting the GPS, and the compass is connected to either the I2C or SPI port/bus (depending on the device). The Zubax GNSS 2 can also be connected via UAVCAN.

Pay attention to pinout when connecting the GPS module. While these are all software-compatible, there are several different pin orderings.

GPS configuration is handled transparently for the user (provided the module GPS connector is connected correctly). Compass setup is covered in: Compass Configuration.

RTK-GPS Devices

Information about supported devices and setup/configuration can be found in the sidebar under: RTK GPS.

Developer Information

© PX4 Dev Team. License: CC BY 4.0            Updated: 2018-07-18 00:51:35

results matching ""

    No results matching ""