View Single Post
  #12   Spotlight this post!  
Unread 20-02-2010, 22:19
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: 4 motor Mecanum wheel code request

Quote:
Originally Posted by inventor1254 View Post
...we need Tank drive plus strafe, 2 joysticks both controlling one side of the robot on the y for tank drive and one or both as strafe on the x.
That's very easy to do using the "Mecanum - Cartesian" vi. Use the average of the joysticks' X values as the X input, the average of the joysticks' Y values as the Y input, and the difference between the Y values (divided by 2) as the rotation input.
Reply With Quote