|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Noob question for teleop
The Analog Accumulators required for the gyro are only on ports 0 and 1.
|
|
#2
|
|||
|
|||
|
Re: Noob question for teleop
Is the analog input in the roboRio directly next to the Ethernet port? there are ones farther down that are titled analog but our gyro/accelerator only fits in the one next to the Ethernet port. Is this correct? Thanks for the reply, our team is brand new every year so its hard to keep knowledgeable people around for long
|
|
#3
|
||||
|
||||
|
Re: Noob question for teleop
Quote:
|
|
#4
|
|||
|
|||
|
Re: Noob question for teleop
This is the gyro we are using as of now.
http://firstchoicebyandymark.com/fc16-000 |
|
#5
|
||||
|
||||
|
Re: Noob question for teleop
Quote:
http://first.wpi.edu/FRC/roborio/rel...S450_Gyro.html You should be able to use the default (no parameter) constructor. gyro = new ADXRS450_Gyro(); Now, in your drive code's call to the mecanum_Cartesian() method, you should be able to use gyro.getAngle(). Keep asking if it ain't working. |
|
#6
|
|||
|
|||
|
Re: Noob question for teleop
Thank you so much our team and I greatly appreciate your help and will ask for help in the future.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|