Repurposed external gyro and made it multi-funcitonal.
required PWM on Ch8 to start the motor in RSC Mode moved up from 100 to 400. This is to facilitate two-stage switching of the motors with PWM>100 starting the tail motor, and PWM>400 starting the main motor.
Additional amendments by Randy
mission-4.1.18
Robert Lefebvre12 years agocommitted byRandy Mackay
AP_Int16_collective_min;// Lowest possible servo position for the swashplate
AP_Int16_collective_max;// Highest possible servo position for the swashplate
AP_Int16_collective_mid;// Swash servo position corresponding to zero collective pitch (or zero lift for Assymetrical blades)
AP_Int16_ext_gyro_enabled;// Enabled/Disable an external rudder gyro connected to channel 7. With no external gyro a more complex yaw controller is used
AP_Int16_tail_type;// Tail type used: Servo, Servo with external gyro, direct drive variable pitch or direct drive fixed pitch
AP_Int8_swash_type;// Swash Type Setting - either 3-servo CCPM or H1 Mechanical Mixing
AP_Int16_ext_gyro_gain;// PWM sent to the external gyro on Ch7
AP_Int16_ch7_pwm_setpoint;// PWM sent to Ch7 for ext gyro gain or direct drive variable pitch motor
AP_Int8_servo_manual;// Pass radio inputs directly to servos during set-up through mission planner
AP_Int16_phase_angle;// Phase angle correction for rotor head. If pitching the swash forward induces a roll, this can be correct the problem
AP_Int16_collective_yaw_effect;// Feed-forward compensation to automatically add rudder input when collective pitch is increased. Can be positive or negative depending on mechanics.