Thread: Gyro Sensors
View Single Post
  #3   Spotlight this post!  
Unread 21-02-2004, 19:51
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Re: Gyro Sensors

Quote:
Originally Posted by fred
How would you program a gyro and a yaw sensor? Also what specifically does a gyro and a yaw sensor return? Finally how do you install this? Thanks
I'm looking at last year's. It's BEI GyroChip Micromachined Angular Rate Sensor. I'm basing this on the spec sheet, I haven't used it, so confirmation would be nice!

You would add the output to a variable ("Compass") once a second, like:
Code:
Compass = (char)(Compass + (int)(rc_ana_in01 - 127))
Like I said, once a second (Or what ever is convienient, I'd use a interupt if you know how).

Hopefully that gets you started, good luck!