|
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.
|