View Single Post
  #2   Spotlight this post!  
Unread 01-02-2014, 00:57
tStano tStano is offline
Registered User
AKA: Sparks
no team
Team Role: Electrical
 
Join Date: Jan 2014
Rookie Year: 2012
Location: Madison, WI
Posts: 177
tStano will become famous soon enough
Re: gyro.getAngle() only outputs 0.0

It doesn't appear you've set the scale of the gyro. I believe you need to call the method gyro.setSensitivity(double voltsPerDegreePerSecond) in order to make things work.

Sensitivity is a constant that should be on your gyro spec sheet and it is measure in volts per degree per second.