Dennis Guse
4b7badbecc
Created CyclingDistanceSpeedHandler.
2026-02-09 18:15:37 +01:00
Dennis Guse
0dcb8010e2
Created CyclingCadenceHandler.
2026-02-09 18:15:37 +01:00
Dennis Guse
0a9d4b207c
Created TemperatureHandler.
2026-02-09 18:15:37 +01:00
Dennis Guse
c6cb388ce4
Created HeartRateHandler.
2026-02-09 18:15:37 +01:00
Dennis Guse
e6e009ba14
GainManager should only re-connect if sensor should be changed.
2026-02-09 18:15:37 +01:00
Dennis Guse
f8aa456549
Extract SensorHandler from GainManager for re-use.
2026-02-09 18:15:37 +01:00
Dennis Guse
167d90332e
Extract Driver for internal GPS to GpsInternal.
2026-02-09 18:15:37 +01:00
Dennis Guse
719a052f34
Cleanup: merged BluetoothRemoteSensorManager into SensorManager.
...
Preparation for refactoring.
2026-02-09 18:15:37 +01:00
Dennis Guse
244ca26210
Cleanup: created new DriverObserver interface.
2026-02-09 18:15:37 +01:00
Dennis Guse
476f3a517b
Cleanup: GainManager now processes AggregatorBarometer directly (instead of SensorManager).
2026-02-09 18:15:37 +01:00
Dennis Guse
289e93eb5d
Cleanup: moved AggregatorGPS to GPSManager.
2026-02-09 18:15:37 +01:00
Dennis Guse
18ff96733e
Cleanup: moved Raw into Aggregator.
...
Preparation for refactoring.
2026-02-09 18:15:37 +01:00
Dennis Guse
0f2c5adf26
Cleanup: SensorManager.SensorDataChangedObserver inlined into SensorManager.
...
Preparation for refactoring.
2026-02-09 18:15:37 +01:00
Dennis Guse
74954df600
Cleanup: SensorManager.SensorDataChangedObserver inlined into SensorManager.
...
Preparation for refactoring.
2026-02-09 18:15:37 +01:00
Dennis Guse
1a14fed287
Cleanup: SensorDataAggregator inlined into SensorManager.
...
Preparation for refactoring.
2026-02-09 18:15:37 +01:00
Dennis Guse
744853ee91
Cleanup: removed SensorConnector interface.
...
Preparation for refactoring.
2026-02-09 18:15:37 +01:00
Dennis Guse
54844b9a9a
Sensor: add temperature.
...
Fixes #2241 .
2026-01-10 21:43:54 +01:00
Dennis Guse
738201c1c2
Cleanup.
2026-01-04 09:57:05 +01:00
Dennis Guse
707f4add71
Cleanup: GpsStatusManager only needs Position.
2025-12-28 08:59:19 +01:00
Dennis Guse
015352c989
TrackPoint is now a record.
2025-12-24 17:15:19 +01:00
frazou
afd1232940
Fix null race-condition for heart rate sensor data
...
The previous implementation was technically safe because the sensor
never had null values. Now that it can, the calls to getHeartRate
must be stored instead of repeated to avoid a race condition where the
sensor data become null between the null-check and the second call
2025-12-07 19:16:42 +01:00
frazou
a3407ccbea
Add an optional filter for invalid (0 bpm) heart rate readings
2025-12-07 19:16:42 +01:00
Dennis Guse
6e4d46a14d
Distance.ZERO as constant.
2025-11-06 21:54:30 +01:00
Dennis Guse
fffeb40200
Speed.ZERO as constant.
2025-11-06 21:54:30 +01:00
Dennis Guse
c687308d97
Move WakeLock to SensorManager (was TrackRecordingService).
2025-11-01 09:56:31 +01:00
Dennis Guse
f31e146cda
Cleanup: TrackPoint uses AltitudeGainLoss.
2025-10-30 22:33:00 +01:00
Peter Storch
ec08717d01
Before codeberg migration ( #2159 )
...
Co-authored-by: Dennis Guse <dennis.guse@alumni.tu-berlin.de >
2025-08-24 08:36:08 +02:00
Dennis Guse
ea4193a562
Bugfix: GPS-based data in UI should not drop back to zero.
...
Likely introduced b9ed5e28e0 .
2025-03-07 17:45:31 +01:00
Dennis Guse
e7aa6f20d4
Cleanup: use Position and cleanup TrackPoint.
2025-03-01 23:05:05 +01:00
Dennis Guse
e83ba04d71
Position: move checks for validity.
2025-03-01 23:05:05 +01:00
Dennis Guse
b9ed5e28e0
Sensor data: separate aggregation and TTL explicitly.
...
Part of #1995 .
2025-03-01 22:51:48 +01:00
Dennis Guse
d4e9b5d3d7
Cleanup: renames in sensor data handling.
...
Part of #1995 .
2025-03-01 22:51:48 +01:00
Dennis Guse
a6d318d970
Cleanup: move GpsManager into sensors package.
2025-03-01 22:51:48 +01:00
Dennis Guse
7df625ff0c
Revert "Bugfix: on idle detection reset movement-based sensor data."
...
This reverts commit fd9646bb1f .
2025-01-20 07:53:45 +01:00
Dennis Guse
0e0958c5e8
Announcements: add current heartrate.
...
Fixes #1635 .
2024-12-29 12:38:15 +01:00
Dennis Guse
01f4359cdf
Sensor data: use monotonic clock (for isRecent).
...
Part of #1966 .
2024-12-28 17:33:53 +01:00
Dennis Guse
333bc6f31b
Sensor data: use monotonic clock.
...
Part of #1966 .
2024-12-28 17:33:53 +01:00
Dennis Guse
fd9646bb1f
Bugfix: on idle detection reset movement-based sensor data.
...
Fixes #1995 .
2024-12-17 07:18:24 +01:00
Dennis Guse
d8eed2ccc9
Cleanup using AndroidStudio analyze.
2024-07-11 07:38:45 +02:00
Dennis Guse
e442558eed
Introduced Position.
...
Internal value object replacing android.location.Location.
Follow-up to #1898 .
2024-07-06 14:51:45 +02:00
Dennis Guse
e590e4e07e
Bugfix: overestimated distance.
...
A combination of idle trackpoint and stale GPS data, resulted in recording lat=0.0 and lng=0.0; and thus inflating distance as well as GPS-based speed.
Fixes #1898 .
Introduced in dfdbc373ff
2024-04-28 10:50:56 +02:00
Dennis Guse
dfdbc373ff
GPS: event-based using Raw.
...
Part of #1424 .
2024-04-08 17:48:29 +02:00
Dennis Guse
80d7f8d92e
Bugfix: a BLE sensor disconnect should only replace the aggregator.
...
Fixes #1799 .
2024-01-05 15:44:05 +01:00
Dennis Guse
0584f05ddc
Bugfix: Cycling Cadence and Distance sensor allow for repeated data.
...
Fixes #1790 .
2024-01-01 14:39:20 +01:00
Dennis Guse
310ac8c06e
Bugfix: process cycling power sensor data correctly.
...
Fixes #1802 .
2023-12-31 13:18:55 +01:00
Dennis Guse
03dd0c2308
Implement gain/loss via Bluetooth LE Environmental Sensing Sensor.
...
Fixes #1424 .
2023-12-30 11:23:28 +01:00
Dennis Guse
8eed8e9d8d
Bugfix: Bluetooth sensor data TLS is 5s instead of 50s.
...
Introduced in 58d79380cf
2023-12-29 13:17:06 +01:00
Dennis Guse
94540606ef
Barometer: select INTERNAL or NONE (also while recording).
...
Part of #1424 .
2023-12-29 13:17:06 +01:00
Dennis Guse
490141db2a
Barometer: added settings for sensor selection.
...
Part of #1424 .
2023-12-29 13:17:06 +01:00
Dennis Guse
8f5388edce
While recording: show BLE sensor name instead of address.
...
Fixes #1796 .
2023-12-26 11:22:05 +01:00