View Single Post
  #5   Spotlight this post!  
Unread 17-07-2005, 20:14
Jack Jones Jack Jones is offline
Retired
no team
 
Join Date: Jan 2003
Rookie Year: 2003
Location: Waterford, MI
Posts: 964
Jack Jones has a reputation beyond reputeJack Jones has a reputation beyond reputeJack Jones has a reputation beyond reputeJack Jones has a reputation beyond reputeJack Jones has a reputation beyond reputeJack Jones has a reputation beyond reputeJack Jones has a reputation beyond reputeJack Jones has a reputation beyond reputeJack Jones has a reputation beyond reputeJack Jones has a reputation beyond reputeJack Jones has a reputation beyond repute
Re: Need help with Gyro = Analog Devices ADXRS150EB

Quote:
Originally Posted by Matt Krass
Pure speculation here, but I seem to remember something about the gyro code locking the analog inputs to channel 1 for speed or something like that, perhaps in adding the pots you've accidentally disabled the sampling code? I could be way off so I wouldn't take it with too much weight, but maybe Kevin or Mike could share some insight on this one?

Well, there is something going on there. With pots disconnected, Angle counts negative to -1200 in the time it takes the timer to count 5K. With pots hooked up, Angle counts positive to 283 in the same amount of time. In either case, rotating gyro had no effect on the outcome. Was going to launch autonomous with pots disconnected, but it started to rain. Driveway test site

Been through most of Kevin's notes & code, which my kids had made use of to begin with. Nothing struck me as out of place; except that Start_Gyro_Bias_Calc()
Stop_Gyro_Bias_Calc()
wasn't called. Will give that a go, but seems to me that it's just fine tuning, not a show stopper.