|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Gyroscope troubles
We are trying to use the AM Dual Gyro/Accelerometer to detect the angle of our shooter. We have it mounted perpendicular to our shooter so that it detects the axis of rotation of the shooter rather than the robots. We also only have the rate part of the gyro wired up to the analog breakout(which we recently found out needs to be separately powered).
Initialization (plugged in to the slot labeled 1 on the analog breakout) Code:
Gyro gyro = new Gyro(1); Code:
gyro.getAngle(); Any ideas? |
|
#2
|
||||
|
||||
|
Re: Gyroscope troubles
Quote:
|
|
#3
|
|||
|
|||
|
Re: Gyroscope troubles
You're right, but we can't really get our hands on one of those in the next few hours.
|
|
#4
|
||||
|
||||
|
Re: Gyroscope troubles
Quote:
Post photos of how you have the gyro wired up: one photo for each end of the cable. Please use the macro setting on your camera for close-ups. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|