Skip to content

Latest commit

 

History

History
26 lines (23 loc) · 1.13 KB

README.md

File metadata and controls

26 lines (23 loc) · 1.13 KB

alt text

The code simulates two libraries for Arduino: tinyGPS++ and softwareSerial.
These libraries work on different systems (they are platform independent) and can be compiled using gcc or another compiler.
They do not require additional libraries for operation - for now:))

I wrote these libraries to simulate the operation of Arduino with a GPS module, but without using the Arduino IDE.
It is only a loose simulation of these libraries and contains only a few methods necessary to simulate reading latitude and longitude from GPS:))
After run, the code will read data from the file gps_data.txt and print it to the terminal.

On this data, you can then implement in the main function, for example: algorithms to smoothing this data using

  • moving average
  • Kalman filter

And that's exactly what this project is for!$~~$😺

Compilation

  • mkdir build
  • cd build
  • cmake ../ -G "Unix Makefiles" - for Linux
  • cmake ../ -G "MinGW Makefiles" - for Windows and mingw32/64 compilers
  • cd ..

Running

  • type in terminal: tstGPS