Commit Graph

10 Commits

Author SHA1 Message Date
Peter Barker 642d15582a AP_WheelEncoder: allow more libraries to compile with no HAL_GCS_ENABLED 2023-09-05 22:23:51 +10:00
Michał 6f7abab036 AP_WheelEncoder: fix WheelEncoder_Quadrature timestamp.
Convert timestamp to ms from us.
2022-06-07 09:59:27 +10:00
divyateja04 d82ad94b7e AP_WheelEncoder: remove empty constructors 2021-10-26 22:10:21 +11:00
murata c713a984da AP_WheelEncoder: Change the tab code to whitespace 2020-04-27 09:32:15 +09:00
Andrew Tridgell 30d5ff2d3d AP_WheelEncoder: set pin to input before attaching interrupt
this fixes input on AUX6 on CubeBlack
2018-11-08 18:25:14 +11:00
Peter Barker 254ef4f0ae AP_WheelEncder: remove dead code 2018-10-01 09:34:52 +09:00
Randy Mackay 6b89c24cc6 AP_WheelEncoder: calculate rate from last iteration 2018-08-27 16:44:33 +09:00
Peter Barker d366842d15 AP_WheelEncoder: move to using HAL's attach_interrupt methods
AP_WheelEncoder: add error reporting for attaching of interrupts

AP_WheelEncoder: use detach_interrupt method

AP_WheelEncoder: correct initialisation of wheelencoder instances

AP_WheelEncoder: make update_phase_and_error_count non-static

AP_WheelEncoder: use (uint8_t)-1 in place of 255
2018-08-21 20:34:01 +09:00
Randy Mackay eaf8aad5ad AP_WheelEncoder: last_reading is last update time instead of system time 2017-07-27 14:19:08 +09:00
Randy Mackay d356e60269 AP_WheelEncoder: library to read from wheel encoders 2017-07-14 07:27:26 +09:00