Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   2001 (http://www.chiefdelphi.com/forums/forumdisplay.php?f=40)
-   -   This Gyro is driving me crazy! (http://www.chiefdelphi.com/forums/showthread.php?t=12288)

archiver 23-06-2002 23:35

This Gyro is driving me crazy!
 
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

Re: This Gyro is driving me crazy!
 
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

Re: This Gyro is driving me crazy!
 
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




All times are GMT -5. The time now is 16:52.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi