View Single Post
  #14   Spotlight this post!  
Unread 19-01-2006, 18:59
esquared's Avatar
esquared esquared is offline
Keeps saying 3-2-1-Rush...
AKA: Angry Eric
no team (Volunteer!)
Team Role: Mascot
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Boston, MA
Posts: 192
esquared has a reputation beyond reputeesquared has a reputation beyond reputeesquared has a reputation beyond reputeesquared has a reputation beyond reputeesquared has a reputation beyond reputeesquared has a reputation beyond reputeesquared has a reputation beyond reputeesquared has a reputation beyond reputeesquared has a reputation beyond reputeesquared has a reputation beyond reputeesquared has a reputation beyond repute
Re: CMUcam2 code for EDU-RC?

Quote:
Originally Posted by Calvin
Will the CMUcam2 work on the EDU-RC controller?

If so, is it the same code?
and Do I use the TTL port (I just want to make sure its the same and I don't burn anything out) on the EDU controller?
We had to make some minor changes to the default 'bells and whistles' code to make it work with the EDU-RC controller, but it seems to work. If you want a copy of this let me know, and I can supply them. Another one of our programming team made the mods, or I'd post exactly what we had to change in this thread.

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.

At this point, we only need to do some minor tweaking of camera values to consider it fully 'calibrated' so it's quickly becoming a moot point, but I'm hoping this info might help to make the Labview app more stable. It's certainly a grand improvement over the original Java version from last year.

Cheers,
-Eric