David Bryan
20-01-2003, 21:16
Thanks to Ian Krieg for some help on this. I would still like to get more information:
My question:
Can you help us with the mode in the program in going from the Autonomous
>Mode to the operator mode. I assume there must be some code to allow the
>autonomous mode to run for the first 15 seconds, and then allow the
>operator interface code to proceed for the rest of the match.
Ian answered:
The new default code, which apparently requires a new beta of the
stamp software, defines extra bits in PB_Mode, one of which is called
something like auton_mode. If you copy that part of the new default
code to your own default code, I expect you will be able to use that
code in your robot without difficulty.
If auton_mode = 0 then UseControls:
I would like some extra help with this DBryan :confused:
My question:
Can you help us with the mode in the program in going from the Autonomous
>Mode to the operator mode. I assume there must be some code to allow the
>autonomous mode to run for the first 15 seconds, and then allow the
>operator interface code to proceed for the rest of the match.
Ian answered:
The new default code, which apparently requires a new beta of the
stamp software, defines extra bits in PB_Mode, one of which is called
something like auton_mode. If you copy that part of the new default
code to your own default code, I expect you will be able to use that
code in your robot without difficulty.
If auton_mode = 0 then UseControls:
I would like some extra help with this DBryan :confused: