Log in

View Full Version : This Gyro is driving me crazy!


archiver
23-06-2002, 23:35
Posted by Brian at 1/24/2001 9:25 PM EST


Student on team #64, Gila Monsters, from Highland High School and General Motors.



Can anyone tell me what the units are that the Gyro outputs? I think I read somewhere that it is Degrees per second but like all the variables (byte) it goes from 0-255 with 128 being 0. Does anybody know the conversion?

archiver
23-06-2002, 23:35
Posted by Rick Gibbs at 1/24/2001 10:09 PM EST


Engineer on team #145, T-Rx, from Norwich High School, Sherburne-Earlville High School and Procter & Gamble Pharmaceuticals.


In Reply to: This Gyro is driving me crazy!
Posted by Brian on 1/24/2001 9:25 PM EST:



I'd have to verify this in the Gyro specs (included in the manual), but I think its -63 deg/sec to 63 deg/sec scaled to 0-255 with a center around 127 (the word is it drifts)

Rick

archiver
23-06-2002, 23:35
Posted by Brian at 1/24/2001 11:22 PM EST


Student on team #64, Gila Monsters, from Highland High School and General Motors.


In Reply to: Re: This Gyro is driving me crazy!
Posted by Rick Gibbs on 1/24/2001 10:09 PM EST:



Ok thanx for pointing me in the right direction. I looked up the value and it said it was 64 deg/sec. Using that information I was able to come up with some equations and write the code for it... Just have to test it tomorrow in the robot to see if it works how I wanted it too, hehe.

Brian