Close

Starting to implement the PID Controllers

A project log for Star Wars training droid

Flying training droid that interacts with its opponent.

roeland54Roeland54 04/08/2014 at 20:320 Comments

To have a nice and stabile control of the movement of the quadcopter. We will use PID-controllers for the different movements. There will be 4 of them to have full control over the quad. (throttle, pitch, roll, yaw)

The PID-controller calculates the error between the setpoint (wanted position) and the current position and gives a output value that we kan use to adjust the position of the quadcopter.

We found some code on the web to start with.
After some trail and error we managed to get the PID-controller to react to a slider in a test application.

Discussions