|
Re: Help with PID
If these are drive motors, or are otherwise oriented in opposite directions, you need to either use the invertedMotor() method during initialization on one side, or use negative PID constants as well as using negative speed settings in your drive functions. The advantage of using invertedMotor() is that you do it once, and don't worry about what is positive or negative anywhere else.
__________________
If you can't find time to do it right, how are you going to find time to do it over?
If you don't pass it on, it never happened.
Robots are great, but inspiration is the reason we're here.
Friends don't let friends use master links.
|