SRV_Channel: added support for rear motor tilt

This commit is contained in:
Andrew Tridgell 2020-12-18 21:53:43 +11:00
parent e94cf561d0
commit 7f3a851dd3
2 changed files with 6 additions and 0 deletions

View File

@ -84,6 +84,9 @@ public:
k_motor8 = 40,
k_motor_tilt = 41, ///< tiltrotor motor tilt control
k_generator_control = 42, ///< state control for generator
k_tiltMotorRear = 45, ///<vectored thrust, rear tilt
k_tiltMotorRearLeft = 46, ///<vectored thrust, rear left tilt
k_tiltMotorRearRight = 47, ///<vectored thrust, rear right tilt
k_rcin1 = 51, ///< these are for pass-thru from arbitrary rc inputs
k_rcin2 = 52,
k_rcin3 = 53,

View File

@ -120,6 +120,9 @@ void SRV_Channel::aux_servo_function_setup(void)
case k_flaperon_right:
case k_tiltMotorLeft:
case k_tiltMotorRight:
case k_tiltMotorRear:
case k_tiltMotorRearLeft:
case k_tiltMotorRearRight:
case k_elevon_left:
case k_elevon_right:
case k_vtail_left: