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
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
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
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
bdfcd9c89f
TrackStatistics: merge previous segment whenever a new starts/ends.
...
(also adapting the test).
2021-01-24 22:49:40 +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
e990b413cd
Replace long time_ms with Instant and Duration, respectively.
...
Fixes #561 .
2021-01-24 22:21:36 +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
f128111650
Code cleanup.
2020-09-05 01:19:59 +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
90e19e282c
Upgraded tests to Junit4.
2019-12-29 15:31:53 +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
233522a5e6
Rebranding to OpenTracks (code).
2019-07-26 18:39:35 +02:00