Commit Graph

13 Commits

Author SHA1 Message Date
Randy Mackay 1c1caa9374 AP_Winch: correct Daiwa line lengtha and speed scaling 2020-09-09 11:56:00 +09:00
Randy Mackay b66eaa0d53 AP_Winch: fix type parameter description 2020-08-07 21:55:07 +09:00
Randy Mackay 6bc2bea329 AP_Winch: rename Servo to PWM 2020-08-07 21:55:07 +09:00
Randy Mackay b84423c110 AP_Winch_Daiwa: fixes from peer review
simplify constructor
init calls backend init
fixup parsing to remove unnecessary INT32_MAX/MIN check
fixup comments
2020-08-07 21:55:07 +09:00
Randy Mackay a6c8bb06ff AP_Winch: fixes from peer review
removed init method
constify now_ms
fixed release_length method comment
fixup sprintf
2020-08-07 21:55:07 +09:00
Randy Mackay b0eb375920 AP_Winch: add daiwa driver 2020-08-07 21:55:07 +09:00
Randy Mackay 738480884d AP_Winch: rewrite driver
includes the following changes
move WINCH_ENABLED to library
add singleton
add pre_arm_check
backend gets init_input_and_output and read_pilot_desired_rate
remove use of wheel encoder
rename servo-with-encoder to just servo
add write_log
rename control_mode
add rc input processing
add acceleration limiting
2020-08-07 21:55:07 +09:00
Randy Mackay feb852a9fc AP_Winch: minor formatting fix 2020-08-07 21:55:07 +09:00
Peter Barker 4c9c5767ed AP_Winch: use enum-class for SRV_CHANNEL_LIMIT_TRIM and friends 2019-11-26 10:17:17 +11:00
Leonard Hall f913108efd AP_Winch: support for upgrade to PID object 2019-07-25 17:38:15 +09:00
Peter Barker 898a46fe0e AP_Winch: undefine PASS_TO_BACKEND convenience function 2018-08-17 21:14:57 +09:00
Randy Mackay 2614d2112a AP_Winch: remove redundant member
Also use get_rate_max method instead of config.rate_max member
2017-10-27 09:20:38 +09:00
Randy Mackay 2dfb6a94f2 AP_Winch: library to control winch
fixes after peer review:
renamed disable to relaxed
make parameters private
default type to 1
enabled method checks backend created
servo range initialised in init method
contrain rate-desired during position control
use set-output-limit instead of set-safety-limit
release_length accepts rate
2017-10-27 09:20:38 +09:00