Skip to content

simulation 2 libraries for Arduino: tinyGPS++, softwareSerial.

License

Notifications You must be signed in to change notification settings

madpl1239/ArduinoLibSim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

simulation 2 libraries for Arduino: tinyGPS++, softwareSerial.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published