View Single Post
  #2   Spotlight this post!  
Unread 29-02-2008, 18:19
j_johnso j_johnso is offline
Registered User
FRC #0226
 
Join Date: Jan 2008
Location: Michigan
Posts: 6
j_johnso is on a distinguished road
Re: robot speed scaling different

Since it works in the pits but not on the field, it likely has to do with when the automous code starts running. If I remember correctly, after the field is set up the robot is in disabled mode. The autonomous flag is then set. Finally the robot is enabled when the match starts. My guess is that your timer starts running when autonomous mode is set, but before the robot is enabled. By the time the robot is enabled, your timer is steps through, and not at the beginning.

To check this in the pits. Turn on the robot with it disabled. Flip your auton switch and let it run for a bit, then enable the robot.

Hope this helps.