Go to Post Hey people, I found out the answer to my question and that one guy eric is right all you have to do is read the manual. The rules are in chapter 7.3.5.1, sections - .:) - ronald [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 08:35.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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