|
PID programming help
We are reaching out to the CD community for with using the PID Eclipse C++ function for our bot. After spending the entire night with two students and two mentors we learned that the PID function has so many setups and sub functions that without any real examples we just don’t know what to code. So a lot of help would be greatly appreciated.
I can not post any of our code as it just doesn’t work but we will be using a Gyro as the normal input sensor but all we what back from the PID is a variable only as we will be using that variable in another part of our code that is not a motor function.
A sample of all the setup steps and a better explanation of what every thing does would be very helpful in understanding how a PID works.
Many thanks
|