|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
How to make the Gyro work
Well after not being able to get the accelerometer to work, I'm going to try the gyro. But of course its not that easy. I just get a bunch of numbers that increment up. (Ex:2.97922e+087) Code and Pictures:
Code:
Gyro *gyro; ... gyro = new Gyro (1); ... gyro->Reset(); ... std::cout<<gyro->GetAngle()<<endl; ![]() |
|
#2
|
||||
|
||||
|
Re: How to make the Gyro work
Wait, am I looking at it correctly? It seems you are connecting to channel one of the analog bumper, but the analog bumper is inserted into the solenoid module. It also looks like your "solenoid bumper" is inserted into your analog module. In other words, you have swapped your analog and solenoid bumpers.
|
|
#3
|
|||
|
|||
|
Re: How to make the Gyro work
Yep, came here to post that very thing... I got it working now... We totally know what we're doing...
|
|
#4
|
|||||
|
|||||
|
Re: How to make the Gyro work
Where did you get that cable you're using to connect the sensor to the Analog input pins? The wiring scheme is decidedly nonstandard, with power on the black wire and common on the red. That's likely to cause some confusion if you ever need to troubleshoot it.
|
|
#5
|
|||
|
|||
|
Re: How to make the Gyro work
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|