Skip to content

Tri with Gimbal not possible? #11

@GoogleCodeExporter

Description

@GoogleCodeExporter
I was trying arround to get Tricopter and Gimbal work at the same time without 
luck, after looking in the mixer.c i found that:

void writeServos(void)
{
    if (!useServo)
        return;

    switch (mcfg.mixerConfiguration) {
        case MULTITYPE_BI:
            pwmWriteServo(0, servo[4]);
            pwmWriteServo(1, servo[5]);
            break;

        case MULTITYPE_TRI:
            pwmWriteServo(0, servo[5]);
            break;

        case MULTITYPE_AIRPLANE:

            break;

        case MULTITYPE_FLYING_WING:
        case MULTITYPE_GIMBAL:
            pwmWriteServo(0, servo[0]);
            pwmWriteServo(1, servo[1]);
            break;

        default:
            // Two servos for SERVO_TILT, if enabled
            if (feature(FEATURE_SERVO_TILT)) {
                pwmWriteServo(0, servo[0]);
                pwmWriteServo(1, servo[1]);
            }
            break;
    }
}

If i see that right Tricopter with Gimbal is not possible at the moment right?
In general that would be possible, as there are enought output pins right?

Original issue reported on code.google.com by johannes...@gmail.com on 22 Mar 2013 at 2:13

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions