iNavFlight / inav-configurator

GNU General Public License v3.0
589 stars 318 forks source link

Servo tab not allowing mixer source inversion #168

Closed digitalentity closed 6 years ago

digitalentity commented 7 years ago

We don't have access to source inversion for servo mixer inputs.

image

I suggest replacing the marked area (which is channel to forward) with mixer source inversion flags.

    INPUT_STABILIZED_ROLL = 0,
    INPUT_STABILIZED_PITCH,
    INPUT_STABILIZED_YAW,
    INPUT_STABILIZED_THROTTLE,
    INPUT_RC_ROLL,
    INPUT_RC_PITCH,
    INPUT_RC_YAW,
    INPUT_RC_THROTTLE,
    INPUT_RC_AUX1,
    INPUT_RC_AUX2,
    INPUT_RC_AUX3,
    INPUT_RC_AUX4,
    INPUT_GIMBAL_PITCH,
    INPUT_GIMBAL_ROLL
oleost commented 7 years ago

I'm example using aux to servo to be able to trim in flight by adjusting servo midpoint with aux channel.

Also how are one able to control which aux Channel to move servo gimbal feature if you remove it?

digitalentity commented 7 years ago

@oleost good point. Then we need something else for source inversion config - smix reverse in CLI

oleost commented 7 years ago

But what do you need it for? We have servo reverse by setting rate -100 ?

digitalentity commented 7 years ago

It's not servo reversing, it's servo mixer input reversing.

EDIT: This is needed on a flying wing when i.e. roll is handled correctly, but pitch is reversed. Servo reversing won't fix that - you need either to mechanically reverse the servos (switch them), reverse pitch mixing by smix or simply reverse pitch input by smix reverse

oleost commented 7 years ago

Yes it's reversing the output from mixer to servo if I understand correctly.

digitalentity commented 7 years ago

@oleost no, it's reversing the input:

RC/Stabilisation -> smix reverse -> servo mixer -> servo rate -> servo

It's like reversing a stick on your TX but internally for FC

oleost commented 7 years ago

Yes what I meant.

DzikuVx commented 6 years ago

With new mixer this is not longer relevant