|
Re: gyroscope problems
You should install it on every computer you could use to program. It takes a few hours, so installing it will take a long time.
The sensor should have a +5, GND, and signal/output pins. Take a PWM cable (3 pins), and cut off the end with the female connector that is long enough to connect from the gyro mounting point to the cRio analog board plus a little extra. Strip the three wires, connect the black to GND, red to +5, and white to SIG.
We generally put our gyros in a small project box and attach them to the robot with velcro.
As for software, the only thing you need to know is the volts per degree per second of the gyro, which can be calculated. I would guess that the sensor manual might tell you that, but I didn't read the sensor manual so I don't know for sure. If the gyro goes backwards, then make the gain negative.
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor
"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
|