summaryrefslogtreecommitdiff
path: root/daemon/CMakeLists.txt (follow)
AgeCommit message (Collapse)Author
2023-08-07Add some compensation to the barometerArseniy-Movshev
Here's the justification from the asteroid-toolwatch commit logs: > 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. The daemon uses the same dconf value as in toolwatch.
2023-08-07Add a new logger for barometerArseniy-Movshev
This just logs the raw sensor values, and doesn't do any compensation. The same model as the heartrate sensor, where it's started and then we wait for a reasonable reading to come in.
2023-07-12Remove leftover qtpositioning referenceArseniy-Movshev
This was used in testing versions of sensorlogd but got removed, so let's remove it from compilation chain as well
2023-06-20Move fileNameForDate to a common header fileArseniy-Movshev
This function shows up in quite a few places so this seems justified. Other functions may get this treatment later
2023-05-26Add systemd services and rename executableArseniy-Movshev
2023-05-26Restructure to split to daemon and qml accessorArseniy-Movshev
- add separate subdirs for daemon and qml - add some generic qml boilerplate - add a really lazy 'last value' loader implementation - license the project as gplv3 (add copyright notices and license text)