Quote:
Originally Posted by Taylor
As far as controls, I've seen three main schools of thought:
1-joystick: front, back, left, right for translations, twist for turning
2-joystick: A front, back, left, right translations B turn (side-side)
2-joystick: A front, back, CW, CCW B left, right translations
|
We've found that if you are using an Xbox 360 like controller, then it's easiest to do.
Left joystick: forward backwards, left, right
Right joystick: rotate CW and CCW.
We also use field oriented drive and have buttons on the driver's controller to rotate to different angles.
https://github.com/team2053tigertronics/2017Code
You can find the rotate to angle code in the Tigerdrive folder and the actual drive command in /Commands/Drive