View Single Post
  #7   Spotlight this post!  
Unread 12-02-2009, 17:25
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,563
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Problems with using 330's goal tracking code

Quote:
Originally Posted by windell747 View Post
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.
Reply With Quote