|
Re: Programming the last thing a robot does...
Are you sure they programmed it? Once you turn off the bot there's no more code.
I would'nt do this because it may be against the rulse. But if you have a function that overrides the stop command from the field controls, and in that function you could tell it to return back to how it was.
Other than that I would just use a counter.
All though it is your team's choice, that last second may be very useful for you guys, in the sense of the game. That last second might determine who wins the game. So if you really are bored, I would just make the operator of the robot be able to control that action, instead of doing it autonomously.
|