usb_cam 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 usb_cam-test.launch, the precise info is below :
firefly@firefly:/opt/ros/indigo/lib/usb_cam$ roslaunch usb_cam 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
* /image_view/autosize: True
* /rosdistro: indigo
* /rosversion: 1.11.20
* /usb_cam/camera_frame_id: usb_cam
* /usb_cam/image_height: 480
* /usb_cam/image_width: 640
* /usb_cam/io_method: mmap
* /usb_cam/pixel_format: yuyv
* /usb_cam/video_device: /dev/video0
NODES
/
image_view (image_view/image_view)
usb_cam (usb_cam/usb_cam_node)
ROS_MASTER_URI=http://localhost:11311
core service [/rosout] found
process[usb_cam-1]: started with pid [2686]
process[image_view-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/camera_info/head_camera.yaml
[ INFO] [1468924382.908057932]: Unable to open camera calibration file [/home/firefly/.ros/camera_info/head_camera.yaml]
[ WARN] [1468924382.908164682]: Camera calibration file /home/firefly/.ros/camera_info/head_camera.yaml not found.
[ INFO] [1468924382.908278432]: Starting 'head_camera' (/dev/video0) at 640x480 via mmap (yuyv) at 30 FPS
[ WARN] [1468924382.983393391]: unknown control 'white_balance_temperature_auto'
[ WARN] [1468924382.991687807]: unknown control 'focus_auto'
[usb_cam-1] process has died [pid 2686, exit code -11, cmd /opt/ros/indigo/lib/usb_cam/usb_cam_node __name:=usb_cam __log:=/home/firefly/.ros/log/9ab8650a-4d99-11e6-8ca2-00904c112233/usb_cam-1.log].
log file: /home/firefly/.ros/log/9ab8650a-4d99-11e6-8ca2-00904c112233/usb_cam-1*.log
and when i rosrun usb_cam usb_cam_node , i got segment fault :
firefly@firefly:/opt/ros/indigo/lib/usb_cam$ rosrun usb_cam usb_cam_node
[ INFO] [1468923818.447067913]: using default calibration URL
[ INFO] [1468923818.447372997]: camera calibration URL: file:///home/firefly/.ros/camera_info/head_camera.yaml
[ INFO] [1468923818.447627038]: Unable to open camera calibration file [/home/firefly/.ros/camera_info/head_camera.yaml]
[ WARN] [1468923818.447767038]: Camera calibration file /home/firefly/.ros/camera_info/head_camera.yaml not found.
[ INFO] [1468923818.447925997]: Starting 'head_camera' (/dev/video0) at 640x480 via mmap (yuyv) at 30 FPS
[ WARN] [1468923818.537832538]: unknown control 'white_balance_temperature_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.
↧