Quote:
Originally Posted by cjl2625
Well, regardless of joystick control, switching from tank to swerve will take training and adjusting.
For these buttons, will they be just boolean inputs? I think that would be rather hard to control.
I haven't tried it, but I guess triggers could work. I suppose it's just a matter of driver preference
For me, I prefer an independent twisting controller to rotate.
Ooh, that's pretty cool. Do you mind sharing how that works mathematically?
|
Hello, 2517 programmer here.
I made a presentation about the swerve mainly to show to judges, but it should work well enough here. It was meant to be accompanied by an oral presentation, so feel free to ask questions if things don't make sense. I'm planning on adding more code specific examples later as well.
Here are all the links:
Presentation in pdf:
https://github.com/team2517/2014FRC/...swerveMath.pdf
Presentation on google drive:
https://docs.google.com/presentation...it?usp=sharing
Our actual code, sorry it's pretty messy at the moment:
https://github.com/team2517/2014FRC/...er/MyRobot.cpp