|
Re: My autonomous code isn't working.
Quote:
Originally Posted by billbo911
The first issue I see is, joysticks are not read in Autonomous mode. By placing your code in a case structure that is dependent on that input, you are preventing it from running.
|
I thought the initial value was read when autonomous started, but it couldn't be changed during autonomous. As it stands here the false case should be running. If the button was being pressed as autonomous started it would run the true case. Since you can't touch the control as autonomous starts you'd have to tape a rock to the button or something if you wanted the true case to run.
Below is a quote from a comment within the autonomous default project.
Quote:
|
Note that all Driver Station inputs are automatically latched and will not change once auto begins.
|
__________________
Regional Wins: 2016(KC), 2015(St. Louis, Queen City), 2014(Central Illinois, KC), 2013(Hub City, KC, Oklahoma City), 2012(KC, St. Louis), 2011(Colorado), 2010(North Star)
Regional Chairman's Award: 2014(Central Illinois), 2009(10,000 Lakes)
Engineering Inspiration: 2016(Smoky Mountain), 2012(Kansas City), 2011(Denver)
Dean's List Finalist 2016(Jacob S), 2014(Cameron L), 2013(Jay U), 2012(Laura S), 2011(Dominic A), 2010(Collin R)
Woodie Flowers Finalist 2013 (Aaron Bailey)
Championships: Sub-Division Champion (2016), Finalist (2013, 2010), Semifinalist (2014), Quaterfinalist (2015, 2012, 2011)
Other Official Awards: Gracious Professionalism (2013) Entrepreneurship (2013), Quality (2015, 2015, 2013), Engineering Excellence (Champs 2013, 2012), Website (2011), Industrial Design (Archimedes/Tesla 2016, 2016, 2015, Newton 2014, 2013, 2011), Innovation in Control (2014, Champs 2010, 2010, 2008, 2008), Imagery (2009), Regional Finalist (2016, 2015, 2008)
Last edited by Alpha Beta : 26-02-2013 at 22:19.
|