An open API service indexing awesome lists of open source software.

https://github.com/timbergus/gps-playground

It is a simple playground to experiment with GPS data.
https://github.com/timbergus/gps-playground

cpp20 gps-data

Last synced: 10 days ago
JSON representation

It is a simple playground to experiment with GPS data.

Awesome Lists containing this project

README

          

# GPS Playground

Simple playground to experiment with GPS data.

It has a main program that runs the example, and a GPS module that deals with the GPS data.

- `app/main.cpp`
- `include/gps.h`

This module uses different modules to parse the GPS data, according to the NMEA standards, and a utils library for minor tasks.

- `include/rmc.h`
- `include/utils.h`

I'm building this project to use it to parse GPS data from a GPS unit attached to a BeagleBone Blue in real time, and learn C++ along the way.

## Clean

```bash
make clean
```

## Init

```bash
make init
```

## Build & Run

```bash
make project && make start
```

## Data

It uses randomly generated data stored in `src/data/samples.txt`. It's a file with a sample per line.

## Libraries

To use [`format`](https://github.com/fmtlib/fmt), you need to install it with `brew` (maybe cloning it on Windows, or using something like [Conan](https://conan.io/)).

## Resources

[C++11/C++14 7. THREADS WITH SHARED MEMORY AND MUTEX - 2020](https://www.bogotobogo.com/cplusplus/C11/7_C11_Thread_Sharing_Memory.php)

[Effective Modern C++:multi-threading](https://www.wangxinliu.com/tech/program/ModernCpp9/)