GithubHelp home page GithubHelp logo

gps64's Introduction

Gps64

GPS Calculations for Arduino

I have been always frustrated from the missing double (64bit) type in Arduino world and hence the problem with properly calculating GPS distance, bearing and destination point.

This library uses Float64 & Math64 libs and also adds some fast and very fast implementations of trigonometric functions and fast and regular versions of GPS distance, bearing and destination point.

RUNNING/TESTING INSTRUCTIONS

  1. download Float64 from :

https://github.com/mmoller2k/Float64

  1. download Math64 from :

https://github.com/JamesGKent/Math64

note that the Math64 from mmoller2k at the time of writing (commit 254ffb9) has flaws in the atan264 function and in the asin64 function that make them unable to return negative numbers, the above fork fixes those issues.

  1. download Gps64 ( and optionally Thread64) from :

https://github.com/vtomanov

  1. copy the contents of repository to:

C:\Program Files (x86)\Arduino\libraries\Math64

or the local libraries folder.

  • do the same for Math64, Float64, Gps64 ( and optionally for Thread64)
  1. restart your arduino environment ( to pickup the new libraries)

  2. select Gps64Example from file->examples->Gps64.

  3. compile - upload and run - open the serial interface monitor to see the results ( the example assumes you serial monitor is initialised with 115200 if different change the following line in the example : Serial.begin(115200);

that should be all - no changes in includes etc. should be needed

gps64's People

Contributors

jamesgkent avatar vtomanov avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.