I build my own QCopter but i have a huge problem to control him :). I tried a lot of stabilisation code from various projects, but none works good enough. My friend recommended me ArduPilot, because it’s software works good and smooth in a lot of projects. But repository is HUGE and code have mixed functionality so surgical excition only this part responsible only for calculate engines power to fly correctly is too hard for me.
TO THE POINT.
I need function or library where i provide to this pitch and roll angles from gyroscope, yaw, pitch, roll
and throttle where i want to fly and on output i gets 4 values (e.g. 0-1000) that represents engines power i must set to move (or hover in the air if pitch and roll are 0). Could anyone send me this? Project is blocked about month because of this problem
Sorry for my bad english