View Single Post
  #1   Spotlight this post!  
Unread 09-02-2016, 23:11
zDrakon zDrakon is offline
Registered User
FRC #3501
 
Join Date: Feb 2015
Location: Sunnyvale
Posts: 10
zDrakon is an unknown quantity at this point
Exclamation ITG3200 Gyroscope

Code we found on github for this specific gyro: https://github.com/bussell/SparkFun6...roITG3200.java

Problem: I can't seem to convert the "16 bit in 2's complement format" readings from the method "getRotationZ()" in the gyro class to be just degrees.

My team only cares about getting "pitch" rotation which is Z.

Anyone have tips or advice to make a method that will get degrees from the getRotationZ() method?

Email to me if you can help so I can reply faster!

evanyap.14@gmail.com
Reply With Quote