View Single Post
  #13   Spotlight this post!  
Unread 30-03-2004, 15:36
Random Dude Random Dude is offline
Oregon State Head FTA
AKA: Chris
no team (Oregon Robotics Tournament & Outreach Program)
 
Join Date: Aug 2002
Rookie Year: 1998
Location: Oregon
Posts: 142
Random Dude will become famous soon enoughRandom Dude will become famous soon enough
Re: Sometimes autonomous cycles at half rate (19 Hz instead of 38 Hz)

Quote:
Originally Posted by KenWittlief
on thing thats really useful for debugging your code is to use the user_mode variable on the OI - you only get to see one byte of data, but its there all the time

when we used printf's in our code it would lag about 10 seconds from when the data changed in the RC - I dont know why

Ya, we had the same problem as well. The lag was actually in the terminal program not being able to refresh quickly enough, due to our slow PC.
We simply modified the printf() function to only spit out less frequently.