|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#8
|
|||
|
|||
|
Re: Help wiring gyro, then programming... please.
We have tested both the same and a different gyro on the Analog breakout, made sure it's wire correctly (in relation to 5v Ground and Sig wiring)
And whenever we try to get a readout it's saying some numbers in the negative range - around -.8 something.... It will change a small amount but it refuses to go positive. Also if we jsut unplug the gyro and run code it gives us the same numbers! We are using Java and could not find any sample code, so.. Gyro is on slot 1 of analog input on slot 1 of the cRIO private Gyro gyro = new Gyro(1, 1); then used outputs gyro.getAngle(); assigned to Driver Station user message line 3.. which gave us the negative numbers... What are we doing wrong? Thanks in advance! |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|