![]() |
Re: Got Gyro?
On 1014 we used a gyro drive very successfully last year. On the night before ship the mechanical teams accidentally estroyed the last of our encoders, so we had to scrap our encoder-PID drive. Since our drivetrain was fairly difficult to control as it was, we decided to work out something with our only remaining working sensor, the gyro.
Our algorithm was essentially like the descirption above. It took us about 45 minutes to code and tune. After it was done, our robot could easily be driven by almost anyone who wanted too. Even with the PID drive on the encoders, only a few people on the team were coordinated enough to not hit things. When the coding was done I was able to drive it on my own and chase the person who killed our last encoder around the room shooting balls at him. (That was fun.) We got our camera working Saturday so that we can chase a green light on a cart around the school with a PI loop, and now are reimplementing the same gyro algorithm as last year to try to approach the cart without waffling side to side as much. Since the robot doesn't have encoders installed yet, the only feedback currently is from the camera. I don't know how much experience you have programming for FRC, but if you need some help, I can talk to my programming team and get some code samples. Kyle W Engineering Director, Team 1014 |
Re: Got Gyro?
Quote:
|
Re: Got Gyro?
We are thinking about using the provided gyro this year. Does anyone have instructions as to how to connect it to the FRC controller?
Thanks, TEAM 203 |
Re: Got Gyro?
Quote:
G 5 T B R W T stands for "twist" and is your signal wire. 5 stands for your 5 volt power wire G is ground See http://www2.usfirst.org/2007comp/oth...r%20Manual.pdf |
| All times are GMT -5. The time now is 05:43. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi