View Single Post
  #2   Spotlight this post!  
Unread 17-02-2005, 00:06
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: joystick buttons and a quick question

Quote:
Originally Posted by h0x4r
first of all, are u allowed to take code with u then upload it to the robot there, and the 3 buttons on the joystick, not the trigger and thumb button, how do u call those in code and use it for the robot?
First, you're only supposed to do software development when it's legal to work on the robot. That means during the six-week build, at competitions, and during the "fix-it window" after each. You can do analysis and prototyping any time you want, but you're not supposed to write actual code to be installed on the robot.

Second, the joystick switch to the left of the "hat" is p#_sw_aux1, the one to the right is p#_sw_aux2, and the hat itself is an analog value on p#_wheel that changes depending on which direction it's being moved.