How to run swissranger_camera (sr4500 camera) on Linux (Ubuntu)?

asked 2016-10-11 10:32:17 -0500

Abbas gravatar image

updated 2016-10-19 17:24:05 -0500


I am new in ROS and Ubuntu. I follow "Download and install swissranger_camera tutorial" and for my project I use swissranger camera (sr4500, this camera works with Ethernet cable not usb) and I installed its Linux drivers on Ubuntu 16.04 (I installed Ubuntu on virtual machine) (I also edited udev rules based on the tutorial).I know that before I want to install its ROS drivers, at least I should run it on Ubuntu, so When I run this code (sudo /usr/bin/libMesaSRTester), I can scan my camera without any errors, but it can not find my camera and I can not run it. How can I solve this issue? Should I change or edit anything else for running the camera on Ubuntu?



When I scanned my camera, I got this:

 1: TestBasic
 2: TestDataDump
 3: TestContinousAcquire
 4: TestUserSrvCmd
 5: TestTrial
x: exit

press a key
****001**** Testing CTestSRCustomer::Trial  ****001**** Testing SR_OpenDlg  
>>>>   >>>> CMesaDeviceFactory::OpenLastCam() not supported in Linux
x: exit
s: scan

press a key
Camera File Stream
usb_set_debug: Setting debugging level to 255 (on)
usb_os_find_busses: Found 004
usb_os_find_busses: Found 003
usb_os_find_busses: Found 002
usb_os_find_busses: Found 001
usb_os_find_devices: Found 001 on 004
skipping descriptor 0x30
skipped 1 class/vendor specific endpoint descriptors
usb_os_find_devices: Found 005 on 003
usb_os_find_devices: Found 004 on 003
usb_os_find_devices: Found 003 on 003
usb_os_find_devices: Found 002 on 003
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: Found 001 on 003
error obtaining child information: Inappropriate ioctl for device
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 001 on 001
usb_set_debug: Setting debugging level to 0 (off)
1: Camera Camera File Stream
x: exit
s: scan

press a key
Input file name to load:
edit retag flag offensive close merge delete