From 007434cdacf4fd61d3e1bf660f9fc1584f4a967a Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Mon, 26 Mar 2018 10:22:53 +1100 Subject: [PATCH] AC_Sprayer: move Copter CHn_OPT to RC_Channel RCn_OPTION --- libraries/AC_Sprayer/AC_Sprayer.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libraries/AC_Sprayer/AC_Sprayer.h b/libraries/AC_Sprayer/AC_Sprayer.h index 94f59de075..c8e77516bd 100644 --- a/libraries/AC_Sprayer/AC_Sprayer.h +++ b/libraries/AC_Sprayer/AC_Sprayer.h @@ -3,9 +3,9 @@ /** The crop spraying functionality can be enabled in ArduCopter by doing the following: - - set CH7_OPT or CH8_OPT parameter to 15 to allow turning the sprayer on/off from one of these channels - - set RC10_FUNCTION to 22 to enable the servo output controlling the pump speed on servo-out 10 - - set RC11_FUNCTION to 23 to enable the servo output controlling the spinner on servo-out 11 + - set RC7_OPTION or RC8_OPTION parameter to 15 to allow turning the sprayer on/off from one of these channels + - set SERVO10_FUNCTION to 22 to enable the servo output controlling the pump speed on servo-out 10 + - set SERVO11_FUNCTION to 23 to enable the servo output controlling the spinner on servo-out 11 - ensure the RC10_MIN, RC10_MAX, RC11_MIN, RC11_MAX accurately hold the min and maximum servo values you could possibly output to the pump and spinner - set the SPRAY_SPINNER to the pwm value the spinner should spin at when on - set the SPRAY_PUMP_RATE to the value the pump servo should move to when the vehicle is travelling 1m/s expressed as a percentage (i.e. 0 ~ 100) of the full servo range. I.e. 0 = the pump will not operate, 100 = maximum speed at 1m/s. 50 = 1/2 speed at 1m/s, full speed at 2m/s