View Single Post
  #2   Spotlight this post!  
Unread 28-01-2008, 15:26
popnbrown's Avatar
popnbrown popnbrown is offline
FIRST 5125 HOTH Lead Mentor
AKA: Sravan S
FRC #5125 (Hawks on the Horizon)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2007
Location: Illinois
Posts: 367
popnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond reputepopnbrown has a reputation beyond repute
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.