Commit Graph

22 Commits

Author SHA1 Message Date
Peter Barker 9de01998c3 AP_WheelEncoder: allow compilation with HAL_LOGGING_ENABLED false 2024-01-17 18:25:55 +11:00
divyateja04 24eb35f0f6 AP_WheelEncoder: quadrature spelling changed 2021-10-27 16:03:06 +11:00
Andrew Tridgell 8b388f80c5 AP_WheelEncoder: replaced PixhawkAUX1 with AUX1
not everything is a pixhawk
2021-07-22 07:48:12 +10:00
Andrew Tridgell d0a26b6dc6 AP_WheelEncoder: default pins to -1 2021-07-22 07:48:12 +10:00
Patrick José Pereira 7b6f1225ba AP_WheelEncoder: Add missing const in member functions
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2021-02-03 18:45:14 +11:00
Randy Mackay 3984cdd823 AP_WheelEncoder: add singleton 2020-12-01 14:01:17 +09:00
Randy Mackay 6677c807ae AP_WheelEncoder: add POS param range of 5m 2020-02-01 08:46:03 +09:00
Peter Barker e32d8ecda1 AP_WheelEncoder: add SITL backend
AP_WheelEncoder: added update function for SITL quadrature encoder
2019-10-07 07:31:51 +11:00
Tom Pittenger 66778dbf63 AP_WheelEncoder: move wheelEncoder logging to library 2019-02-06 10:41:59 +09:00
Pavlo Kolomiiets 2c909cf83b AP_WheelEncoder: Wheel encoder's offsets are properly propagated to EKF3. 2019-01-23 17:01:13 +09:00
Peter Barker 3ecb785f0f AP_WheelEncoder: remove use of never-set AP_HAL_PX4 and AP_HAL_VRBRAIN 2019-01-18 09:53:44 +11:00
Michael du Breuil b38200a960 AP_WheelEncoder: Fix integer division limiting wheel encoder accuracy
CID: 318646
2018-11-06 12:19:15 +09:00
Randy Mackay 912dd0c4cc AP_WheelEncoder: update parameter descriptions 2018-08-27 16:44:33 +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
Peter Barker d3877bf2d0 AP_WheelEncoder: remove un-needed initialisations
Should only be created statically
2018-07-23 13:52:34 +09:00
Randy Mackay ec98cab262 AP_WheelEncoder: hide parameters by default 2018-02-12 12:16:41 +09:00
Randy Mackay 2c7b9d9cf7 AP_WheelEncoder: add get_delta_angle
The total angular change measured by the wheel encoder in radians
2017-07-27 14:19:08 +09:00
Randy Mackay a53e254bd0 AP_WheelEncoder: replace scaling with CPR and radius
CPR is the wheel encoder's counts per revolution of the wheel
radius is the radius of the wheel in meters
2017-07-27 14:19:08 +09:00
Randy Mackay cd71984705 AP_WheelEncoder: 3d position offset 2017-07-27 14:19:08 +09:00
Randy Mackay d61731cdd6 AP_WheelEncoder: minor formatting fix 2017-07-14 07:27:26 +09:00
Randy Mackay d356e60269 AP_WheelEncoder: library to read from wheel encoders 2017-07-14 07:27:26 +09:00