ros-drivers / pointgrey_camera_driver

ROS driver for Pt. Grey cameras, based on the official FlyCapture2 SDK.
128 stars 180 forks source link

list_cameras not working #7

Closed dani-carbonell closed 10 years ago

dani-carbonell commented 10 years ago

Ubuntu 12.04 - ROS hydro - Camera PointGrey BFLY-PGE-13E4C-CS It says this when it try to run it:

[rosrun] Couldn't find executable named list_cameras below /opt/ros/hydro/share/pointgrey_camera_driver

mikepurvis commented 10 years ago

It's very odd that your system can't find this executable— it's been in the package since the beginning. Please try the following commands to help me understand the state of your system:

dpkg -s ros-hydro-pointgrey-camera-driver  # show status and version of installed package
dpkg -L ros-hydro-pointgrey-camera-driver  # show files installed by package

In the first output, confirm that the status is "ok installed", and the version is 0.9.2. In the second, look for the list_cameras binary to be installed.

dani-carbonell commented 10 years ago

It seems to be OK. I must have some wrong environmental variable because it works for a colleague with the same prompts and the same laptop. I've tried to reinstall it.

Package: ros-hydro-pointgrey-camera-driver Status: install ok installed Priority: extra Section: misc Installed-Size: 15904 Maintainer: Mike Purvis mpurvis@clearpathrobotics.com Architecture: amd64 Version: 0.9.2-0precise-20140720-1251-+0000 Depends: libboost-thread1.46.1 (>= 1.46.1-1), libc6 (>= 2.14), libgcc1 (>= 1:4.1.1), libgomp1 (>= 4.4), libraw1394-11, libstdc++6 (>= 4.6), libraw1394-dev, libusb-1.0-0-dev, ros-hydro-camera-info-manager, ros-hydro-diagnostic-updater, ros-hydro-driver-base, ros-hydro-dynamic-reconfigure, ros-hydro-image-exposure-msgs, ros-hydro-image-transport, ros-hydro-nodelet, ros-hydro-roscpp, ros-hydro-sensor-msgs, ros-hydro-wfov-camera-msgs Conffiles: /etc/udev/rules.d/71-pgr.rules 7af07cf10fdfc60a97f0d3c8a89d269a Description: Point Grey camera driver based on libflycapture2. Homepage: http://ros.org/wiki/pointgrey_camera_driver


/. /etc /etc/udev /etc/udev/rules.d /etc/udev/rules.d/71-pgr.rules /opt /opt/ros /opt/ros/hydro /opt/ros/hydro/lib /opt/ros/hydro/lib/python2.7 /opt/ros/hydro/lib/python2.7/dist-packages /opt/ros/hydro/lib/python2.7/dist-packages/pointgrey_camera_driver /opt/ros/hydro/lib/python2.7/dist-packages/pointgrey_camera_driver/init.py /opt/ros/hydro/lib/python2.7/dist-packages/pointgrey_camera_driver/cfg /opt/ros/hydro/lib/python2.7/dist-packages/pointgrey_camera_driver/cfg/PointGreyConfig.pyc /opt/ros/hydro/lib/python2.7/dist-packages/pointgrey_camera_driver/cfg/PointGreyConfig.py /opt/ros/hydro/lib/python2.7/dist-packages/pointgrey_camera_driver/cfg/init.pyc /opt/ros/hydro/lib/python2.7/dist-packages/pointgrey_camera_driver/cfg/init.py /opt/ros/hydro/lib/pkgconfig /opt/ros/hydro/lib/pkgconfig/pointgrey_camera_driver.pc /opt/ros/hydro/lib/libPointGreyCamera.so /opt/ros/hydro/lib/libflycapture.so.2 /opt/ros/hydro/lib/pointgrey_camera_driver /opt/ros/hydro/lib/pointgrey_camera_driver/stereo_node /opt/ros/hydro/lib/pointgrey_camera_driver/list_cameras /opt/ros/hydro/lib/pointgrey_camera_driver/camera_node /opt/ros/hydro/lib/libPointGreyCameraNodelet.so /opt/ros/hydro/lib/libPointGreyStereoCameraNodelet.so /opt/ros/hydro/share /opt/ros/hydro/share/pointgrey_camera_driver /opt/ros/hydro/share/pointgrey_camera_driver/nodelet_plugins.xml /opt/ros/hydro/share/pointgrey_camera_driver/cmake /opt/ros/hydro/share/pointgrey_camera_driver/cmake/pointgrey_camera_driverConfig.cmake /opt/ros/hydro/share/pointgrey_camera_driver/cmake/pointgrey_camera_driverConfig-version.cmake /opt/ros/hydro/share/pointgrey_camera_driver/package.xml /opt/ros/hydro/share/pointgrey_camera_driver/launch /opt/ros/hydro/share/pointgrey_camera_driver/launch/bumblebee.launch /opt/ros/hydro/share/pointgrey_camera_driver/launch/camera.launch /opt/ros/hydro/include /opt/ros/hydro/include/pointgrey_camera_driver /opt/ros/hydro/include/pointgrey_camera_driver/PointGreyConfig.h /usr /usr/share /usr/share/doc /usr/share/doc/ros-hydro-pointgrey-camera-driver /usr/share/doc/ros-hydro-pointgrey-camera-driver/changelog.Debian.gz

dani-carbonell commented 10 years ago

I've re-added the ROS environmental variables. It's working now.

mikepurvis commented 10 years ago

Glad to hear. Please update/close #8 accordingly, as well.