aboutsummaryrefslogtreecommitdiff
path: root/asteroid-toolwatch.desktop.template
diff options
context:
space:
mode:
authordodoradio <dodoradio@outlook.com>2023-07-09 23:06:27 +0100
committerdodoradio <dodoradio@outlook.com>2023-07-10 22:37:51 +0100
commit3be8d094df5a8280c95d4df51dd20e3b22c9db1c (patch)
tree67839cb644cabc9108f85b5dfb189fa92f87807b /asteroid-toolwatch.desktop.template
parent16dcaae647c081ba60b239e425b26bf36ca327d3 (diff)
Add altimeter
Asteroid watches don't generally have a pressure sensor, as it isn't generally exposed by android's HAL. Hence we use the basic 12Pa/m relationship to calculate an approximation for altitude from the pressure sensor (barometer) reading. This kind of precision seems appropriate given that a) we don't expect this to be used as a flight computer and b) the android barometer, while precise, isn't super accurate anyway. In order to make the reading a bit more useful, we allow the user to calibrate the current altitude. Since we allow separate calibration of this from the barometer calibration, we use the uncalibrated barometer reading as the input for our calculation.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions