Thread: i2c gyro
View Single Post
  #1   Spotlight this post!  
Unread 08-02-2011, 07:31
Zme Zme is offline
Registered User
FRC #2619
 
Join Date: Jan 2009
Location: Michigan
Posts: 83
Zme is on a distinguished road
i2c gyro

the electrical team got a shiny new i2c gyro, just one problem.... i need the angular displacement and not the angular rate that it provides.
I understand the concept of integrating it with respect to time to get the angular displacement but this creates another problem.
The KOP gyro does this in the code is through an accumulator hooked up to analog channel one and i can't find a way to hook up an i2c input to the same kind of accumulator.
Is there a relatively easy way to do this to an i2c gyro or should I start working out a different way to do this?
Reply With Quote