View Single Post
  #4   Spotlight this post!  
Unread 12-05-2016, 19:53
jSchnitz's Avatar
jSchnitz jSchnitz is offline
Lead Programmer, Operator
AKA: Jacob Schnitzlein
FRC #1986 (Team Titanium)
Team Role: Programmer
 
Join Date: Mar 2014
Rookie Year: 2014
Location: Lee's Summit, MO
Posts: 18
jSchnitz is on a distinguished road
Re: Selecting Autonomous with TI LaunchPad?

Quote:
Originally Posted by RufflesRidge View Post
You can just read the value of the "joystick axis" that corresponds to the potentiometer analog input and use that to determine the choice.
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.
__________________
2016: Kansas City: Winner, Industrial Design Award. Smoky Mountains: Finalist, Engineering Inspiration Award. Archimedes Division: Winner, Industrial Design Award. FRC Dean's List Finalist
2015: Arkansas: Finalist, Quality Award. St. Louis: Winner, Industrial Design Award. Queen City: Winner, Quality Award. Carver Division: Quarterfinalist. FTC Dean's List Finalist
2014: Central Illinois: Winner, Chairman's Award. Kansas City: Winner, Innovation in Control Award. Newton Division: Semifinalist, Industrial Design Award.
Reply With Quote