Thread: waits
View Single Post
  #3   Spotlight this post!  
Unread 05-02-2012, 18:45
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: waits

Quote:
Originally Posted by tilky View Post
so will this run the motors for 1 second, or will it pulse the motors once, and then wait 1 second before moving on
It will tell the motors to run, then wait one second. It doesn't keep telling the motors to run after it's done it once. For most motors, that means they will continue to run, but not for Drive motors.

Quote:
Originally Posted by Mark McLeod View Post
Of course, the way it's written, nothing stops the motors, so after the frame finishes executing the motors will still be running and will continue to run until told otherwise.
It's a Drive function, so the motor safety will stop the motors after a tenth of a second unless something has been changed from the default configuration.
Reply With Quote