aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-11-24Add barometer graphgraphdodoradio
This is based mostly on my work from asteroid-health (https://git.dodorad.io/dodoradio/asteroid-health). Some tweaks have been applied on top of this code, which might prove useful in asteroid-health as well.
2023-11-24Compass: add text heading and stop cardinal directions spinning. - adds a ↵HEADmasterArseniy Movshev
heading (eg. NE, NNW) below the numeric bearing. This may be useful for reading the bearing if looking at the watch off-axis. - removes counter-rotation from cardinal directions. This change is made with the intention of improving accessibility - I personally believe that the counter-rotating letters were distracting and visually noisy, and weren't helpful if looking at the watch off-axis.
2023-07-12Fix inverted altimeter behaviour and allow negative altimeter calibrationsdodoradio
The altimeter was erroneously made to add to the sea level air pressure instead of subtracting from it, which resulted in inverted behaviour. This has now been fixed. This also allows setting a negative altimeter offset
2023-07-10Make the app remember the last used sensor.dodoradio
We just store the current item of the main PathView as a setting.
2023-07-10Add altimeterdodoradio
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.
2023-07-10Fork and start work on asteroid-toolwatchdodoradio
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.
2023-05-16Switch invoker to use booster-qt5Bart Ribbers
booster-qtcomponents-qt5 has been deprecated upstream and the application launches fine with just booster-qt5 as well
2023-05-14Move main library file to CMAKE_INSTALL_LIBDIR and add a launch scriptBart Ribbers
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
2023-02-11Translated using Weblate (Swedish)Luna Jernberg
Currently translated at 100.0% (2 of 2 strings) Translation: AsteroidOS/Compass Translate-URL: https://hosted.weblate.org/projects/asteroidos/compass/sv/
2023-02-04Added translation using Weblate (Tamazight (Standard Moroccan))ⵣⵓⵀⵉⵔ ⴰⵎⴰⵣⵉⵖ ZOUHIR DEHBI
2023-01-28Translated using Weblate (Slovak)aasami
Currently translated at 100.0% (2 of 2 strings) Translation: AsteroidOS/Compass Translate-URL: https://hosted.weblate.org/projects/asteroidos/compass/sk/
2023-01-14Translated using Weblate (Polish)gnu-ewm
Currently translated at 100.0% (2 of 2 strings) Translation: AsteroidOS/Compass Translate-URL: https://hosted.weblate.org/projects/asteroidos/compass/pl/
2023-01-11Translated using Weblate (Hindi)Xyngg
Currently translated at 100.0% (2 of 2 strings) Translation: AsteroidOS/Compass Translate-URL: https://hosted.weblate.org/projects/asteroidos/compass/hi/
2023-01-11Added translation using Weblate (Hindi)Xyngg
2022-12-15Translated using Weblate (Ukrainian)Dan
Currently translated at 100.0% (2 of 2 strings) Translation: AsteroidOS/Compass Translate-URL: https://hosted.weblate.org/projects/asteroidos/compass/uk/
2022-12-08Translated using Weblate (Portuguese (Brazil))Luiz Fernando Ranghetti
Currently translated at 100.0% (2 of 2 strings) Translation: AsteroidOS/Compass Translate-URL: https://hosted.weblate.org/projects/asteroidos/compass/pt_BR/
2022-11-27Translated using Weblate (Vietnamese)Minh P
Currently translated at 100.0% (2 of 2 strings) Translation: AsteroidOS/Compass Translate-URL: https://hosted.weblate.org/projects/asteroidos/compass/vi/
2022-11-17Translated using Weblate (Portuguese (Portugal))ssantos
Currently translated at 100.0% (2 of 2 strings) Translation: AsteroidOS/Compass Translate-URL: https://hosted.weblate.org/projects/asteroidos/compass/pt_PT/
2022-11-17Translated using Weblate (Portuguese)ssantos
Currently translated at 100.0% (2 of 2 strings) Translation: AsteroidOS/Compass Translate-URL: https://hosted.weblate.org/projects/asteroidos/compass/pt/
2022-11-12Translated using Weblate (Galician)gallegonovato
Currently translated at 100.0% (2 of 2 strings) Translation: AsteroidOS/Compass Translate-URL: https://hosted.weblate.org/projects/asteroidos/compass/gl/
2022-11-12Translated using Weblate (Spanish)gallegonovato
Currently translated at 100.0% (2 of 2 strings) Translation: AsteroidOS/Compass Translate-URL: https://hosted.weblate.org/projects/asteroidos/compass/es/
2022-11-12Translated using Weblate (German)ManuelBoe
Currently translated at 100.0% (2 of 2 strings) Translation: AsteroidOS/Compass Translate-URL: https://hosted.weblate.org/projects/asteroidos/compass/de/
2022-11-09Translated using Weblate (Czech)Pavel Borecki
Currently translated at 100.0% (2 of 2 strings) Translation: AsteroidOS/Compass Translate-URL: https://hosted.weblate.org/projects/asteroidos/compass/cs/
2022-10-21Translated using Weblate (Italian)A B
Currently translated at 100.0% (2 of 2 strings) Translation: AsteroidOS/Compass Translate-URL: https://hosted.weblate.org/projects/asteroidos/compass/it/
2022-10-19Translated using Weblate (Asturian)Enol P
Currently translated at 100.0% (2 of 2 strings) Translation: AsteroidOS/Compass Translate-URL: https://hosted.weblate.org/projects/asteroidos/compass/ast/
2022-10-18Added translation using Weblate (Asturian)Enol P
2022-10-17Translated using Weblate (Lithuanian)Gediminas Murauskas
Currently translated at 100.0% (2 of 2 strings) Translation: AsteroidOS/Compass Translate-URL: https://hosted.weblate.org/projects/asteroidos/compass/lt/
2022-10-17Translated using Weblate (Azerbaijani)Nizami
Currently translated at 100.0% (2 of 2 strings) Translation: AsteroidOS/Compass Translate-URL: https://hosted.weblate.org/projects/asteroidos/compass/az/
2022-10-12Translated using Weblate (Chinese (Simplified))yangyangdaji
Currently translated at 100.0% (2 of 2 strings) Translation: AsteroidOS/Compass Translate-URL: https://hosted.weblate.org/projects/asteroidos/compass/zh_Hans/
2022-10-10Translated using Weblate (Romanian)Florin Voicu
Currently translated at 100.0% (2 of 2 strings) Translation: AsteroidOS/Compass Translate-URL: https://hosted.weblate.org/projects/asteroidos/compass/ro/
2022-10-10Translated using Weblate (German)Ettore Atalan
Currently translated at 50.0% (1 of 2 strings) Translation: AsteroidOS/Compass Translate-URL: https://hosted.weblate.org/projects/asteroidos/compass/de/
2022-10-08Translated using Weblate (Thai)Wannaphong Phatthiyaphaibun
Currently translated at 100.0% (2 of 2 strings) Translation: AsteroidOS/Compass Translate-URL: https://hosted.weblate.org/projects/asteroidos/compass/th/
2022-10-08Translated using Weblate (Swedish)Allan Nordhøy
Currently translated at 50.0% (1 of 2 strings) Translation: AsteroidOS/Compass Translate-URL: https://hosted.weblate.org/projects/asteroidos/compass/sv/
2022-10-08Translated using Weblate (Russian)smirnovv2007
Currently translated at 100.0% (2 of 2 strings) Translation: AsteroidOS/Compass Translate-URL: https://hosted.weblate.org/projects/asteroidos/compass/ru/
2022-09-29Translated using Weblate (Korean)Hoseok Seo
Currently translated at 100.0% (2 of 2 strings) Translation: AsteroidOS/Compass Translate-URL: https://hosted.weblate.org/projects/asteroidos/compass/ko/
2022-09-26Translated using Weblate (Marathi)Prachi Joshi
Currently translated at 100.0% (2 of 2 strings) Translation: AsteroidOS/Compass Translate-URL: https://hosted.weblate.org/projects/asteroidos/compass/mr/
2022-09-20Translated using Weblate (Turkish)Oğuz Ersen
Currently translated at 100.0% (2 of 2 strings) Translation: AsteroidOS/Compass Translate-URL: https://hosted.weblate.org/projects/asteroidos/compass/tr/
2022-09-17Translated using Weblate (Arabic)Rex_sa
Currently translated at 100.0% (2 of 2 strings) Translation: AsteroidOS/Compass Translate-URL: https://hosted.weblate.org/projects/asteroidos/compass/ar/
2022-09-15Translated using Weblate (Croatian)Milo Ivir
Currently translated at 100.0% (2 of 2 strings) Translation: AsteroidOS/Compass Translate-URL: https://hosted.weblate.org/projects/asteroidos/compass/hr/
2022-09-07Translated using Weblate (Norwegian Bokmål)Allan Nordhøy
Currently translated at 100.0% (2 of 2 strings) Translation: AsteroidOS/Compass Translate-URL: https://hosted.weblate.org/projects/asteroidos/compass/nb_NO/
2022-09-07Translated using Weblate (Hebrew)Yaron Shahrabani
Currently translated at 100.0% (2 of 2 strings) Translation: AsteroidOS/Compass Translate-URL: https://hosted.weblate.org/projects/asteroidos/compass/he/
2022-09-07Translated using Weblate (French)J. Lavoie
Currently translated at 100.0% (2 of 2 strings) Translation: AsteroidOS/Compass Translate-URL: https://hosted.weblate.org/projects/asteroidos/compass/fr/
2022-09-07Translated using Weblate (Persian)Danial Behzadi
Currently translated at 100.0% (2 of 2 strings) Translation: AsteroidOS/Compass Translate-URL: https://hosted.weblate.org/projects/asteroidos/compass/fa/
2022-08-01Update extra-cmake-modules syntaxEd Beroset
This is the complementary change to https://github.com/AsteroidOS/meta-asteroid/pull/105 Signed-off-by: Ed Beroset <beroset@ieee.org>
2022-07-13translations: Update translations.Darrel Griët
Signed-off-by: Darrel Griët <dgriet@gmail.com>
2022-07-13Redesign the compass design.Darrel Griët
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>
2022-02-15Change colors to implement ↵eLtMosen
https://github.com/AsteroidOS/asteroid-launcher/issues/84
2021-05-17Port to CMakeBart Ribbers
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
2021-04-20Fix compilationBart Ribbers
2019-07-21Make references to the global properties rotation and calibration explicit ↵Florent Revest
to fix the app which was broken