Hey guys! After weeks of work, finally I successfully am able to read all the values from the mpu6050 module with my Arduino Uno and convert them.
My angles are x, and y (I make it so the output is from -180° to 180°) and the °/s is GyX and GyY.( In °/s)
( I didn't use the 3rd axis as none of them were accurate and plan on adding magnometer later )
Bonus doubt: I don't know how the adjust the values in the complimentary filter, is there any method or is it just trial and error?
I want the drone to fly on stabilise mode.
I do have some experience in using PID to make a self balancing robot.
But now I don't know how to use both angles and °/s and implement it in the PID algorithm.
Can someone help me with it.