View Single Post
  #2   Spotlight this post!  
Unread 31-03-2016, 15:36
nickbrickmaster's Avatar
nickbrickmaster nickbrickmaster is offline
Captain
AKA: Nick Schatz
FRC #3184 (Blaze Robotics)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2014
Location: Eagan MN
Posts: 143
nickbrickmaster is an unknown quantity at this point
Re: HELP; moving omni robot to move sideways

First question. Are you using omni wheels or mecanum wheels?

The answer will change depending. If you are using omni wheels, they should be aligned at four corners like so. If not, you will need to use mecanums or move them to that orientation. Mecanums need to be on the correct side, as there are left mecanums and right mecanums.

After that, is this an FRC robot or something else? If you are, there's a nice method in WPILib called mecanumDrive_Cartesian that will resolve the motcrs from joystick axes for you. If you are not using WPILib, then you can still look at that code to find the math.
__________________
I have approximate knowledge of many things.

FRC 3184: 2014-, FTC 10648: 2015-

Last edited by nickbrickmaster : 31-03-2016 at 15:46. Reason: More info