|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Hi everybody.
I am working with two cmucam2 in order to get the distance of a target using stereo vision. Iīve been trying to modify the CMUcam2 GUI so that it can work with both cameras at the same time, but it seems to be difficult to me. I am using two different com ports (1 camera at com 1 and the other at com 2). The program open successfully the first port but when attempting to open the second one, it fails giving -1 error. Iīve also tried opening two different instances of the stand-alone CMUcam2 GUI. The first instance open successfully but when trying to open the second one with the other camera at com 2, it cannot open. I am working in Windows xp. Both ports work fine because iīve tried them using the GUI with each of them not at the same time. My question is the following: is there any version of the CMUcam2 GUI which manage to work with two cameras at the same time, each one plugged at a differente com port? Or if there isnīt, do I have to work with threads in Java in order to access to the ports at the same time, although they are different ports? Thanks in advance. Paula |
|
#2
|
|||||
|
|||||
|
Re: CMUcam2 GUI working with two cameras
it may be easier to just use 2 computers to do it one hooked to each camera. since the 2 cameras need to be accessed individually t may be easier to have 2 screens and be able to set stuff on 2 cameras at once
|
|
#3
|
|||
|
|||
|
Re: CMUcam2 GUI working with two cameras
What sort of solution are you using to get the cameras hooked up to the main board? I got two cameras working, so, if you need any help just email me or whatever.
|
|
#4
|
|||
|
|||
|
Re: CMUcam2 GUI working with two cameras
Quote:
My problem is that the sserial.dll that is used with the cmucam2gui cannot be acceded twice at the same time (I guess). Iīve tried making a copy of the dll and load it from the java programme, but, as I renamed it, Iīve got the following error: Exception in thread "main" java.lang.UnsatisfiedLinkError: openSerial I cannot edit the dll. So I really donīt Know what to do. Are you working with two cameras at the same time using the CMUcam2GUI with the original sserial.dll file? Please help me. Thank you very much. Paula ![]() |
|
#5
|
|||
|
|||
|
Re: CMUcam2 GUI working with two cameras
It seems like it may be easiest to accomplish this task by modifying the LabView GUI (I wouldn't really know where to start, but it seems like you could figure it out wiht a bit of exerimentation).
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| cmuCam2 Stoped working | EHaskins | Programming | 1 | 20-02-2006 07:19 |
| LabView CMUcam2 gui | drakesword | LabView and Data Acquisition | 6 | 28-01-2006 17:06 |
| CMUCam2 GUI Tilt Question | Idaman323 | Programming | 3 | 27-01-2006 02:01 |
| CMUcam2 LabVIEW GUI problems | StevenB | Programming | 1 | 21-01-2006 03:08 |
| CMUcam2 GUI Program | nukem | Programming | 4 | 15-01-2006 03:19 |