![]() |
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! |
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