View Single Post
  #2   Spotlight this post!  
Unread 30-01-2017, 09:04
jreneew2's Avatar
jreneew2 jreneew2 is offline
Alumni of Team 2053 Tigertronics
AKA: Drew Williams
FRC #2053 (TigerTronics)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Vestal, NY
Posts: 213
jreneew2 has a spectacular aura aboutjreneew2 has a spectacular aura aboutjreneew2 has a spectacular aura about
Re: Most Graceful Mecanum Robots?

Quote:
Originally Posted by Taylor View Post
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
Reply With Quote