Log in

View Full Version : Gyro


WeiWei333
14-01-2015, 21:35
How would i get the readings of the gyro on the dashboard? I'm unsure if the gyro is outputting a value. Also how do i set a drive to turn accordingly 90 degrees?

Thank you!

Fauge7
14-01-2015, 23:27
Start with a simple System.out.println(voltage); start from there! play with it and you should have yourself a reliable robot. Then you can do a PID subsystem with your drivetrain and have it turn for X degrees, but you will have to calibrate the P, I, and D variables for it.