Quote:
Originally Posted by windell747
When I ran the code out of the box from the team 330 posting, I figured that since our bots are similar in size, mass and drive configuration (tank drive) that their PID gains would be close to what I would want. So when I saw the bot oscillating, I immediately thought that it was a code problem. Just for confirmation, the out of the box gains in the program was proportional=0.5, derivative=integral=0.0.
|
The out of the box settings were 0.05 for P, 0 for the others. Due to a few mistakes, the settings in the code didn't match the settings from the video. I think the gains might have been the very, but the maximum output values were higher in the code then the video. I figured that most people would have to tune the values anyway, so I didn't spend the extra time to recreate the ones from the video. Sorry for leading you down the wrong path.