Gyro Sensors and PID controllers

Hey Guys!

OK, we all know that gyro sensors are devices that sense angular velocity, however is it possible to use a PID controller along with the gyro sensors? This way the PID constantly checks the gyro sensor’s error and corrects it immediately.

If this is even possible, how would i program this to work? (I am currently using Labview)

Thanks for all your help!!

Of course you can! :slight_smile:

We always use a gyro with PID to drive straight, you can follow our last years code to figure it out. If you have any questions, please ask!

Link:
http://www.chiefdelphi.com/media/papers/2874

does anyone have this for C++?

thanks in advance.

Thank you so much! Very Helpful!