From 16dcaae647c081ba60b239e425b26bf36ca327d3 Mon Sep 17 00:00:00 2001 From: dodoradio Date: Sun, 9 Jul 2023 01:19:34 +0100 Subject: Fork and start work on asteroid-toolwatch 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. --- asteroid-toolwatch.desktop.template | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 asteroid-toolwatch.desktop.template (limited to 'asteroid-toolwatch.desktop.template') diff --git a/asteroid-toolwatch.desktop.template b/asteroid-toolwatch.desktop.template new file mode 100644 index 0000000..99eecd7 --- /dev/null +++ b/asteroid-toolwatch.desktop.template @@ -0,0 +1,7 @@ +[Desktop Entry] +Type=Application +Categories=Applications; +Exec=asteroid-toolwatch +Icon=ios-compass-outline +X-Asteroid-Center-Color=#29A600 +X-Asteroid-Outer-Color=#070C00 -- cgit v1.2.3-70-g09d2