Hey guys,
I am trying to make a drone using a arduino uno, mpu6050, and a hc-12 wireless module.
Progress:I am able to receive values from the transmitter (throttle1000-2000, pithc and roll -25 to +25 and yaw -50 to +50). I am able to read the angles of the drone and rotaional rate.
Problem: I am not sure how to program the pid controller.
I have done a self balancing robot using only the angles. I am not sure how i will be using both rotaional rate and angle of the drone and the angle input from the transmitter into the pid controller and get a desired output.
Thanks.