View Single Post
  #12   Spotlight this post!  
Unread 26-07-2006, 20:44
Qbranch Qbranch is offline
wow college goes fast.
AKA: Alex
FRC #1024 (Kil-A-Bytes)
Team Role: Alumni
 
Join Date: Apr 2006
Rookie Year: 2006
Location: Indianapolis
Posts: 1,174
Qbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond repute
Re: Sample PID code???

Quote:
Originally Posted by JBotAlan
I hate to sorta threadjack, but I'm also having problems with my PID code--I just can't get the thing to stop oscillating. I'll re-read over that whitepaper now that I have oodles of time, but I adjusted the terms according to the directions and got nowhere during the season. It works with minor disturbances, but seems to drift when it is sitting still, then detects the drift and reverses, into bigger and bigger oscillations.

I'll play with it probably next week, but right now I'm going to work on the camera code.

JBot

make sure you remove your deadband around neutral on the victors, don't just rely on your accumulator to do it since it will be accumulating error that doesn't exist.
__________________
Electrical Engineer Illini
1024 | Programmer '06, '07, '08 | Driver '08