Page 1 of 1

Code for Individual motor control

Posted: Fri Apr 10, 2015 11:10 pm
by nrg0004
I understand that we can give the thrust desired, roll desired, pith desired and yaw desired. The firmware has code so that it will control the individual motors so that the IMU tries to reads the desired values and the barometer reads a height value (corresponding to the thrust).

But My question is where inside the firmware (in which program), is the logic that manipulates the desired orientation values to the motor speeds. Can someone point me which C program I should look into. I would greatly appreciate if they could point me to the actual logic written in the code.

Thank you.

Re: Code for Individual motor control

Posted: Mon Apr 13, 2015 6:38 am
by Slaxx

Re: Code for Individual motor control

Posted: Thu Apr 23, 2015 5:52 pm
by nrg0004
I have looked at those codes but still don't understand how the values we give are translated to something which the code understands. Can you pin-point the exact part of these programs I should look ?