usb_cam-test.launch exit code -11
usbcam works fine on my computer ubuntu14.04, but when it turns to the arm firefly rk3288 ubuntu 14.04 , i got the error exit code -11 when i launch the file usbcam-test.launch, the precise info is below : firefly@firefly:/opt/ros/indigo/lib/usbcam$ roslaunch usbcam usb_cam-test.launch ... logging to /home/firefly/.ros/log/9ab8650a-4d99-11e6-8ca2-00904c112233/roslaunch-firefly-2668.log Checking log directory for disk usage. This may take awhile. Press Ctrl-C to interrupt Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://firefly:59329/
SUMMARY
PARAMETERS * /imageview/autosize: True * /rosdistro: indigo * /rosversion: 1.11.20 * /usbcam/cameraframeid: usbcam * /usbcam/imageheight: 480 * /usbcam/imagewidth: 640 * /usbcam/iomethod: mmap * /usbcam/pixelformat: yuyv * /usbcam/video_device: /dev/video0
NODES / imageview (imageview/imageview) usbcam (usbcam/usbcam_node)
ROSMASTERURI=http://localhost:11311
core service [/rosout] found process[usbcam-1]: started with pid [2686] process[imageview-2]: started with pid [2687] [ INFO] [1468924382.837715224]: Using transport "raw" [ INFO] [1468924382.907561516]: using default calibration URL [ INFO] [1468924382.907812057]: camera calibration URL: file:///home/firefly/.ros/camerainfo/headcamera.yaml [ INFO] [1468924382.908057932]: Unable to open camera calibration file [/home/firefly/.ros/camerainfo/headcamera.yaml] [ WARN] [1468924382.908164682]: Camera calibration file /home/firefly/.ros/camerainfo/headcamera.yaml not found. [ INFO] [1468924382.908278432]: Starting 'headcamera' (/dev/video0) at 640x480 via mmap (yuyv) at 30 FPS [ WARN] [1468924382.983393391]: unknown control 'whitebalancetemperatureauto'
[ WARN] [1468924382.991687807]: unknown control 'focus_auto'
[usbcam-1] process has died [pid 2686, exit code -11, cmd /opt/ros/indigo/lib/usbcam/usbcamnode _name:=usbcam _log:=/home/firefly/.ros/log/9ab8650a-4d99-11e6-8ca2-00904c112233/usbcam-1.log]. log file: /home/firefly/.ros/log/9ab8650a-4d99-11e6-8ca2-00904c112233/usb_cam-1*.log
and when i rosrun usbcam usbcamnode , i got segment fault : firefly@firefly:/opt/ros/indigo/lib/usbcam$ rosrun usbcam usbcamnode [ INFO] [1468923818.447067913]: using default calibration URL [ INFO] [1468923818.447372997]: camera calibration URL: file:///home/firefly/.ros/camerainfo/headcamera.yaml [ INFO] [1468923818.447627038]: Unable to open camera calibration file [/home/firefly/.ros/camerainfo/headcamera.yaml] [ WARN] [1468923818.447767038]: Camera calibration file /home/firefly/.ros/camerainfo/headcamera.yaml not found. [ INFO] [1468923818.447925997]: Starting 'headcamera' (/dev/video0) at 640x480 via mmap (yuyv) at 30 FPS [ WARN] [1468923818.537832538]: unknown control 'whitebalancetemperature_auto'
[ WARN] [1468923818.552972955]: unknown control 'focus_auto'
Segmentation fault firefly@firefly:/opt/ros/indigo/lib/usb_cam$
i've tried to change the pixel_format to yuyv and reflash and reinstaller all but still got this error, thank you in advance for your information.
Asked by isabellezheng on 2016-07-19 05:36:24 UTC
Comments
This is a duplicate of usb_cam exit code-11 on arm firefly rk3288. Could you close either this one, or the other question?
Asked by gvdhoorn on 2016-07-19 05:48:08 UTC