Re: Using custom mixes
« Reply #15 on: November 30, 2015, 11:31:27 pm »
One more slightly good reason to handle this in the mixing table is so that you can switch from quad X to quad + ("rotate virtual") without retuning PID's at all.  Quad + will have all 127's and quad X will have all 127x0.707=90.

I think this even works with asymmetric multicopters of any shape and size and any rotation angle you want.

A problem is that simple measuring doesn't handle asymmetrically distributed mass (e.g. heavy camera in front and heavy battery in back, but no added mass left-right).

External mag users, don't forget to rotate your aux mag too.

Re: Using custom mixes
« Reply #16 on: December 01, 2015, 08:58:30 am »
@all - Thank you for your answers. I understand it better now. :)

Re: Using custom mixes
« Reply #17 on: January 18, 2016, 04:58:56 pm »
Hi, very interesting information. Can you tell me were I can find the mixer settings of the predefined frame types?
I want to expand the tricopter mixer to tilt the front motors for yaw and forward (nick==0)..

Re: Using custom mixes
« Reply #18 on: January 19, 2016, 04:06:31 am »
If you set up for instance quad X and then select the custom tab and press save, it will populate and you can see what is there.

Then go back and select another you are interested in such as quad + or tricopter and select custom and press save...

Re: Using custom mixes
« Reply #19 on: January 19, 2016, 05:00:31 am »
Oh, thank you for this easy solution.

Re: Using custom mixes
« Reply #20 on: January 19, 2016, 05:25:55 am »
Be aware that this is just to see what the settings are.  Most people should probably not use Custom to actually fly.  I recall that there are some setup issues you would have to research to actually use Custom to fly.  You might look in the LP wiki.

Re: Using custom mixes
« Reply #21 on: January 19, 2016, 05:41:59 am »
I have to use the custom mixer for my project (3 motors, 2 servos). At my first try, I expected the values to be -100 .. 100%. This already works on my desk, but the servos does maximum 30°...
I'll lookup the wiki, good hint.

Re: Using custom mixes
« Reply #22 on: January 19, 2016, 06:24:18 am »
Each mixer value is represented as a signed 8bit integer in the code, hence the -128 - 127 range.
« Last Edit: January 19, 2016, 06:28:52 am by slievar »

Re: Using custom mixes
« Reply #23 on: January 19, 2016, 02:58:10 pm »
At my first try, I expected the values to be -100 .. 100%. This already works on my desk, but the servos does maximum 30°...

Maximum of 30 degrees may be normal depending max roll rate, roll rate, and PIDs.  I remember setting up Attitude mode on a fixed wing on CC3D years ago and that ailerons did not get full servo travel with full stick, but it did get full servo travel if I forced roll in the wrong direction when hand testing.

Re: Using custom mixes
« Reply #24 on: January 20, 2016, 08:01:25 pm »
I've attached a screenshot of the mixer and it seems to work.
I want to support 2 flight basic modes

1. normal tricopter: curve 2 is not used, input to curve 2 is 0, the servos are mounted mirrored, they are working in different directions for yaw only
2. tilt mode: works only stabilized, nick is fixed to 0, input for curve 2 comes from the nick-stick and sends tilt overlay to servos (same direction).

The problem: I've to switch the mode in the transmitter, so the channels for nick and accessory1 are swapped. I think this will work, but the mixer is split in a FC part and in a transmitter part. Do you have an idea for a better solution?

Re: Using custom mixes
« Reply #25 on: January 23, 2016, 04:27:45 am »
I have never done a tricopter.

If you truly just want to swap those RC controls, maybe you could rerun the transmitter wizard and move the other control this time (nick for acc1 and acc1 for nick)?

Or if you are using PWM inputs, just swap the two inputs.

Re: Using custom mixes
« Reply #26 on: January 23, 2016, 10:28:45 am »
Tricopters are easy, even the default settings are ok for different sizes.
Tilting the rotors is different, not new, but unusual.
The Taranis transmitter can easily swap channels with a switch - thats what I'm doing now.
I use s.bus. Maybe I switch to ppm, if I'm running out of com ports.

Re: Using custom mixes
« Reply #27 on: January 24, 2016, 03:16:36 pm »
It drives me crazy..
I have still trouble with "Curve 2". It's source is assigned to "Accessory1" (Channel 8 ). Accessory1 has a range from 1000us to 2000us, center position is 1500. I want the servo mixed with this "Curve 2" to get the same signal, 1000 .. 2000us, center position 1500us.
I've selected "Curve 2" to be linear from -1 to +1. The mixer can be seen on the picture 3 posts above.
The result is:
Stick=1000 -> Servo=2000
Stick=1250 -> Servo=1500
Stick=1500 -> Servo=1000
Stick=1750 -> Servo=1500
Stick=2000 -> Servo=2000
I've tried several setting of "Curve 2", but never got the expected 1:1 result. What is wrong?

Re: Using custom mixes
« Reply #28 on: January 24, 2016, 04:50:01 pm »
If I change the mixer type from "servo" to "Accessory1", the stick will be mapped correct, but the yaw signal is not longer mixed :-(

Re: Using custom mixes
« Reply #29 on: January 24, 2016, 05:10:11 pm »
Obviously it can be done, show an older taulabs implementation. I think the mixer is nearly the same - or am I worng?