|
Re: Selecting Autonomous with TI LaunchPad?
Quote:
Originally Posted by RufflesRidge
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.
|