Skip to main content
GNSS Documentation
GitHub Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Examples

All examples are available in C++, C, and Python (unless noted). Source code is in the examples/ directory.

Building Examples

C and C++ examples are built with the BUILD_EXAMPLES CMake flag:

mkdir -p build && cd build
cmake .. -DBUILD_EXAMPLES=ON
make

Binaries are symlinked into examples/BinariesSymlinks/ for convenience.

Python examples require the jimmypaputto module installed (see Installation).

Example Index

Example Languages HAT Description
Print Navigation C++, C, Python All Basic position, speed, time, fix info
Print Satellites C++, C, Python All Per-satellite table with signal quality
Geofencing C++, C, Python L1, RTK Configure and monitor geofences
Jamming Detector C++, C, Python All RF interference monitoring
Hot Start C++, C, Python All Cold vs hot start timing benchmark
Timepulse Interrupt C++, C, Python All PPS synchronization
RTK Base & Rover C++, Python RTK RTK base station and rover with NTRIP
Time Base C++, C, Python TIME Time base mode for improved time accuracy
Time Mark C++, C, Python TIME EXTINT event timestamping
Config from JSON Python All JSON-driven configuration
25 Hz Benchmark Python All High-rate measurement performance