Dennis Guse
fffeb40200
Speed.ZERO as constant.
2025-11-06 21:54:30 +01:00
Dennis Guse
a5e5d0ca51
AggregatedStatistics: compute without SegmentStatisticUpdater.
2025-11-06 21:54:30 +01:00
Dennis Guse
f31e146cda
Cleanup: TrackPoint uses AltitudeGainLoss.
2025-10-30 22:33:00 +01:00
Dennis Guse
696939112a
Cleanup: Statistics doesn't need isIdle.
...
isIdle is only used by SegmentStatisticsUpdater.
2025-10-30 21:52: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
caf3d957cd
Cleanup: SegmentStatisticUpdaterTest uses Statistic.
2025-10-30 07:54:04 +01:00
Dennis Guse
005d00cfaa
Cleanup: SegmentStatisticUpdaterTest.
2025-10-30 07:54:04 +01:00
Dennis Guse
c227d54f26
Cleanup: SegmentStatisticUpdater and Track do not need equal().
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
fff5f2d406
Create SegmentStatisticUpdater by passing Statistics (1/2).
2025-10-30 07:54:04 +01:00
Dennis Guse
be653b73ee
Added value object: AltitudeExtremities.
2025-10-30 07:54:04 +01:00
Dennis Guse
4580f2a7bb
ContentProviderUtils use Statistics for saving.
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
ce2c608cc9
Cleanup: TrackStatistics has altitudeExtremities or not.
2025-10-19 22:27:11 +02:00
Dennis Guse
daeb972c8a
Cleanup: simplify stream by using List operations (desugar).
2025-10-18 21:10:26 +02:00
Dennis Guse
073b3d2052
Announcements: added current time.
...
Fixes #1683 .
2024-12-28 21:07:45 +01: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
cb3904ee0b
Cleanup: SensorStatistics is a record.
2023-09-28 20:06:13 +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
quaelnix
cf9b432224
Add max power stats
2023-09-13 18:38:32 +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
fc2341515c
Bug: TrackStatistics cannot compute average moving speed (division by zero).
2023-07-23 12:00:09 +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
0eda1eed1d
Introduced value objects for heartrate, cadence, and power.
...
Fixes #896 .
2022-01-16 15:30:08 +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
522d8b41d8
Bugfix: use monotonic clock.
...
Fixes #800 .
2022-01-15 19:52:27 +01:00
Dennis Guse
cd7bf36aa9
TrackRecordingService: add integration tests.
2022-01-09 18:28:35 +01:00
Dennis Guse
ab07d3b130
TrackRecordingService: re-worked TrackPoint recording tests for state changes.
2022-01-09 18:28:35 +01:00
Dennis Guse
9bde8944b9
Workaround: Clock.systemUTC() seems to be not monotonic.
...
Introduced in 25e590da02
2022-01-06 22:12:53 +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
89f9f25c55
GPX: export track statistics using TrackStatsExtensionv1.
...
Fixes #652 .
2021-12-28 13:05:24 +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