View Single Post
  #4   Spotlight this post!  
Unread 31-05-2007, 15:38
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: mecanum joystick selector?

Quote:
Originally Posted by Devo1098 View Post
IF (trigger pushed in)
then (do sideways code)
otherwise (do skid steer code)
Code:
  if (p1_trig)
  {
    strafe();
  }
  else
  {
    skid();
  }
Replace the strafe() and skid() calls with whatever you use to drive the robot.