Robotics StackExchange | Archived questions

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

Hi,

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?

Thanks,

Abbas

When I scanned my camera, I got this:

CTestSRCustomer:
 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
>>>>   >>>> CM_CAM_SELECT->CP_CS_OPENDLG
-------------------------------------------------------
x: exit
s: scan

press a key
>>>>   >>>> CM_CAM_SELECT->CP_SCAN_CAM
>>>>   >>>> CM_CAM_SELECT->CP_FOUND_CAM
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
>>>>   >>>> CM_CAM_SELECT->CP_CONNECT
>>>>   >>>> CM_CAM_SELECT->CP_GET_FILENAME
Input file name to load:

Asked by Abbas on 2016-10-11 10:32:17 UTC

Comments

Answers