Using MultiWii Program

I am making a drone project and I have taken all the wiring and coding from this channel.

Part one (wiring) :

Part two (code) :

So I am now facing the problem in the balance system.
I couldn't understand how to setup the balance system to work.
I could see a lot of numbers in the program but couldn't understand a thing

The front left and right, and the rear left wings work more powerful that the rear right one when controlling it from Bluetooth.

This mistake make the drone flip and not fly the right way.

I have tested the power of the motor's with

analogWrite(pin, value);

And all the motors give the same power and could lift from the ground without doing flips
Meaning all the motors give the same output and there is no problem with the wiring.

So I am guessing that the problem is with the balance system.
Which is configured in program called MultiWii.

What do I need to do to make it balance?

Is it documented?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.