Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   Gyro (http://www.chiefdelphi.com/forums/showthread.php?t=132907)

WeiWei333 14-01-2015 21:35

Gyro
 
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

Re: Gyro
 
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.


All times are GMT -5. The time now is 22:24.

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