@SuperJim wrote:
I was having trouble with ELEVON_OUTPUT and TRIM (see here http://discuss.ardupilot.org/t/elevon-output-and-rc-trim/15327)
Looking through the code, in ArduPlane/servos.cpp
/*
output mixer based on two channel output types
*/
void Plane::channel_output_mixer(uint8_t mixing_type, SRV_Channel::Aux_servo_function_t func1, SRV_Channel::Aux_servo_function_t func2)
{...
chan1->set_output_pwm(chan1_out); chan2->set_output_pwm(chan2_out);
}
Is there any reason that the last two line here do not call "set_output_pwm_trimmed" instead? I haven't tested it yet, but it looks like this would yield the desired functionality.
Posts: 1
Participants: 1