View Single Post
  #7   Spotlight this post!  
Unread 20-01-2008, 17:43
JohnC's Avatar
JohnC JohnC is offline
my other name is nigel
FRC #0360 (360 Revolution)
Team Role: Programmer
 
Join Date: Mar 2005
Rookie Year: 2005
Location: user_routines.c
Posts: 100
JohnC is a jewel in the roughJohnC is a jewel in the roughJohnC is a jewel in the roughJohnC is a jewel in the rough
Send a message via AIM to JohnC
Re: Robot Drive for 10 seconds

If you have access to encoders, you may want to have your robot drive a certain distance rather than for a certain length of time.

That way, you could write a function like Drive(distance, speed);
__________________
What place are we at? ... TODAI!