mageshms / arducopter

Automatically exported from code.google.com/p/arducopter
0 stars 0 forks source link

Is this bug in code setup.pde for TRI_FRAME #137

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Arducoper NG or ACM?

ACM

In setup.pde, function setup_motors()...
I saw that 
...
        }else if(g.frame_type == TRI_FRAME){

            if(g.rc_1.control_in > 0){
                motor_out[CH_1]     = out_min;

            }else if(g.rc_1.control_in < 0){
                motor_out[CH_2]     = out_min;
            }

            if(g.rc_2.control_in > 0){
                motor_out[CH_4]     = out_min;
            }

            if(g.rc_4.control_in > 0){
                g.rc_4.servo_out    = 2000;

            }else if(g.rc_4.control_in < 0){
                g.rc_4.servo_out    = -2000;
            }

            g.rc_4.calc_pwm();
            motor_out[CH_3]     = g.rc_4.radio_out;
        }
...
For Tri Frame we are using motor_out[CH_7] to control yaw, but here is CH_3, is 
this a bug?

Thanks,
Duy

Original issue reported on code.google.com by duypha...@gmail.com on 13 May 2011 at 7:03

GoogleCodeExporter commented 8 years ago
Thanks!

Original comment by jasonshort on 13 May 2011 at 7:16