Gnss monitor: Difference between revisions

From Rsewiki
Line 20: Line 20:


C++ code is then in the ''monitor directory''.
C++ code is then in the ''monitor directory''.
== CMake problem ==
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


== '''Absolutely not finished''' ==
== '''Absolutely not finished''' ==

Revision as of 08:45, 23 June 2025

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

Source code

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

C++ code is then in the monitor directory.

CMake problem

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

Absolutely not finished