View Single Post
  #11   Spotlight this post!  
Unread 20-01-2006, 03:33
Joe Hershberger Joe Hershberger is offline
National Instruments
AKA: jhersh
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: Nov 2005
Rookie Year: 1997
Location: Austin, TX
Posts: 148
Joe Hershberger is a name known to allJoe Hershberger is a name known to allJoe Hershberger is a name known to allJoe Hershberger is a name known to allJoe Hershberger is a name known to allJoe Hershberger is a name known to all
Re: CMUcam2 code for EDU-RC?

Quote:
Originally Posted by esquared
One issue I didn't see in this forum involves using the Labview application with the CMUCam2. Bear with me while I describe the problem before replying, because in general it DOES work.

After a few (more than 2, less than 10) frame grabs, the application shows the progress bar going from 0 to 100%, pausing momentarily at 100%, not displaying the frame that was grabbed in the window, then after some amount of time (more than 30 seconds, less than 5 minutes) it re-tries getting the image and the progress bar goes from 0 to 100% as before. Once the application is in this state, the only solution is to close LabView, open the project and run it again. This typically fixes it, and we can grab a few more frames before it crops up again. As one could guess, this makes camera calibration/focusing a very trying task.

Relevant information:
EduRC from 2005
Freshly charged backup battery providing prime power for EduRC and cam
Laptop with REAL serial port (none of that USB nonsense)
Original CMUCam2 code (not the EduRC version, we started this before seeing it was available) with minor mods to build cleanly for EduRC2005 instead of FRC2006.
Eric,

There was a bug in the first version of the application that would cause this problem. There have been several updates since then... it was fixed in the first update. You can find the updates here.

Also remember that you can't have more than one device plugged into the CMUcam at a time (Laptop or RC).

If you continue to have problems, please post in the LabVIEW forum and I'll continue to help you there.

Good luck!
-Joe

Last edited by Joe Hershberger : 20-01-2006 at 03:35.