View Single Post
  #10   Spotlight this post!  
Unread 25-01-2008, 16:54
Jake M Jake M is offline
void* Jake;
FRC #1178 (DURT)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Missouri
Posts: 118
Jake M has a spectacular aura aboutJake M has a spectacular aura about
Re: Gyro inconsistencies...

This year's gyro is actually set to 80 deg/sec, but I was using one of the older years, at 150 deg/sec.

The 16 for deadband is actually the defualt of 8 that you provided, since I raised the ADC resolution from 2048 to 4096. The gyro bias doubled in the same way when I raised the resolution.

I'll probably end up putting the ADC back to default, because raising the update rate and resolution doesn't seem to have made any difference.

I know we have some other ADXRS150's from past years somewhere, I just need to go find them tomorrow. We had to call of building for today.

Thanks for the input, everyone. In the end, I think the bulk of what I'll use the gyro for is to back up the basic driving output (our frame tends to pull slightly to the right) for which I'll only need to use the rate. As a programmer, little problems like this just tend to bug me if I can't explain them.
__________________
Code:
void function(void)
 {
  function();
 }