Hi guys,
Need a little bit of help.
Im currently trying to make my control surface on my Rite Zephyr II such that they are flaperons. Basiclly there are four surfaces, 2 on each side and with some searching in this forum i have managed to make them work as Elevons .
I have the inner board left and right elevons on CH1 and Ch2 of the APM2.5 output and the outer left and right board on Ch 7 and 8 of the APM 2.5 Outputs and i manage to get Ch 7 and Ch 8 to duplicate the CH1 and 2 with this few linees in the attitude tab of Arduino.
g.rc_7.radio_out=g.channel_pitch.radio_max.get()+(-1*(g.channel_pitch.radio_out g.channel_pitch.radio_min.get()));
APM_RC.OutputCh(CH_7, g.channel_pitch.radio_out);//send to servos
g.rc_8.radio_out=g.channel_roll.radio_max.get()+(g.channel_roll.radio_out-g.channel_roll.radio_min.get());
APM_RC.OutputCh(CH_8, g.channel_roll.radio_out);//send to servos
So now im stuck at how to add some lines to make them become a 2 position flap when i flick my Aux 2 switch. Prefably Ch1 and Ch2 works as normal flaperons but Ch7 and Ch 8 should go in the opposite direction(like spoilers) while still maintaining my pitch and roll control when activated.
Some suggestions would be greatly appreciated!
Cheers,
Rusydi
Replies