|
Re: OI Input Autonomous
I like that code that you found and i tried using it in our code but I get a syntax error on the line that says:
void auton_selector(void)
I declared the global variable in user_routines.c and put the extern int in the user_routines_fast.c (both are in the correct places). I changed the AUTON_UP and AUTON_DN to buttons on the joystick. I changed the 94 to 99. I also checked the lines before it so see if I left out a ; or } but I did'nt.
I also got another syntax error when I try using auton_select in user_routines_fast.c to select the autonomous.
Thanks!
|