Thread
:
mecanum joystick selector?
View Single Post
#
4
31-05-2007, 15:38
Alan Anderson
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Re: mecanum joystick selector?
Quote:
Originally Posted by
Devo1098
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.
__________________
::
qo'mey poSmoH Hol
:: language opens worlds
Alan Anderson
View Public Profile
Visit Alan Anderson's homepage!
Find all posts by Alan Anderson
Find CD-Media Photos by Alan Anderson
Find CD-Media Papers by Alan Anderson