Age | Commit message (Collapse) | Author |
|
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.
|
|
This is meant as a multitool app that currently allows usage of compass and barometer.
The app includes a means of 'calibrating' the barometer reading. This is not a system level calibration and only affects the app (or any other apps that choose to use the value I'm setting in dconf). The mechanism was initially inspired by the same feature on Casio's watches: under WearOS, all of Casio's apps use a shared calibration offset for barometer.
The calibration aims to rectify the infamous inaccuracy of the android barometer sensor. While the sensors are generally very precise and can sense small changes in air pressure, the sensors often lose calibraton and hence suffer from zero error. This can be somewhat helped by allowing the user to set a zero point - it seems this allowed Casio to make the sensor into an actually useful feature.
There was discussion about making this calibration into a system-level feature (for example, as a patch to sensorfw or to QtSensors) but I think it's reasonable to expect the sensor to always return the raw value (even if it is wrong) and then have the calibration as a separate, opt-in feature.
|
|
booster-qtcomponents-qt5 has been deprecated upstream and the application launches fine with just booster-qt5 as well
|
|
Previously the main program file was installed to /usr/bin, mistakingly giving the impression it could be executed as is. However it isn't a binary but a library that gets executed through invoker. To prevent confusion move it to /usr/lib and add a launch script to /usr/bin instead which launches it through invoker
|
|
Currently translated at 100.0% (2 of 2 strings)
Translation: AsteroidOS/Compass
Translate-URL: https://hosted.weblate.org/projects/asteroidos/compass/sv/
|
|
|
|
Currently translated at 100.0% (2 of 2 strings)
Translation: AsteroidOS/Compass
Translate-URL: https://hosted.weblate.org/projects/asteroidos/compass/sk/
|
|
Currently translated at 100.0% (2 of 2 strings)
Translation: AsteroidOS/Compass
Translate-URL: https://hosted.weblate.org/projects/asteroidos/compass/pl/
|
|
Currently translated at 100.0% (2 of 2 strings)
Translation: AsteroidOS/Compass
Translate-URL: https://hosted.weblate.org/projects/asteroidos/compass/hi/
|
|
|
|
Currently translated at 100.0% (2 of 2 strings)
Translation: AsteroidOS/Compass
Translate-URL: https://hosted.weblate.org/projects/asteroidos/compass/uk/
|
|
Currently translated at 100.0% (2 of 2 strings)
Translation: AsteroidOS/Compass
Translate-URL: https://hosted.weblate.org/projects/asteroidos/compass/pt_BR/
|
|
Currently translated at 100.0% (2 of 2 strings)
Translation: AsteroidOS/Compass
Translate-URL: https://hosted.weblate.org/projects/asteroidos/compass/vi/
|
|
Currently translated at 100.0% (2 of 2 strings)
Translation: AsteroidOS/Compass
Translate-URL: https://hosted.weblate.org/projects/asteroidos/compass/pt_PT/
|
|
Currently translated at 100.0% (2 of 2 strings)
Translation: AsteroidOS/Compass
Translate-URL: https://hosted.weblate.org/projects/asteroidos/compass/pt/
|
|
Currently translated at 100.0% (2 of 2 strings)
Translation: AsteroidOS/Compass
Translate-URL: https://hosted.weblate.org/projects/asteroidos/compass/gl/
|
|
Currently translated at 100.0% (2 of 2 strings)
Translation: AsteroidOS/Compass
Translate-URL: https://hosted.weblate.org/projects/asteroidos/compass/es/
|
|
Currently translated at 100.0% (2 of 2 strings)
Translation: AsteroidOS/Compass
Translate-URL: https://hosted.weblate.org/projects/asteroidos/compass/de/
|
|
Currently translated at 100.0% (2 of 2 strings)
Translation: AsteroidOS/Compass
Translate-URL: https://hosted.weblate.org/projects/asteroidos/compass/cs/
|
|
Currently translated at 100.0% (2 of 2 strings)
Translation: AsteroidOS/Compass
Translate-URL: https://hosted.weblate.org/projects/asteroidos/compass/it/
|
|
Currently translated at 100.0% (2 of 2 strings)
Translation: AsteroidOS/Compass
Translate-URL: https://hosted.weblate.org/projects/asteroidos/compass/ast/
|
|
|
|
Currently translated at 100.0% (2 of 2 strings)
Translation: AsteroidOS/Compass
Translate-URL: https://hosted.weblate.org/projects/asteroidos/compass/lt/
|
|
Currently translated at 100.0% (2 of 2 strings)
Translation: AsteroidOS/Compass
Translate-URL: https://hosted.weblate.org/projects/asteroidos/compass/az/
|
|
Currently translated at 100.0% (2 of 2 strings)
Translation: AsteroidOS/Compass
Translate-URL: https://hosted.weblate.org/projects/asteroidos/compass/zh_Hans/
|
|
Currently translated at 100.0% (2 of 2 strings)
Translation: AsteroidOS/Compass
Translate-URL: https://hosted.weblate.org/projects/asteroidos/compass/ro/
|
|
Currently translated at 50.0% (1 of 2 strings)
Translation: AsteroidOS/Compass
Translate-URL: https://hosted.weblate.org/projects/asteroidos/compass/de/
|
|
Currently translated at 100.0% (2 of 2 strings)
Translation: AsteroidOS/Compass
Translate-URL: https://hosted.weblate.org/projects/asteroidos/compass/th/
|
|
Currently translated at 50.0% (1 of 2 strings)
Translation: AsteroidOS/Compass
Translate-URL: https://hosted.weblate.org/projects/asteroidos/compass/sv/
|
|
Currently translated at 100.0% (2 of 2 strings)
Translation: AsteroidOS/Compass
Translate-URL: https://hosted.weblate.org/projects/asteroidos/compass/ru/
|
|
Currently translated at 100.0% (2 of 2 strings)
Translation: AsteroidOS/Compass
Translate-URL: https://hosted.weblate.org/projects/asteroidos/compass/ko/
|
|
Currently translated at 100.0% (2 of 2 strings)
Translation: AsteroidOS/Compass
Translate-URL: https://hosted.weblate.org/projects/asteroidos/compass/mr/
|
|
Currently translated at 100.0% (2 of 2 strings)
Translation: AsteroidOS/Compass
Translate-URL: https://hosted.weblate.org/projects/asteroidos/compass/tr/
|
|
Currently translated at 100.0% (2 of 2 strings)
Translation: AsteroidOS/Compass
Translate-URL: https://hosted.weblate.org/projects/asteroidos/compass/ar/
|
|
Currently translated at 100.0% (2 of 2 strings)
Translation: AsteroidOS/Compass
Translate-URL: https://hosted.weblate.org/projects/asteroidos/compass/hr/
|
|
Currently translated at 100.0% (2 of 2 strings)
Translation: AsteroidOS/Compass
Translate-URL: https://hosted.weblate.org/projects/asteroidos/compass/nb_NO/
|
|
Currently translated at 100.0% (2 of 2 strings)
Translation: AsteroidOS/Compass
Translate-URL: https://hosted.weblate.org/projects/asteroidos/compass/he/
|
|
Currently translated at 100.0% (2 of 2 strings)
Translation: AsteroidOS/Compass
Translate-URL: https://hosted.weblate.org/projects/asteroidos/compass/fr/
|
|
Currently translated at 100.0% (2 of 2 strings)
Translation: AsteroidOS/Compass
Translate-URL: https://hosted.weblate.org/projects/asteroidos/compass/fa/
|
|
This is the complementary change to
https://github.com/AsteroidOS/meta-asteroid/pull/105
Signed-off-by: Ed Beroset <beroset@ieee.org>
|
|
Signed-off-by: Darrel Griët <dgriet@gmail.com>
|
|
Redesigns the calibration to use the status page.
Use eight labels positioned at a 45 degree interval and rotate them based on the magnetometer.
Signed-off-by: Darrel Griët <dgriet@gmail.com>
|
|
https://github.com/AsteroidOS/asteroid-launcher/issues/84
|
|
Qt is slowly deprecating QMake. They have stopped building Qt itself
with QMake and moved Qt6 to CMake instead. Although QMake is still
around, it's clear the focus has shifted and it would be good for
applications to switch over to an alternative build system as well
So hereby, switch the build system to CMake
|
|
|
|
to fix the app which was broken
|
|
|
|
https://github.com/nielstholenaar/asteroid-compass
|