Commit Graph

15 Commits

Author SHA1 Message Date
jackhong12 4a4f361a17 all: use CLASS_NO_COPY() macro 2022-10-04 11:23:04 +11:00
Peter Barker 80c3415419 AP_WheelEncoder: tidy includes 2022-05-03 09:14:58 +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
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
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 21201b8816 AP_WheelEncoder: do not permit copies 2018-08-21 20:34:01 +09:00
Randy Mackay 1531801c83 AP_WheelEncoder: minor comment fix 2018-01-04 14:08:17 +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 d356e60269 AP_WheelEncoder: library to read from wheel encoders 2017-07-14 07:27:26 +09:00