Dennis Guse
|
6fe6cee475
|
BLE: CSC remove workarounds as those are not necessary.
The implementation of OpenTracks for the CSC parsing was broken and fixed in 35de5b6b26
Fixes #1046.
|
2021-12-21 22:00:38 +01:00 |
|
Dennis Guse
|
52228d44a9
|
Cleanup.
|
2021-12-21 21:55:41 +01:00 |
|
Dennis Guse
|
d93e025963
|
BLE sensors: clear data when disconnected.
Part of #1027.
|
2021-11-20 19:43:38 +01:00 |
|
Dennis Guse
|
d07ab3cc22
|
TrackRecordingManager: do not store altitude changes twice (previous …
…TrackPoint's storage was delayed).
Fixes #969.
|
2021-10-16 10:23:09 +02:00 |
|
Dennis Guse
|
b6b4c5aa39
|
Cleanup: move PreferencesUtils into settings package.
Part of #963
|
2021-10-12 22:24:51 +02:00 |
|
Dennis Guse
|
eac3d4b3db
|
Cleanup: SharedPreference as static variable.
Fixes #961.
|
2021-10-12 22:24:51 +02:00 |
|
Dennis Guse
|
242147e491
|
Sensor: adding Running Speed and Cadence.
Fixes #891.
|
2021-07-31 18:44:42 +02:00 |
|
Dennis Guse
|
223ad70d36
|
TrackRecordingService: move BluetoothRemoteSensorManager and AltitudeSumManager to HandlerServer.
Part of #822.
|
2021-07-22 17:18:31 +02:00 |
|
Dennis Guse
|
401e07d7e7
|
Cleanup.
|
2021-07-09 23:17:18 +02:00 |
|
Dennis Guse
|
c9231a7640
|
Add copy constructor to SensorDataSet to avoid undesired changes.
|
2021-07-04 16:53:10 +02:00 |
|
Dennis Guse
|
c07d6124f9
|
TrackRecordingService: simplify altitude and remoteSensor handling.
|
2021-07-04 16:53:10 +02:00 |
|
Dennis Guse
|
8991d7bf0d
|
Temporary TrackStatistics should also contain gain/loss from barometric sensor.
|
2021-07-04 16:53:10 +02:00 |
|
Dennis Guse
|
4c8e87614f
|
Altitude gain/loss: start with null instead of 0f.
|
2021-07-04 16:53:10 +02:00 |
|
Dennis Guse
|
7ebd532edb
|
Cleanup using AndroidStudio's code analyzer.
|
2021-06-24 18:47:49 +02:00 |
|
Dennis Guse
|
c00d769188
|
SensorDataCycling: use Distance.
|
2021-05-16 08:35:47 +02:00 |
|
Román Martínez
|
b2c91d7592
|
registerListener for barometric sensor uses SENSOR_DELAY_FASTEST instead of nanoseconds. Fixes #714.
|
2021-04-17 19:34:05 +02:00 |
|
Dennis Guse
|
5e1293fc82
|
For delays/timers: use Duration.
|
2021-04-13 19:18:18 +02:00 |
|
Dennis Guse
|
3a073a3b0a
|
Code cleanup.
|
2021-04-04 23:31:36 +02:00 |
|
Dennis Guse
|
bc1b4e3cd2
|
Rename elevation to altitude (without translations).
Fixes #678.
|
2021-04-04 17:45:38 +02:00 |
|
Dennis Guse
|
d1e9649505
|
Garmin Speed 2: added workaround if cadence instead of speed is provided.
|
2021-03-15 17:27:41 +01:00 |
|
Dennis Guse
|
a5158a55d9
|
Use distance from cycling speed sensors.
Fixes #505.
|
2021-03-15 17:27:41 +01:00 |
|
Dennis Guse
|
15fbd90ca4
|
Performance: Keep reference to sharedPreferences.
So far, we opened the SharedPreferences very often, which is very slow; also happened in the UI thread a lot.
Fixes #642.
|
2021-03-15 12:01:32 +01:00 |
|
Dennis Guse
|
cd4e0abd6f
|
SensorData: use Instant instead of long.
|
2021-02-07 23:16:12 +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
|
634a7a4321
|
Bluetooth Sensor: add cycling powermeter.
|
2020-11-11 21:08:39 +01:00 |
|
Dennis Guse
|
6ac0db7238
|
Move handling of sensor removal (from settings) in BluetoothConnectionManager.BluetoothConnectionManager.
|
2020-10-31 22:21:49 +01:00 |
|
Dennis Guse
|
b6850eb46f
|
BluetoothSensorManager: on initiate connect to sensor, report address to be shown on UI.
Fixes #64.
|
2020-10-31 22:21:49 +01:00 |
|
Dennis Guse
|
6845ce4984
|
Elevation gain: make it optional as Float.
So if no sensor data is provided, it is not stored in the database and not exported.
|
2020-09-05 12:39:23 +02:00 |
|
Dennis Guse
|
c7db4f528e
|
Elevation gain: apply exponential smoothing and limit changes (defined change diff per sensor value).
|
2020-09-05 12:39:22 +02:00 |
|
Dennis Guse
|
8a14bc46f6
|
Implement elevation gain via barometer.
|
2020-09-05 12:39:22 +02:00 |
|
Dennis Guse
|
cf45a8079c
|
Simplified getting the BluetoothAdapter.
|
2020-08-04 22:56:35 +02:00 |
|
Dennis Guse
|
e55924dae3
|
Bugfix: Cadence/Speed computation incorrectly truncated time to long instead of float.
|
2020-05-13 20:34:16 +02:00 |
|
Dennis Guse
|
e3a8143d58
|
Cleanup.
|
2020-05-13 20:34:16 +02:00 |
|
Dennis Guse
|
4893a2b743
|
Added cycling speed sensor.
Fixed speed and cadence computation.
Fixed that a sensor change in settings resulted in a disconnect for all connected sensors.
|
2020-04-27 07:17:46 +02:00 |
|
Dennis Guse
|
ddb17f61cb
|
Bluetooth LE: implemented cycling cadence and speed sensors.
Cadence is working while speed still requires the wheel size.
|
2020-04-27 07:17:46 +02:00 |
|
Dennis Guse
|
bbe182cf82
|
Removed handler between BluetoothConnectionManager and -RemoteSensorManager.
Toast messages should rather be sent from activities.
|
2020-04-27 07:17:46 +02:00 |
|
Dennis Guse
|
09fe35f1ca
|
Cleanup.
|
2020-01-11 19:31:58 +01:00 |
|
Dennis Guse
|
301a721329
|
Settings: localize no heart rate sensor selected.
|
2019-12-03 19:53:14 +01:00 |
|
Dennis Guse
|
3e40209d15
|
Refactoring.
|
2019-11-19 08:00:12 +01:00 |
|
Dennis Guse
|
54ff94f905
|
Settings: renamed Bluetooth sensor to "Heart rate".
|
2019-11-18 17:16:50 +01:00 |
|
Dennis Guse
|
e7a8c897a3
|
Settings: scan for Bluetooth sensors rather than using bonded devices.
Bonded devices do no provide information what services (e.g., heart rate) they support.
|
2019-11-17 18:24:02 +01:00 |
|
Dennis Guse
|
c59d1d87bd
|
Bluetooth: move getting adapter to BluetoothUtils.
|
2019-11-17 18:23:08 +01:00 |
|
Dennis Guse
|
57f66b77ab
|
Reorganized settings (sharedpreferences and keys); xml only.
|
2019-11-05 21:13:51 +01:00 |
|
Dennis Guse
|
353c958ae0
|
Moved accessing sharedPreferences into PreferencesUtils.
|
2019-11-03 01:44:46 +01:00 |
|
Dennis Guse
|
bc5ab0d7e5
|
Removed unnecessary RemoteSensorManagerFactory.
TrackRecordingService is only using BluetoothRemoteSensorManager and thus factory pattern is not required.
|
2019-11-03 00:21:51 +01:00 |
|
Dennis Guse
|
9d915b5640
|
Cleanup.
|
2019-11-03 00:13:14 +01:00 |
|
Dennis Guse
|
3bb9edb009
|
Connect to new sensor if settings are changed.
Fixed #52.
|
2019-10-30 07:48:29 +01:00 |
|
Dennis Guse
|
e52b1188a3
|
Cleanup.
|
2019-10-29 23:05:17 +01:00 |
|
Dennis Guse
|
d8e526923d
|
Removed RemoteSensorManager as abstraction was not used anymore.
|
2019-10-26 14:26:16 +02:00 |
|
Dennis Guse
|
3a6f417662
|
Added disconnect toast message.
|
2019-10-26 14:23:38 +02:00 |
|