Thread: Tuning PID Code
View Single Post
  #7   Spotlight this post!  
Unread 15-02-2006, 07:48
gnirts gnirts is offline
Suspicious pointer conversion
AKA: Robinson Levin
FRC #1648 (The Gearbox Gangstaz)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2005
Location: ATL
Posts: 116
gnirts will become famous soon enough
Re: Tuning PID Code

Quote:
Originally Posted by Eldarion
The integral term is used for long-term steady-state error compensation.
Unless your robot will sit in the middle of the field for the entire match, I don't think it's really necessary.
There will be much larger errors induced by motion than the (usually small) steady-state error.
So just PD is the way to go with the turret? What about steering (i.e. if both joysticks (we do tank drive) are set to the same value and the robot should be going straight, but the gyro tells me my angular rate is > 0 deg/s). I would like to compensate with some form of closed loop control, is PID/PD/P/PI/whatever the way to do this?

Thanks in advance,
Robinson
__________________
'... who are you, then?'
'I am part of that power which eternally
wills evil and eternally works good.'
Goethe, Faust