Go Down

Topic: Maths precision for Arduino? (Read 850 times) previous topic - next topic

pito

Quote
I am looking at doing some geodetic calculations (Haversine formula) on GPS readings in my Arduino.

Forget 32bit floating point.. For any such calculation is 64bit floating point the choice at minimum, or decimal arbitrary precision formats (slow but precise). Any other option is simply wasting your time.. The precision of 32bit fp used in arduino is maybe 6-7 decimal places for +-*/, but worse with transcendental functions..

RH314

This $19 programmable GPS with FPU might also be an alternative consideration:  http://bit.ly/1dBpits

JimEli

https://sites.google.com/site/wayneholder/self-driving-rc-car/getting-the-most-from-gps

Go Up