View Single Post
  #7   Spotlight this post!  
Unread 04-02-2012, 21:03
Djur's Avatar
Djur Djur is offline
WPILib
AKA: Sam Carlberg
no team
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2009
Location: Massachusetts
Posts: 182
Djur will become famous soon enough
Re: Autonomous Motor Problems

SimpleRobot only has one thread. If you look at the Timer.delay() method, you'll see that it calls Thread.sleep(). You aren't able to do anything until the Thread wakes up again.
__________________
WPILib dev (RobotBuilder, SmartDashboard, GRIP)
Reply With Quote