ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Can not connect Kinect using openni

asked 2015-07-21 16:44:43 -0600

BishopBishop gravatar image

updated 2015-07-21 20:53:47 -0600

My system is ubuntu 14.04. I used to use openni to connect to my kinect1(one weeks ago). But It keeps fail these days when I type the command "roslaunch openni_launch openni.launch" I searched a lot but I can not find any answer. Here is the error info, hopes someone can help me!!!!

crl@crl-MS-7666:~$ roslaunch openni_launch openni.launch 
... logging to /home/crl/.ros/log/5a717a24-2fe8-11e5-9df0-6c626ddd8ab2/roslaunch-crl-MS-7666-23796.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://crl-MS-7666:49849/

 * /camera/camera_nodelet_manager/num_worker_threads: 4
 * /camera/depth_rectify_depth/interpolation: 0
 * /camera/depth_registered_rectify_depth/interpolation: 0
 * /camera/disparity_depth/max_range: 4.0
 * /camera/disparity_depth/min_range: 0.5
 * /camera/disparity_registered_hw/max_range: 4.0
 * /camera/disparity_registered_hw/min_range: 0.5
 * /camera/disparity_registered_sw/max_range: 4.0
 * /camera/disparity_registered_sw/min_range: 0.5
 * /camera/driver/depth_camera_info_url: 
 * /camera/driver/depth_frame_id: /camera_depth_opt...
 * /camera/driver/depth_registration: False
 * /camera/driver/device_id: #1
 * /camera/driver/rgb_camera_info_url: 
 * /camera/driver/rgb_frame_id: /camera_rgb_optic...
 * /rosdistro: indigo
 * /rosversion: 1.11.10

    camera_nodelet_manager (nodelet/nodelet)
    debayer (nodelet/nodelet)
    depth_metric (nodelet/nodelet)
    depth_metric_rect (nodelet/nodelet)
    depth_points (nodelet/nodelet)
    depth_rectify_depth (nodelet/nodelet)
    depth_registered_rectify_depth (nodelet/nodelet)
    disparity_depth (nodelet/nodelet)
    disparity_registered_hw (nodelet/nodelet)
    disparity_registered_sw (nodelet/nodelet)
    driver (nodelet/nodelet)
    points_xyzrgb_hw_registered (nodelet/nodelet)
    points_xyzrgb_sw_registered (nodelet/nodelet)
    rectify_color (nodelet/nodelet)
    rectify_ir (nodelet/nodelet)
    rectify_mono (nodelet/nodelet)
    register_depth_rgb (nodelet/nodelet)
    camera_base_link (tf/static_transform_publisher)
    camera_base_link1 (tf/static_transform_publisher)
    camera_base_link2 (tf/static_transform_publisher)
    camera_base_link3 (tf/static_transform_publisher)


core service [/rosout] found
process[camera/camera_nodelet_manager-1]: started with pid [23814]
[ INFO] [1437514907.975392896]: Initializing nodelet with 4 worker threads.
process[camera/driver-2]: started with pid [23835]
Warning: USB events thread - failed to set priority. This might cause loss of data...
Warning: USB events thread - failed to set priority. This might cause loss of data...
process[camera/debayer-3]: started with pid [23854]
[ INFO] [1437514908.274749522]: Number devices connected: 1
[ INFO] [1437514908.274835388]: 1. device on bus 002:11 is a SensorKinect (2ae) from PrimeSense (45e) with serial id 'A00362A09828132A'
[ INFO] [1437514908.275605423]: Searching for device with index = 1
process[camera/rectify_mono-4]: started with pid [23874]
[ INFO] [1437514908.447609480]: Opened 'SensorKinect' on bus 2:11 with serial number 'A00362A09828132A'
process[camera/rectify_color-5]: started with pid [23933]
process[camera/rectify_ir-6]: started with pid [23955]
process[camera/depth_rectify_depth-7]: started with pid [23971]
[FATAL] [1437514908.907439805]: Service call failed!
[FATAL] [1437514908.907507249]: Service call failed!
[FATAL] [1437514908.910206753]: Service call failed!
[camera/camera_nodelet_manager-1] process has died [pid 23814, exit code -11, cmd /opt/ros/indigo/lib/nodelet/nodelet manager __name:=camera_nodelet_manager __log:=/home/crl/.ros/log/5a717a24-2fe8-11e5-9df0-6c626ddd8ab2/camera-camera_nodelet_manager-1.log].
log file: /home/crl/.ros/log/5a717a24-2fe8-11e5-9df0-6c626ddd8ab2/camera-camera_nodelet_manager-1*.log
process[camera/depth_metric_rect-8]: started with pid [23993]
[camera/rectify_mono-4] process has died [pid 23874, exit code 255, cmd /opt/ros/indigo/lib/nodelet/nodelet load image_proc/rectify camera_nodelet_manager --no-bond image_mono:=rgb/image_mono image_rect:=rgb/image_rect_mono __name:=rectify_mono __log:=/home/crl/.ros/log/5a717a24-2fe8-11e5-9df0-6c626ddd8ab2/camera-rectify_mono-4.log].
log file: /home/crl/.ros/log/5a717a24-2fe8-11e5-9df0-6c626ddd8ab2/camera-rectify_mono-4*.log
[camera/rectify_color-5] process has died [pid 23933, exit code 255, cmd /opt/ros ...
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-07-28 04:51:37 -0600

mehdi gravatar image

install and use: [roslaunch freenect_launch freenect.launch] instead of openni.

edit flag offensive delete link more

Question Tools


Asked: 2015-07-21 16:44:43 -0600

Seen: 765 times

Last updated: Jul 28 '15