Trouble with prosilica_camera, PvAPI
I am running Diamondback (ros-diamondback-desktop-full) on Ubuntu 10.04 (x86_64). I have a Prosilica GC750C camera that I am trying to get working, but having some issues. I am following the tutorials found at ( http://www.ros.org/wiki/prosilica_cam... ). My question is: what am I doing wrong in the steps below? My goal is to get a stereo pair of Prosilica cameras working so that I can use the stereo_image_proc tools.
I installed the camera_drivers stack using
sudo apt-get install ros-diamondback-camera-drivers
I plugged in the Prosilica camera and ran
rosrun prosilica_gige_sdk ListCameras
This resulted in the error message
/opt/ros/diamondback/stacks/camera_drivers/prosilica_gige_sdk/bin/ListCameras: error while loading shared libraries: libPvAPI.so: cannot open shared object file: No such file or directory
As root, I created a file /etc/ld.so.conf.d/libPvAPI.conf with contents
/opt/ros/diamondback/stacks/camera_drivers/prosilica_gige_sdk/lib
and ran
sudo ldconfig
I tried the ListCameras utility again and received
No camera detected ...
02-2161A-06188 - GC750C - Unique ID = 119898 IP@ = 192.168.1.101 [available]
Already this does not feel right. I don't think I should need to mess with ldconfig using root permissions.
I ran the Ping utility and received
-> 02-2161A-06188 - GC750C
Mode supported: FIXED,DHCP,AutoIP
Current mode: FIXED
Current address: 192.168.1.101
Current subnet: 255.255.255.0
Current gateway: 192.168.1.1
All of those details look reasonable and correct for my network.
I copied the prosilica.launch file from ( http://www.ros.org/wiki/prosilica_cam... ), modified the IP address to match the one I found using the prosilica_gige_skd tools, and used roslaunch. The result was
SUMMARY
========
PARAMETERS
* /rosdistro
* /prosilica/auto_gain
* /prosilica/trigger_mode
* /prosilica/auto_whitebalance
* /prosilica/auto_exposure
* /rosversion
* /prosilica/frame_id
* /prosilica/ip_address
NODES
/
prosilica (prosilica_camera/prosilica_node)
ROS_MASTER_URI=http://localhost:11311
core service [/rosout] found
process[prosilica-1]: started with pid [8380]
pure virtual method called
terminate called without an active exception
[prosilica-1] process has died [pid 8380, exit code -6].
log files: /home/thomas/.ros/log/c85a84cc-506d-11e0-9566-00241dd070f2/prosilica-1*.log
all processes on machine have died, roslaunch will exit
shutting down processing monitor...
... shutting down processing monitor complete
done
The log contains
[roscpp_internal] [2011-03-17 09:55:32,672] [thread 0x7f3b9084b760]: [DEBUG] UDPROS server listening on port [51639]
[roscpp_internal] [2011-03-17 09:55:32,677] [thread 0x7f3b9084b760]: [DEBUG] Started node [/prosilica], pid [8380], bound on [antec], xmlrpc port [40836], tcpros port [52187], logging to [/home/thomas/.ros/log/c85a84cc-506d-11e0-9566-00241dd070f2/prosilica-1.log], using [real] time
[roscpp_internal] [2011-03-17 09:55:32,920] [thread 0x7f3b885b8700]: [DEBUG] Accepted connection on socket [7], new socket [26]
[roscpp_internal] [2011-03-17 09:55:32,920] [thread 0x7f3b885b8700]: [DEBUG] TCPROS received a connection from [127.0.1.1:37805]
[roscpp_internal] [2011-03-17 09:55:32,921] [thread 0x7f3b885b8700]: [DEBUG] Connection: Creating TransportSubscriberLink for topic [/rosout] connected to [callerid=[/rosout] address=[TCPROS connection to [127.0.1.1:37805 on socket 26]]]
[roscpp_internal] [2011-03-17 09:55:34,026] [thread 0x7f3b9084b760]: [DEBUG] shutting down service [/prosilica/self_test]
I noticed this thread ( http://ros-users.122217.n3.nabble.com... ) but I am fairly ...