Commit Graph

358 Commits

Author SHA1 Message Date
Jaap van Ekris 025c41f5d6
Update attribution.md 2023-02-28 20:50:04 +01:00
Jaap van Ekris f31372b27c
Better wording 2023-02-21 12:45:03 +01:00
Jaap van Ekris 765d975b04
Better description of stroke detection 2023-02-21 12:42:31 +01:00
Jaap van Ekris c029a42d37
Update to accommodate the new peripheral settings
Update to respect new peripheral settings introduced with the new peripheralmanager
2023-02-15 16:53:54 +01:00
Jaap van Ekris 1ae7128dc7
Added missing dependencies
Added missing dependencies: queue-fifo@0.2.6, dbly-linked-list@0.3.4, lodash.isequal@4.5.0, @types/w3c-web-usb@1.0.6.
2023-02-15 16:37:44 +01:00
Jaap van Ekris 7b4a716eb3
Added incyclist-ant-plus as dependency
Added incyclist-ant-plus as dependency
2023-02-15 16:19:24 +01:00
Jaap van Ekris 1cadf0008e
Added a description of the new ANT+ functionality
Added a description of the new ANT+ functionality
2023-02-15 16:11:04 +01:00
Jaap van Ekris 3e3cd7b838
Added ANT+ functionality and BLE improvements
Extend ANT+ peripherals and redesign inner structure of the peripheral management
2023-02-15 14:28:39 +01:00
Jaap van Ekris bef044110d
Added link to documentation 2023-02-14 14:23:44 +01:00
Jaap van Ekris 674df2f6fc
Added link to rower settings manual 2023-02-14 14:19:33 +01:00
Jaap van Ekris 3de19c08c7
Fixed a Lint error 2023-02-14 10:48:54 +01:00
Jaap van Ekris f28580fef3
Improvement of the stroke detection
Improved the explanation of the stroke detection algorithm based on https://github.com/laberning/openrowingmonitor/issues/124
2023-02-14 10:45:16 +01:00
Abász aa3b39f86a Change PM5 serial to comply with C2 standards
The PM5 serial number should start with "43" (in line with consistent HW
and SW revision)
2023-02-12 22:55:26 +01:00
Abász 3f129ceec2 Add peripheral shutdown for app termination
In order to avoid errors with peripheral processes on the next startup
(e.g. ANT Stick getting stuck) graceful explicit shutdown of these is
necessary on app termination.
2023-02-12 22:52:02 +01:00
Abász 35303547e2 Fix error on simultaneous ANT peripheral startup
Move the peripheral startup sequence to an async function to ensure
proper startup order and to avoid multiple simultaneous calls to the
ANT stick causing app crash.
2023-02-12 22:40:16 +01:00
Abász 405bcab55a Code cleanup
Change logging level for the broadcast data of the ANT+ FE peripheral.
Fix callback signature mismatch in bleno `stopAdvertising()` method
2023-02-12 22:40:16 +01:00
Abász a0686150a2 Update button layout styling for the GUI
Restyle the button layout to be responsive and fix potential overflows
2023-02-12 22:40:16 +01:00
Abász cd1ff3d001 Fix crash when peripheral mode changed too quickly
Add boolean guard flag to fix potential crash when user clicks the
peripheral change buttons without waiting for the first request to
complete in the GUI (i.e. clicks too quickly).
2023-02-12 22:40:16 +01:00
Abász 4f62b2322e Add ANT+ profile manager
- Implement an ANT+ profile manager similar to BLE
- Implement ANT+ Fitness Equipment profile to be able to broadcast data
- Add button to the UI to scroll through the ANT+ profiles
2023-02-12 22:40:16 +01:00
Abász e938f5d8a0 Fix app crash when bleMode is set to OFF initially
Add guard clauses to notifyMetric call if bleMode is off.
Set blePeripheral and hrmPeripheral to undefined to avoid repeated call
to destroy() (i.e. calling destroy() on an already destroyed peripheral)
2023-02-12 22:40:16 +01:00
Abász 3bb0229d3a Move to new ant-plus library
Move to a new, still maintained, ant-plus library that solves the
connection dropout issue experienced with the original when using HRM as
well as that provides a cleaner interface to manage the ANT device.
2023-02-12 22:40:16 +01:00
Abász 17d6a74332 Enable rotation of the heart rate monitor modes
Add button to the GUI so the user can switch between heart rate monitor
modes (BLE, ANT, OFF). Update peripheralManager to handle switching and
implement necessary changes to the structure of the peripheralManager.
2023-02-12 22:40:16 +01:00
Abász a3cd6e6f39 Add OFF mode to BLE peripheral and refactoring
Add OFF mode to be able to turn BLE advertisement off. Rename
switchPeripheralMode function to include BLE in order to be more
descriptive.
2023-02-12 22:40:16 +01:00
Abász 7ef338d856 Refactor heart rate peripherals
Refactor ANT manager to be a central class managing the ANT stick state.
This state could be used for future implementation of other ANT profiles
and the peripheralManager should be responsible for creating once needed
2023-02-12 22:40:16 +01:00
Abász 3edfe22434 Refactor and restructure peripheral related code
- Create a new main folder to include ANT and BLE
- Move peripheralManager with other files with shared information
- Refactor static notify characteristics
- Refactor code to be more uniform across the different peripherals
2023-02-12 22:40:16 +01:00
Jaap van Ekris 0c90c18382
Small wording changes 2023-01-27 16:11:05 +01:00
Jaap van Ekris 198181dfeb
Updated to help people further
Added new insights based on https://github.com/laberning/openrowingmonitor/discussions/115 and https://github.com/JaapvanEkris/openrowingmonitor/discussions/11
2023-01-27 16:06:43 +01:00
Jaap van Ekris 2e3d6a4ca7
Added an example of a bouncing sensor
Added an example of a bouncing sensor
2023-01-27 16:00:30 +01:00
Jaap van Ekris ca3dc3aa2a
Added depiction of maximumTimeBetweenImpulses
Added depiction of maximumTimeBetweenImpulses to illustrate pause behaviour
2023-01-27 15:29:33 +01:00
Jaap van Ekris f737fdb04d
Fixed a bad example config
The example configuration pointed to a renamed rower....
2023-01-22 14:38:44 +01:00
Jaap van Ekris 60350f3dc7
Added recommendation of OS Lite 64Bit 2023-01-18 14:11:19 +01:00
Jaap van Ekris 6e5089d4a3
Update Supported_Rowers.md 2023-01-18 09:30:10 +01:00
Jaap van Ekris 704c2faaae
Removed the Sportplus as an option 2023-01-18 09:29:28 +01:00
Jaap van Ekris c82a97796c
Fixed a table error 2023-01-17 23:53:41 +01:00
Jaap van Ekris 0ba86d891c
Fixed Lint errors
Fixed Lint errors
2023-01-17 23:49:00 +01:00
Jaap van Ekris 47316d5027
Creation to support users 2023-01-17 23:45:07 +01:00
Jaap van Ekris 89e534110e
Added a link to supported rowers 2023-01-17 23:37:56 +01:00
Jaap van Ekris 2e50a48e61
Added a list of known machines 2023-01-17 11:48:28 +01:00
Jaap van Ekris b4739536d2
Added link to software setup
Added link to software setup
2023-01-17 11:14:47 +01:00
Jaap van Ekris f7aae7b6e0
Added reason to modify hardware setup
Added reason to modify hardware setup in documentation
2023-01-16 17:21:03 +01:00
Jaap van Ekris 3e2f954205
Added paragraph about handle-based sensors
Added a paragraph about handle-based sensors.
2023-01-16 17:18:57 +01:00
Jaap van Ekris 6eed136caf
Move functionality to the Finite State Machine
On hindsight, the approach of letting the FSM handle all state transitions explicitly is much clearer
2023-01-16 12:18:46 +01:00
Jaap van Ekris 36953315bd
Move functionality to the Finite State Machine
On hindsight, the approach of letting the FSM handle all state transitions explicitly is much clearer
2023-01-16 12:18:39 +01:00
Jaap van Ekris 675c85cb59
Added restart limit to prevent bootloop
Added a restart limit to the service definition to prevent an infinite bootloop
2023-01-15 22:09:27 +01:00
Jaap van Ekris f1e7d086df
Added restart limit to prevent bootloop
Added a restart limit to the service definition to prevent an infinite bootloop
2023-01-15 22:09:23 +01:00
Jaap van Ekris 7251a8144d
Douncheck with 0.8.4 settings
Checked that the sanity check would fix all mew variables, allowing a 0.8.4 config file to be used with V1Beta without any crashes or issues.
2023-01-15 21:52:55 +01:00
Jaap van Ekris d67745c5df
Fixed Line error
Fixed Line error
2023-01-15 21:45:25 +01:00
Jaap van Ekris 75e2455b10
Added workout management to RowingStatistics
Added workout management to the role of RowingStatistics
2023-01-15 21:37:25 +01:00
Jaap van Ekris f628a6e791
Updates to fix review comments
Updates to fix review comments
2023-01-15 21:18:43 +01:00
Jaap van Ekris 758f2d25ea
Added Intervals.icu compatibility
Added Intervals.icu to the list of compatible users of tcx files.
2023-01-15 17:57:13 +01:00