View Single Post
  #2   Spotlight this post!  
Unread 31-01-2012, 08:05
Keyreaper's Avatar
Keyreaper Keyreaper is offline
Keyreaper
AKA: Cyrus Duong
FRC #1710 (Revolution Ravonics)
Team Role: Programmer
 
Join Date: May 2011
Rookie Year: 2011
Location: Olathe
Posts: 140
Keyreaper is an unknown quantity at this point
Re: Robot Drive running too slow????

Quote:
Originally Posted by Greg McKaskle View Post
If you are processing vision, that is likely to be a part of the problem. The vision will use a pretty good amount of CPU for the time it takes to process the image. Higher priority tasks will take cuts, but some tasks could get starved out while that proceeds.

In the game, wen you aren't using the info from the camera, perhaps you should toggle the enable off or slow the frame rate. Also, the loops in periodic do not have to use much CPU. It depends on what is placed in them or how often they are asked to run. Loops that run numerous times with no delay in them are truly what eats the CPU.

Greg McKaskle
Ah pardon my mistaken then.
Reply With Quote