Skip to content

Platform independent GPS drivers

License

Notifications You must be signed in to change notification settings

PX4/PX4-GPSDrivers

Repository files navigation

GPS Drivers

Overview

This repository contains user-space gps drivers, used as a submodule in PX4-Autopilot and QGroundControl.

All platform-specific stuff is done via a callback function and a definitions.h header file.

In order for the project to build, definitions.h must include definitions for sensor_gnss_relative_s, sensor_gps_s and satellite_info_s. For example, check the implementation in PX4 Autopilot or QGroundControl.

Parser tests

To test parsers, build and run the cmake project:

cmake -Bbuild -H.
cmake --build build && build/gps-parser-test