View Single Post
  #8   Spotlight this post!  
Unread 12-02-2012, 01:24
chi-town-biker chi-town-biker is offline
Registered User
FRC #3135 (Robotic Colonels)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Chicago
Posts: 46
chi-town-biker is an unknown quantity at this point
Re: Team 996 in need of help

To switch from arcade to tank drive in LabView,
1) Define your second joystick in the Begin vi.
2) Open the teleop vi in Robot Main.
3) Add code to read the second joystick using the Joystick 1 code as an example
4) Replace the Arcade Drive vi with the Tank Drive vi. The Arcade Drive and Tank Drive vi's are in the WPI Robotics Library->Robot path of the Functions Palate.
5) Connect the X or Y wire from Joystick 1 to the Tank Drive vi and the X or Y wire from Joystick 2 to the Tank Drive vi.

I hope that helps.
Reply With Quote