I don’t/can’t know what the cause might be. I’d suggest providing some very basic inputs (like 0,0,1 as the down vector and 1,0,0 as the north vector). The result should be the identity matrix I think.

If you can get your most basic tests to parse, go from there & good luck.

Cheers, Sam

]]>I’m tryin to apply your code in matlab, however, when I calculate cross product for the north vector it is not perpendicular to east vector. I’ve checked all calculations, but I have no ideia, why is this happen.

Do you now why? ]]>

thanks for you help!

]]>but when in the throttle and yaw the value true in the range 1000 – 1500 but when i increase the sticks level the value become very big or negative ]]>

I didn’t understand everything…Do you have this code for Arduino? Thanks!!

]]>I’d like to discuss this code with you, can you email me directly?

Kind regards,

Liz ]]>

My little library It can take two inputs and transform them into two simple PWM outputs.

There is also an auto-calibration system, so that different max/min values can be recorded as needed.

If anyone want to use it, it can be found on GitHub here: https://github.com/Atom058/AtmelRC

]]>