View Single Post
  #7   Spotlight this post!  
Unread 12-05-2016, 20:22
team-4480's Avatar
team-4480 team-4480 is online now
Debug? What's that?
FRC #4480
 
Join Date: Jan 2015
Rookie Year: 2013
Location: Minnesooota
Posts: 216
team-4480 will become famous soon enoughteam-4480 will become famous soon enough
Re: Selecting Autonomous with TI LaunchPad?

Quote:
Originally Posted by jSchnitz View Post
It sounds like he is worried that the robot won't be able to read the joystick axis in autonomous since it is, well, autonomous. I don't actually know if this is the case or not.

NetworkTables would work just fine for sending the choice. Alternately your code could read the joystick axis in a periodic function, or in disabled, and then use the value from there in autonomous.
You hit the nail on the head. I just wasn't sure if I would be able to grab the latest value from the joystick, but it sounds like you can from the reponses. Thanks!
__________________
#Python4Life
Reply With Quote