|
Fighting PID
I have yet to try this, but I'm curious...
I want to control the facing direction of the robot with a gyro and PID AND I want to control the travel direction of the robot with an accelerometer and PID.
Will these two PIDs fight each other? If so, how would I program around that? Also, what's a good way to program it, considering I can only use one pidWrite() function per class?
|