Gnss monitor

From Rsewiki

Experiments to extract and display GNSS live or recorded data

Required packages

Install Geographic library from https://geographiclib.sourceforge.io/C++/doc/install.html

sudo apt install libgeographiclib-dev

For Python install

pip install geographiclib

or

sudo apt install python3-geographiclib

QT6

QT6 is the preferred library (it seems like QT5 should work too)

sudo apt install qt6-base-dev

I may have installed other packages, but I forgot which.

Source code

Code is found here (on SVN)
svn co svn://repos.gbar.dtu.dk/jcan/svnjca/projekter/gnss_receiver

The C++ code is then in qt/gnss_qt

Build by

cd gnss_receiver/qt/gnss_qt
mkdir -p build
cd build
cmake ..
make -j3

Run to create a configuration file

./gnss_qt

CMake problem

GeographicLibConfig.cmake

The find package

find_package(GeographicLib REQUIRED)

in cmake fails, as the file GeographicLibConfig.cmake is not found.

This can be fixed by renaming the provided file FindGeographicLib.cmake by

cd /usr/share/cmake/geographiclib
sudo ln -s FindGeographicLib.cmake GeographicLibConfig.cmake

XKB

Missing library, and CMake complains:

-- Could NOT find XKB (missing: XKB_LIBRARY XKB_INCLUDE_DIR) (Required is at least version "0.5.0")

The solution was to install

sudo apt install libxkbcommon-dev

This occurred on Raspberry Pi 5 using 64bit default OS.

Absolutely not finished