applets
winch-control
Allows the winch to be deployed or retracted at a fixed speed using an auxiliary switch
| Version | 1.0.0 |
|---|---|
| Date | 2026-05-18 |
| Min firmware | 4.5 |
| Vehicle | all |
/lua_ardupilot_scripts/applets/winch-control.lua
Download .lua
Winch Control
Allows the winch to be deployed or retracted at a fixed speed using an auxiliary switch
Parameters
WINCH_RATE_UP : rate (in m/s) when retracting line WINCH_RATE_DN : rate (in m/s) when deploying line WINCH_RC_FUNC : RCn_OPTION number to use to control winch rate. Default is 300 (Scripting1)
How To Use
- set RCx_OPTION to 300 to enable controlling the winch rate from an auxiliary switch
- set WINCH_RATE_UP to the fixed retract speed (in m/s)
- set WINCH_RATE_DN to the fixed release speed (in m/s)
- raise the RC auxiliary switch to retract the winch's line
- lower the RC auxiliary switch to deploy the winch's line
- center the RC auxiliary switch to stop the winch
Alternatively Mission Planner's Aux Function screen can be used in place of an actual RC switch