View Single Post
  #3   Spotlight this post!  
Unread 04-02-2017, 18:01
SLAB-Mr.Thomas SLAB-Mr.Thomas is offline
Registered User
FRC #4237
 
Join Date: Jan 2015
Location: USA
Posts: 15
SLAB-Mr.Thomas is an unknown quantity at this point
Re: I2C Andymark Gyro Constructor

We have used this combo IMU successfully in the past season (2016) with I2C. We want to use it again this season but the same hardware and C++ software do NOT work anymore (2017).

The ITG-3200 portion doesn't seem to return values - the WPILib (actually the HAL method below it) returns bool 1 - failure - for commands.

The ADXL345_I2C portion returns the apparently correct Y axis acceleration with GetX(), the Z axis with GetY(), and zero (0) with the call to GetZ().

Haven't made any progress in tracking down the cause. Anybody have any ideas on what changed and what to do about it?

Thanks.

Last edited by SLAB-Mr.Thomas : 04-02-2017 at 18:30. Reason: added programing language
Reply With Quote