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
887d4700d4
TrackDataHub computes TrackStatistics and passes it to listeners.
...
Part of #719 .
2021-04-27 19:02:53 +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
Dennis Guse
bc1b4e3cd2
Rename elevation to altitude (without translations).
...
Fixes #678 .
2021-04-04 17:45:38 +02:00
Dennis Guse
a5158a55d9
Use distance from cycling speed sensors.
...
Fixes #505 .
2021-03-15 17:27:41 +01:00
Dennis Guse
fdf4336a9b
Cleanup.
2021-03-04 19:18:31 +01:00
Román Martínez
edf4ccc941
It computes the average for heart rate, cadence, and power (duration-based average) and the maximum for heart rate and cadence.
2021-03-02 19:55:18 +01:00
Román Martínez
a9624f72e7
Track recorded stats shows sensor data from trackpoints table.
...
Heart rate: maximum and average.
Cadence: maximum and average.
Power: average.
Fixes #525 and #502 .
2021-02-14 17:34:19 +01:00
Dennis Guse
f8f78d28dd
TrackStatistics: merge previous segment whenever a new starts/ends.
2021-01-24 22:21:37 +01:00
Dennis Guse
cbe469d5e4
Import: empty tracks cannot be imported as TrackStatistics cannot be restored.
...
#316 .
2021-01-24 22:21:37 +01:00
Dennis Guse
e0553f812f
Import: segments might contain no TrackPoints.
...
#316 .
2021-01-24 22:21:37 +01:00
Dennis Guse
c3741611dc
TrackStatisticsUpdater updates only by adding TrackPoints.
...
#316 .
2021-01-24 22:21:37 +01:00
Dennis Guse
912fd1aa2f
TrackStatistics startTime/stopTime is null on creation.
2021-01-24 22:21:36 +01:00
Dennis Guse
e990b413cd
Replace long time_ms with Instant and Duration, respectively.
...
Fixes #561 .
2021-01-24 22:21:36 +01:00
Dennis Guse
fcc17413e3
Segments: use TrackPoint.type.
...
So, far specific latitude for segment start/end (i.e., PAUSE/RESUME) was used.
#316 .
2021-01-24 22:21:36 +01:00
Román Martínez
4714171e21
Added elevation loss via barometer (like elevation gain). Fixes #547 .
2020-12-25 18:19:01 +01:00
Dennis Guse
5099118dd7
Elevation gain: make it optional as Float - and if null, then the UI just shows "-".
...
In TrackStatistics the elevation gain is now nullable.
2020-09-05 12:39:23 +02:00
Dennis Guse
8a14bc46f6
Implement elevation gain via barometer.
2020-09-05 12:39:22 +02:00
Dennis Guse
01ee1a1e49
Renamed DoubleBuffer to DoubleRingBuffer.
2020-09-05 12:39:22 +02:00
Román
54b9c4370b
KML description: max/min elevation will not show if have invalid values (unknow).
2020-04-21 19:01:35 +02:00
Dennis Guse
6a1fada22f
TrackRecordingService: cleanup.
2020-04-13 20:23:22 +02:00
Dennis Guse
95feae846a
Create helper functions for TrackPoints in TrackPointUtils.
2020-04-13 20:23:22 +02:00
Dennis Guse
fbc902e830
Cleanup using AndroidStudio code analyzer.
...
Moved to iterator for loops for ChartView and ChartFragment.
2020-04-05 21:56:26 +02:00
Dennis Guse
208f1d71ba
Refactor ChartView/ChartFragment to use ChartPoint.
2020-04-05 21:56:26 +02:00
Dennis Guse
16c654141f
Renamed TripStatistics to TrackStatistics.
2020-04-05 21:56:26 +02:00
Dennis Guse
f621cdf032
Removed grade internals completely.
2020-04-05 21:56:26 +02:00
Dennis Guse
194379295d
TrackPoint has Location as delegate instead of inheritance.
2020-03-30 19:52:06 +02:00
Dennis Guse
901cffee97
Use TrackPoint instead of Location (and omit casting).
2020-03-30 19:52:06 +02:00
Román
d93c2ec5f3
TrackDetailActivity starts an actual recording and a stopped recording can be resumed. Fixes #103 and #11 .
2020-03-30 19:25:22 +02:00
Dennis Guse
b2b8c7fd54
Database upgrade (incl. tests): removed unused columns and added indices.
...
Fixes #108 .
2020-03-17 21:39:10 +01:00
Dennis Guse
dc1b50a7bf
Cleanup: move PAUSE_LATITUDE and RESUME_LATITUDE to TrackPointsColumn.
2020-02-03 20:45:14 +01:00
Dennis Guse
f16d59bff6
Cleanup.
2020-01-11 19:31:58 +01:00
Dennis Guse
f89b2b0efb
Removed TripStatists min/max latitude/longitude.
...
This also removed: search does not account for closer tracks (to current position).
2019-12-27 18:01:11 +01:00
Dennis Guse
b94f3c176b
Include unit in variable names.
2019-12-27 18:01:10 +01:00
Dennis Guse
f5656470a9
Removed Parcelable from all data classes as it not needed anymore.
2019-09-10 21:17:45 +02:00
Dennis Guse
87d92d25f9
Cleanup: mainly code formatting and made LocationIterator implement autoclosable.
2019-09-08 12:39:40 +02:00
Dennis Guse
f537cc7321
Cleanup: automatic code inspection via Android Studio.
2019-08-18 14:46:43 +02:00
Dennis Guse
233522a5e6
Rebranding to OpenTracks (code).
2019-07-26 18:39:35 +02:00