Open jmfermun opened 1 year ago
I also would like this modification.
+1, looks like a simple change. If there are MCUs out there that really can't or shouldn't be using doubles, then maybe provide a #ifdef MINMEA_USE_FLOAT
for users that really need 32-bit floats?
I also would like this modification. there is experience of experiencing problems with float-type GPS coordinate errors.
The tests are not building. You should change the use of fabsf
in tests.c to fabs
to follow the type change
Function minmea_tocoord now converts positions from type minmea_float to type double.
Conversion from latitude and longitude to meters:
The use of the type minmea_float for storing the positions seems to be convenient:
Use of float for storing the positions is not convenient:
References: