Browse Source

SRV_Channel: added support for rear motor tilt

zr-v5.1
Andrew Tridgell 4 years ago
parent
commit
7f3a851dd3
  1. 3
      libraries/SRV_Channel/SRV_Channel.h
  2. 3
      libraries/SRV_Channel/SRV_Channel_aux.cpp

3
libraries/SRV_Channel/SRV_Channel.h

@ -84,6 +84,9 @@ public: @@ -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,

3
libraries/SRV_Channel/SRV_Channel_aux.cpp

@ -120,6 +120,9 @@ void SRV_Channel::aux_servo_function_setup(void) @@ -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:

Loading…
Cancel
Save