Log in

View Full Version : CMUcam2 GUI Program


nukem
14-01-2006, 00:11
Our team is currently using Linux on all of our software development computers and we would like to get the camera to work. The build team finally finished constructing the camera(with the stand and everything) so they hooked it up to last years robot and I hooked directly into the camera(via serial) to get some values. After turning on the robot and hooked up everything on my laptop all the CMUcam2 GUI program would give me is "Waiting for Serial Device..." I have the camera going through a USB to serial converter which works fine for programming the robot and I know the serial address is /dev/ttyUSB0 but it still dose not work. Could someone please help me?

Thanks

nuke

nukem
14-01-2006, 00:33
I think I may have figured it out but I have to wait till tomarrow to see if this is right. I checked the CMUcam2 GUI app from http://www.cs.cmu.edu/~cmucam2/downloads.html and it seems to have a couple of extra files for Unix system, one is a C source file which has alot of serial stuff in it. FIRST seems to have "forgotten" to put that in. Ill try merging the code and ill post what happens.

Joe Hershberger
14-01-2006, 04:03
Hmm... Linux devlopment, huh. I'm wondering if it is possible to get the student version of LabView for Linux from National Instruments. If so, then you can use the new camera app that's written in LabView posted in this thread. (http://www.chiefdelphi.com/forums/showthread.php?t=41214) LabView an VISA are both supported under Linux, so this should be possible.

Good Luck!
-Joe

nukem
15-01-2006, 03:18
That seemed to of works you just have to run serialconfig seperatly and it runs fine, although the Java program seems buggy as hell.

nukem
15-01-2006, 03:19
Hmm... Linux devlopment, huh. I'm wondering if it is possible to get the student version of LabView for Linux from National Instruments. If so, then you can use the new camera app that's written in LabView posted in this thread. (http://www.chiefdelphi.com/forums/showthread.php?t=41214) LabView an VISA are both supported under Linux, so this should be possible.

Good Luck!
-Joe

Our team has LabView and I had someone on my team contact them about the Linux version. Im not sure where its going to go but hopefully they'll send it to us.