Skip to main content

Visualize GNSS data in a web browser

Project description

Contributors Forks Stargazers Issues AGPL-3.0 License LinkedIn


Logo

GNSS Visualizer

Interactive analysis of GNSS data!

PyPI · Report Bug · Request Feature

Table of Contents
  1. About the project
  2. Getting started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Contact
  8. Acknowledgments

About the project

GNSS visualizer is a tool for visualizing GNSS data in an interactive environment.

GNSS visualizer screenshot

It is designed to offer a simple interface in a web browser with ever extending plotting capabilities.

The tool is still in very early development so don't expect much just yet!

GNSS receivers collect lots of information about the satellites and the signals they observe which can help to understand the quality of the positioning solution and the behavior of the receiver. Vast amounts of this data make it sometimes difficult to take proper advantage of it. GNSS visualizer aims to make this easier by providing easy to use tool that can be used to explore the data.

(back to top)

Built with

The interface and all the plots are built using awesome Bokeh library. Bokeh gives lots of power for creating pretty plots with nice interactive features including callbacks to python code.

Parsing of ubx messages leverages pyubx2 library.

(back to top)

Getting started

Prequisites

  • Python 3.11 or later. Earlier versions might work but are not tested.

Installation via pip

python -m pip install gnss-visualizer

(back to top)

Usage

After installing, the tool provides a command gnss-visualizer that can be used to launch the tool and open the UI in a web browser.

Reading ubx files in playback mode

Analyzing an ubx file in playback mode can be done in the following way:

gnss-visualizer ~/path/to/file.ubx -w 1

where -w (shorthand for --default-simulate-wait-s) is used to add delay of 1 second after each UBX-NAV-PVT message. This will make files with 1 Hz navigation rate playback as if they were done in (almost) realtime.

The input file should contain UBX-NAV-PVT messages and in order to generate signal and satellite based plots also UBX-NAV-SIG messages.

For testing purposes the repository contains a file coldstart.ubx that can be used to test the tool. It contains data from a coldstart of a stationary receiver.

Reading serial devices

Data can be read also from a serial device using:

gnss-visualizer /dev/ttyUSB0

Details

gnss-visualizer command can be substituted to bokeh serve src/gnss_visualizer --show --args INPUT and in case the bokeh serve command needs to be modified, it can simply be used manually instead of calling gnss-visualizer.

(back to top)

Roadmap

  • Test setup
  • Github CICD
  • Tests
  • Plot selection mechanism
  • Make plotting module with classess for different plots
  • Set up whole file reading for timeseries plots
  • More plots
  • Allow playback after reading the whole file
  • Configurable wait delay
  • Non-ubx file support (some basic plots?)
  • Even more plots
  • Truth location handling (coordinates / files)
  • Lots more plots
  • UI for file input

See the open issues for a full list of proposed features (and known issues).

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue. Don't forget to give the project a star! Thanks again!

Setting up a local repository

  1. Fork the project
  2. Clone the forked project
  3. Install dependencies (pip install -r requirements.txt && pip install -r requirements-dev.txt)
  4. Install the project in editable mode (pip install -e .)
  5. Install pre-commit (pipx install pre-commit)
  6. Install pre-commit hooks (pre-commit install)

Steps to contribute

  1. Set up a local repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a pull request

(back to top)

License

Distributed under the AGPL-3.0 license. See LICENSE for more information.

(back to top)

Contact

Ville Joensuu - Linkedin - jopppis@iki.fi

Project Link: https://github.com/jopppis/gnss-visualizer

(back to top)

Acknowledgments

(back to top)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gnss_visualizer-0.0.7.tar.gz (546.1 kB view hashes)

Uploaded Source

Built Distribution

gnss_visualizer-0.0.7-py3-none-any.whl (44.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page