Posts: 15
Joined: Mon Feb 19, 2018 9:09 am

Processing altitude with 2 digit precision

Mon Feb 19, 2018 12:15 pm

Is there any way to make the server handle altitude (meters above sea level) up to 2 decimal places sent in the $FRCMD (_SendMessage) message? Current the server is only processing 1 decimal place which is causing a small but annoying error. The tracker reports altitude in 10ft increments so if it's say at 50ft (real), converted to meters is 15.24m, but when processed by the server, it's only looking at 1 decimal place (15.2m) and converting back to feet gives 49.9ft which is shown to the user (who knows it should be 50ft).


Return to “GpsGate for Developers”