sieuwe1 / AR-Drone

Code for making a AR drone 2.0 fly above a red circle all by itself!
37 stars 14 forks source link

a PID controller for quadcopter drone #7

Open unfixedbug opened 3 years ago

unfixedbug commented 3 years ago

can you give a pid controller script in order to stabilise the drone or to calculate the pwm files and throttle values

sieuwe1 commented 3 years ago

Hi

The drone currently uses a P controller. To use PID you can use this library https://pypi.org/project/simple-pid/. I used it before and works great. I currently don't have time to implement it myself. Good luck.

Greetings

Sieuwe