aboutsummaryrefslogtreecommitdiff
path: root/src/resources.qrc
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 /src/resources.qrc
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 'src/resources.qrc')
-rw-r--r--src/resources.qrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/resources.qrc b/src/resources.qrc
index 804fc9e..6b7d9fa 100644
--- a/src/resources.qrc
+++ b/src/resources.qrc
@@ -1,6 +1,7 @@
<RCC>
<qresource prefix="/">
<file>main.qml</file>
+ <file>Altimeter.qml</file>
<file>Compass.qml</file>
<file>Barometer.qml</file>
<file>compass.svg</file>