View Single Post
  #4   Spotlight this post!  
Unread 17-02-2013, 13:47
nickpaterni's Avatar
nickpaterni nickpaterni is offline
Programming Mentor - Java
FRC #0217 (The Thunderchickens)
Team Role: Mentor
 
Join Date: Nov 2012
Rookie Year: 2012
Location: Mt Clemens, MI
Posts: 16
nickpaterni is an unknown quantity at this point
Re: Launching a command with a second thumbstick

Quote:
Originally Posted by Alan Anderson View Post
Can you have a background command on the relevant subsystem that watches the joystick value and fires off a specific command when the value changes?

But it just sounds like you want a background command that continuously copies the joystick value to the Victor, nothing fancier than that.
Do you have an example of setting up a background command? I've only done regular commands which require a particular subsystem(s). Is there a particular place the code goes to watch the joystick value? Does it need to be in a loop, or is it constantly being checked?

Thanks in advance for the help

Nick
Reply With Quote