View Single Post
  #8   Spotlight this post!  
Unread 24-10-2010, 17:24
buildmaster5000 buildmaster5000 is offline
Trying to program the swerve drive
AKA: Alex
FRC #2421 (Rolling Thunder Robotics)
Team Role: Alumni
 
Join Date: May 2009
Rookie Year: 2009
Location: Northern Virginia
Posts: 207
buildmaster5000 has much to be proud ofbuildmaster5000 has much to be proud ofbuildmaster5000 has much to be proud ofbuildmaster5000 has much to be proud ofbuildmaster5000 has much to be proud ofbuildmaster5000 has much to be proud ofbuildmaster5000 has much to be proud ofbuildmaster5000 has much to be proud of
Re: How to code Macanum ddrive

Quote:
Originally Posted by RoboMaster View Post
Note that Mark's code is really used for a joystick that twists (the kit joysticks don't).
You can also use a second joystick. The first joystick will control what I call "move" (forward/ backward relative to the robot's center) and "translate" (left/right relative to the robot's center). Assign the Y axis to move and the X axis to rotate the robot. The second joystick can have its X axis assigned to rotate the robot about its center.

Hope this helps!
__________________
-Alex



2010 Washington DC Regional: Engineering Excellence Award
Reply With Quote