Dennis Guse
73d6ca6ca6
Cleanup: SegmentStatisticUpdater is always initialized.
2025-11-21 16:30:29 +01:00
Dennis Guse
1ef7a6ecc4
Move .merge() from SegmentStatisticUpdater to Statistics.
...
This is a functional change as maxSpeed is now determined by Segment (rather than the joined Segment).
2025-11-21 16:15:18 +01:00
Dennis Guse
94a0b57362
Simplify construction of TrackStatisticsUpdater.
2025-11-21 13:37:14 +01:00
Dennis Guse
4ebaf366d6
TrackStatisticsUpdater only needs one SegmentStatisticUpdater.
2025-11-21 13:37:14 +01:00
Dennis Guse
911f2c525f
Move isIdle to TrackStatisticsUpdater.
2025-11-21 13:37:14 +01:00
Dennis Guse
8a247e5b38
Cleanup: TrackStatisticsUpdater.
2025-11-17 22:22:44 +01:00
Dennis Guse
59ea50b96f
Cleanup: SegmentStatisticUpdater.
2025-11-17 22:22:44 +01:00
Dennis Guse
8d015fee6c
Cleanup: SegmentStatisticUpdater.
2025-11-17 22:22:44 +01:00
Dennis Guse
653352255e
Cleanup: SegmentStatisticUpdater.
2025-11-17 22:22:44 +01:00
Dennis Guse
f31e146cda
Cleanup: TrackPoint uses AltitudeGainLoss.
2025-10-30 22:33:00 +01:00
Dennis Guse
05e45b6870
TrackStatisticsUpdater now provides Statistics.
...
Used for non-testing code.
2025-10-30 07:54:04 +01:00
Dennis Guse
7521f906ed
IntervalStatisticsUpdater now uses Statistics.
2025-10-30 07:54:04 +01:00
Dennis Guse
bc62320b9f
Track only has Statistics (instead of SegmentStatisticsUpdater).
2025-10-30 07:54:04 +01:00
Dennis Guse
5dd56892fb
Cleanup: move Statistics to package models.
2025-10-30 07:54:04 +01:00
Dennis Guse
e3460d94ed
Statistics: used when only the data is needed (instead of passing SegmentStatisticUpdater).
2025-10-30 07:54:04 +01:00
Dennis Guse
920ad5129a
Introduced Statistics as a value object.
2025-10-30 07:54:04 +01:00
Dennis Guse
fba08fe8dd
Cleanup: rename TrackStatistics to SegmentStatisticsUpdater.
2025-10-30 07:54:04 +01:00
Jeff Shelley
94595f2a1f
Added support for average pace of the current segment
2025-10-21 19:34:19 -05:00
Dennis Guse
daeb972c8a
Cleanup: simplify stream by using List operations (desugar).
2025-10-18 21:10:26 +02:00
Dennis Guse
1ed807054b
Bugfix: moving time was not computed.
...
Introduced in 6be9d2477c (first released in v4.9.0)
Fixes #1756 .
2024-07-05 23:42:25 +02:00
Peter Hercek
6cfc05af82
support for lap cycling power in the announcer
...
Implements #1806
2024-05-12 15:32:23 +02:00
Dennis Guse
9a50d7bedf
Idle: move idle into TrackStatistics.
2023-09-25 17:59:17 +02:00
Dennis Guse
7d739e3640
TrackStatisticsUpdater: remove check for max acceleration (was still used for max speed).
2023-09-25 17:59:17 +02:00
Dennis Guse
00debe2eb5
Idle: TrackRecordingManager creates IDLE TrackPoints (import/export GPX/KML).
...
Fixes of #1187 .
2023-09-25 17:59:17 +02:00
Dennis Guse
6be9d2477c
Idle: TrackRecordingManager creates IDLE TrackPoints.
...
Fixes of #1187 .
2023-09-25 17:59:17 +02:00
Dennis Guse
11c5ec43e2
Statistics: distance, total time, moving time are counted between automatic segments.
...
Fixes #1566 .
2023-07-26 19:16:27 +02:00
Dennis Guse
807ac3fc9f
Remove UnitConversions for time/durations.
2022-08-21 22:02:49 +02:00
Dennis Guse
81bb6699d8
Statistics: remove speed filtering.
...
Part of #1003 .
2022-06-30 14:03:33 +02:00
Dennis Guse
1c3a2bd2e4
Removed altitude smoothing completely: now it will just be the plain GPS-reported value.
...
Was only used for statistics in exports.
Follow-up to #1241 .
2022-06-11 14:41:56 +02:00
Dennis Guse
0b326a77c2
Bugfix: Elevation in charts smoothing removed as it was broken.
...
Fixes #1241 .
2022-06-11 14:24:41 +02:00
Jonas Kalderstam
1075021e21
Voice announcement: added heart rate info to voice announcements
...
Also added setting to toggle announcement of heart rate
Defaults to off to preserve current behavior
2022-03-01 09:58:29 +01:00
Dennis Guse
1df1fe699a
Cleanup: removed unused parameter.
2022-01-16 15:30:08 +01:00
Dennis Guse
0645628d7e
Package structure: moved models and database.
...
Part of #963 .
2022-01-15 22:24:59 +01:00
Dennis Guse
1163f74b98
SENSORPOINT and TRACKPOINT require a distance to be stored.
...
TrackRecording and TrackStatisticsUpdater.
Part of #500
Fixes #1074 .
2022-01-06 22:12:53 +01:00
Dennis Guse
07074ad260
TrackStatistics and ChartView: handle altitude and speed as optional with null as default value.
...
Then only the relevant part of the y-axis is shown.
Fixes #795 .
2022-01-02 18:17:20 +01:00
Dennis Guse
25e590da02
Moving time: re-implement idle/non-idle TrackPoints.
...
Simplify computation of TrackStatistics.
Part of #1046 .
2021-12-19 22:01:35 +01:00
Román Martínez
d99fb5ea47
Cadence set to 0 when connected but user is not pedaling. Fixes #931 .
...
Speed set to 0 when connected but last value is outdated. Fixes #930 .
Bug: overflow when reset sensors (cadence and speed). Fixes #833 .
Moving time stops when is not moving (the last track point is not moving) and restarts when last track point is moving.
2021-09-21 18:07:23 +02:00
Dennis Guse
d5cfd118f6
Cleanup.
2021-08-28 19:00:06 +02:00
Dennis Guse
86a0054c24
Bugfix: TrackStatistics' total time was not restored correctly, when having pause/stop and then resume.
2021-07-22 17:18:31 +02:00
Dennis Guse
401e07d7e7
Cleanup.
2021-07-09 23:17:18 +02:00
Dennis Guse
acb2044a43
TrackStatisticsUpdater: simplify/ test initialization.
...
Fixes #863 .
2021-07-04 16:53:10 +02:00
Dennis Guse
b947a727e7
Bugfix: while recording UI values were doubled.
...
Issue: copy constructor of TrackStatisticsUpdater was not copying completely and the same reference used.
2021-06-17 23:08:06 +02:00
Dennis Guse
47a340578f
Bugfix: prevent crash when creating TRACKPOINT without location.
...
Introduced in 2f0449c420
2021-06-14 12:11:23 +02:00
Dennis Guse
2f0449c420
TrackRecordingService: compute temporary TrackStatistics for UI.
...
Fixes #810 .
2021-06-11 19:25:40 +02:00
Dennis Guse
54e8fd3ee3
Import: re-implement KML parsing.
...
Fixes #790 .
2021-06-04 17:50:34 +02:00
Dennis Guse
00489a121a
Bugfix: TrackStatisticsUpdater was computing distance incorrectly.
...
While using a cycling speed and distance sensor, the updater was not using the distance from the most recent trackpoint but rather the one considered last moving.
Fixes #762 .
2021-05-16 08:35:47 +02:00
Dennis Guse
50127e311a
Introduced value object for Altitude.
2021-05-05 18:01:07 +02:00
Dennis Guse
13f2a09652
Bugfix: AnnouncementPeriodicTask does not need to register as TrackRecordingService.Listener.
2021-04-19 19:29:51 +02:00
Dennis Guse
da70fca389
Bugfix: TrackStatistics handles SEGMENT_START_AUTOMATIC properly.
2021-04-13 19:18:18 +02:00
Dennis Guse
6f9c788965
Value objects distance and speed.
...
#679
2021-04-13 19:18:18 +02:00