|
Re: Can't get auto mode to run with OI switches
Okay,
Based on a if and elseif statement, the bot would read the potentiometer on the OI which is p2_wheel, called autopos.
Autopos is going to equal to currentauto within 26 ms. once that happens, current auto is compared using a little deadband then setting newautoselect.
newautoselect is now supposed to be pulled from the user_routines.c
now newautoselect is put into a little if and then and then the new auto mode is supposed to be selected.
Shouldnt that code already work?
__________________
-Kiet Chau
2004-2008 - Software Developer/Driver on Team #968
2008-2011 - Software Developer/Coach/Mentor/"Engineer" on Team #968
2011-Present - Mentor & Engineer on Team #1538
www.team1538.com
|