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.
- Host: GitHub
- URL: https://github.com/timbergus/gps-playground
- Owner: timbergus
- Created: 2021-09-25T23:17:12.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-03-01T22:30:59.000Z (over 2 years ago)
- Last Synced: 2024-04-14T19:27:59.323Z (about 2 years ago)
- Topics: cpp20, gps-data
- Language: C++
- Homepage:
- Size: 8.96 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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/)