|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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! |
|
#2
|
|||
|
|||
|
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.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|