Commit Graph

3 Commits

Author SHA1 Message Date
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 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 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