View Single Post
  #7   Spotlight this post!  
Unread 03-02-2010, 14:05
omalleyj omalleyj is offline
Registered User
AKA: Jim O'Malley
FRC #1279 (Cold Fusion)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2008
Location: New Jersey
Posts: 132
omalleyj is a splendid one to beholdomalleyj is a splendid one to beholdomalleyj is a splendid one to beholdomalleyj is a splendid one to beholdomalleyj is a splendid one to beholdomalleyj is a splendid one to beholdomalleyj is a splendid one to beholdomalleyj is a splendid one to behold
Re: Robot Dropping the Code

Guys you need to free the image. If you don't you run out of memory pretty quick. Check the output as Eric suggested.

Further tip: your code needs better organization. You waste a lot of cpu and bandwidth resetting the camera to the same values every single loop. That stuff should be moved into a constructor and done once.
Reply With Quote