Hi there,
While testing a quick app I made to get familiar with the framework, I noticed a bug with data provided. I think this bug can be corrected easily at the next update.
I made a video to explain the below:
www.youtube.com/watch
* BUG 1 : No GPS elevation *
When getting Position.altitude (which should provide GPS elevation), I instead get altitude from the altimeter.
Example:
My actual altitude is 420m (and the ambient pressure is 962mb)
Barometer setting to read 420m is about 1018mb (this is the pressure at sea level)
I set the altimeter at 1000mb, I now read 330m on the altimeter (all this is normal).
The GPS reading also gives 330m instead of 420m! This is not normal
All sources currently provide the same data:
Position.altitude = from altimeter (this is not normal, it should instead be the GPS elevation)
Sensor.altitude = from altimeter (this is normal)
Activity.altitude = from altimeter (this should be according to user preference, either GPS or Altimeter)
* BUG 2 : Ambient pressure and Baro setting *
Sensor.pressure returns [altimeter setting + pressure variation since setting] instead of [ambient pressure].
In the example above, Sensor.pressure returns 1000.xx mb instead of 962 mb.
This is not a large issue because assuming that Sensor.pressure returns the barometer setting, one can calculate the actual ambient pressure. But it's a big calculation that's already been calculated elsewhere in the watch, so it would be best to just provide it to the app.
Best way to solve this problem:
1/ Make Sensor.pressure return the ambient pressure
2/ Add a data point "Sensor.barosetting" and provide here the barometer setting
3/ even better: allow Sensor.barosetting to be read/write so user can update it through the app (e.g. accept "std" setting with just one click instead of going in the menus and typing 1013).
Thanks for reading!
Garmin, is there any way these two bugs be corrected at the next update?