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
Edit page

25 Hz Benchmark

Measure actual navigation update rates at maximum throughput.

Source: examples/Python/benchmark_25hz.py

What It Does

  1. Configures the GNSS module for 25 Hz (40 ms period)
  2. Polls navigation data in a tight loop
  3. Measures time between updates and reports statistics

Running

python3 examples/Python/benchmark_25hz.py
Note
HAT Support — 25 Hz is supported by the L1 GNSS HAT (NEO-M9N over SPI). The TIME HAT (UART) may be limited by baud rate. The RTK HAT can reach 20 Hz in rover mode.
Note
Best Practices — Use SPI for highest throughput. Reduce enabled GNSS constellations to lower processing load. Ensure the Raspberry Pi is not CPU-throttled.