|
autonomous mode tips
if you look in the beginning of the main program loop, you will see an if statement that uses the auton_mode variable. this is what will do the switch between main and autonomous mode. the only way you can change to autonomous mode yourself without the competition port is by setting your team number to 0. i have myself done something else to test autonomous mode. here is the code i have used for this:
to be placed in main program:
if P1_sw_top = 1 &~ 0 then run 2
to be placed in autonomous mode:
if p1_sw_top = 0 &~ 1 then run 1
hope this helps
|