View Single Post
  #4   Spotlight this post!  
Unread 06-12-2011, 21:10
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,112
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: project startup vi

The Driver Station program does not pass keyboard information to the robot. You should think about other ways to select arcade vs. tank drive, such as a joystick button or a switch on the Cypress I/O board (which doesn't have to be a real switch; you can use the emulated I/O on the Driver Station tab).

Use a Case block to run either the Arcade or Tank drive functions. Which one gets run will depend on the select input to the Case, and that should come from the switch you've chosen.

Does this help?
Reply With Quote