View Single Post
  #7   Spotlight this post!  
Unread 15-03-2012, 00:29
propionate's Avatar
propionate propionate is offline
Team co-lead and LabVIEW programmer
AKA: Stephen
FRC #1732 (Hilltopper Robotics)
 
Join Date: Jan 2012
Rookie Year: 2009
Location: Milwaukee
Posts: 93
propionate is on a distinguished road
Re: After enabling, the code takes 9 seconds before it starts running

I discovered that it is about 10 second from when the robot gets communication with the DS, and we just happened to be hitting "enable" right when we got communication. This made it look like the actual code was lagging, but if I wait 10 seconds after getting comm, there is no problem when I enable.

I am still having some problems with the robot "spazzing" on enable. About 1/4 of the times I enable, a solenoid will fire or the turret will turn, then become still. I have set values for these in Begin so they should do nothing. Thoughts?
Reply With Quote