Query Regarding Microsoft Kinect X-box 360
Hi ALL, We are working on pr2 robot and we are trying to configure Microsoft Xbox 360 on our pr2 robot ,We followed link below and installed ros-electric-openni-kinect, when we launch roslaunch openni_launch openni.launch we get the following error
INFO] [1356520739.620137369]: Number devices connected: 1 [ INFO] [1356520739.620220539]: 1. device on bus 007:05 is a Xbox NUI Camera (2ae) from Microsoft (45e) with serial id 'A00364A06774048A' [ INFO] [1356520739.621224615]: Searching for device with index = 1 [ INFO] [1356520739.655540796]: No matching device found.... waiting for devices. Reason: openniwrapper::OpenNIDevice::OpenNIDevice(xn::Context&, const xn::NodeInfo&, const xn::NodeInfo&, const xn::NodeInfo&, const xn::NodeInfo&) @ /tmp/buildd/ros-electric-openni-kinect-0.3.4/debian/ros-electric-openni-kinect/opt/ros/electric/stacks/opennikinect/opennicamera/src/opennidevice.cpp @ 61 : creating depth generator failed. Reason: The network connection has been closed
Killing XnSensorServer and removing module gspca_kinect did not work for us, our lsusb looks like this
pr2admin@c1:~$ lsusb Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 008: ID 0408:0003 Quanta Computer, Inc. Bus 002 Device 004: ID 0408:0907 Quanta Computer, Inc. Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 007 Device 005: ID 045e:02ae Microsoft Corp. Bus 007 Device 004: ID 045e:02ad Microsoft Corp. Bus 007 Device 003: ID 045e:02b0 Microsoft Corp. Bus 007 Device 002: ID 0409:005a NEC Corp. HighSpeed Hub Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 006 Device 003: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x Composite Device Bus 006 Device 002: ID 046d:0a04 Logitech, Inc. V20 portable speakers (USB powered) Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
is there any configurations or any other steps we are missing in order to bring up our kinect? please let us know Thanks in advance.
Asked by telxsipr2 on 2012-12-27 17:11:57 UTC
Comments
I think you forgot to post the actual error. The line given just says that 1 openni device is connected.
Asked by thebyohazard on 2012-12-29 03:33:21 UTC
The actual error INFO] [1356520739.620137369]: Number devices connected: 1 [ INFO] [1356520739.620220539]: 1. device on bus 007:05 is a Xbox NUI Camera (2ae) from Microsoft (45e) with serial id 'A00364A06774048A' [ INFO] [1356520739.621224615]: Searching for device with index = 1 [ INFO] [1356520739.655540796]: No matching device found.... waiting for devices. Reason: openni_wrapper::OpenNIDevice::OpenNIDevice(xn::Context&, const xn::NodeInfo&, const xn::NodeInfo&, const xn::NodeInfo&, const xn::NodeInfo&) @ /tmp/buildd/ros-electric-openni-kinect-0.3.4/debian/ros-electric-openni-kinect/opt/ros/electric/stacks/openni_kinect/openni_camera/src/openni_device.cpp @ 61 : creating depth generator failed. Reason: The network connection has been closed
Asked by telxsipr2 on 2012-12-30 18:08:46 UTC
There are 5 levels of verbosity in the ros logging system. The actual error will say 'ERROR' unless it's a lower level error (like an assertion failing). Maybe you could edit your question with the entire output of the program?
Asked by thebyohazard on 2012-12-31 03:37:32 UTC
When openni.launch is launched we get the following error message lines
pr2admin@c1:~$ roslaunch openni_launch openni.launch ... logging to /u/pr2admin/.ros/log/95f1b46c-5adc-11e2-aede-001517ebc515/roslaunch-c1-16275.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://c1:41914/
SUMMARY
PARAMETERS * /rosdistro * /camera/driver/rgb_frame_id * /camera/disparity_depth_registered/min_range * /camera/driver/rgb_camera_info_url * /camera/depth_registered/rectify_depth/interpolation * /camera/driver/depth_frame_id * /camera/depth/rectify_depth/interpolation * /camera/disparity_depth/max_range * /rosversion * /camera/driver/device_id * /camera/driver/depth_camera_info_url * /camera/disparity_depth/min_range * /camera/disparity_depth_registered/max_range
NODES /camera/depth/ rectify_depth (nodelet/nodelet) metric_rect (nodelet/nodelet) metric (nodelet/nodelet) points (nodelet/nodelet) /camera/rgb/ debayer (nodelet/nodelet) rectify_mono (nodelet/nodelet) rectify_color (nodelet/nodelet) / camera_nodelet_manager (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) /camera/ driver (nodelet/nodelet) register_depth_rgb (nodelet/nodelet) points_xyzrgb_depth_rgb (nodelet/nodelet) disparity_depth (nodelet/nodelet) disparity_depth_registered (nodelet/nodelet) /camera/ir/ rectify_ir (nodelet/nodelet) /camera/depth_registered/ rectify_depth (nodelet/nodelet) metric_rect (nodelet/nodelet) metric (nodelet/nodelet)
ROS_MASTER_URI=http://c1:11311
core service [/rosout] found process[camera_nodelet_manager-1]: started with pid [16303] process[camera/driver-2]: started with pid [16306] process[camera/rgb/debayer-3]: started with pid [16307] process[camera/rgb/rectify_mono-4]: started with pid [16308] process[camera/rgb/rectify_color-5]: started with pid [16316] process[camera/ir/rectify_ir-6]: started with pid [16329] process[camera/depth/rectify_depth-7]: started with pid [16345] process[camera/depth/metric_rect-8]: started with pid [16362] process[camera/depth/metric-9]: started with pid [16368] process[camera/depth/points-10]: started with pid [16373] process[camera/register_depth_rgb-11]: started with pid [16381] process[camera/depth_registered/rectify_depth-12]: started with pid [16415] process[camera/depth_registered/metric_rect-13]: started with pid [16426] process[camera/depth_registered/metric-14]: started with pid [16433] process[camera/points_xyzrgb_depth_rgb-15]: started with pid [16439] process[camera/disparity_depth-16]: started with pid [16451] process[camera/disparity_depth_registered-17]: started with pid [16463] process[camera_base_link-18]: started with pid [16470] process[camera_base_link1-19]: started with pid [16473] process[camera_base_link2-20]: started with pid [16480] process[camera_base_link3-21]: started with pid [16487] [ INFO] [1357800354.184575165]: Number devices connected: 1 [ INFO] [1357800354.184838119]: 1. device on bus 007:05 is a Xbox NUI Camera (2ae) from Microsoft (45e) with serial id 'A00364A06774048A' [ INFO] [1357800354.185881736]: Searching for device with index = 1 nodelet: /usr/include/boost/smart_ptr/shared_ptr.hpp:412: typename boost::detail::shared_ptr_traits::reference boost::shared_ptr< >::operator*() const [with T = xn::NodeInfo]: Assertion `px != 0' failed.
[camera_nodelet_manager-1] process has died [pid 16303, exit code -6].
log files: /u/pr2admin/.ros/log/95f1b46c-5adc-11e2-aede-001517ebc515/camera_nodelet_manager-1*.log
[FATAL] [1357800364.234834909]: Service call failed!
[FATAL] [1357800364.234845903]: Service call failed!
[FATAL] [1357800364.234880599]: Service call failed!
[FATAL] [1357800364.234896043]: Service call failed!
[FATAL] [1357800364.234927221]: Service call failed!
[FATAL] [1357800364.234957879]: Service call failed!
[FATAL] [1357800364.234985076]: Service call failed!
[FATAL] [1357800364.235015533]: Service call failed!
[FATAL] [1357800364.235115345]: Service call failed!
[FATAL] [1357800364.235275867]: Service call failed!
[camera/rgb/debayer-3] process has died [pid 16307, exit code 255].
log files: /u/pr2admin/.ros/log/95f1b46c-5adc-11e2-aede-001517ebc515/camera-rgb-debayer-3*.log
[camera/depth/metric_rect-8] process has died [pid 16362, exit code 255].
log files: /u/pr2admin/.ros/log/95f1b46c-5adc-11e2-aede-001517ebc515/camera-depth-metric_rect-8*.log
[camera/depth/metric-9] process has died [pid 16368, exit code 255].
log files: /u/pr2admin/.ros/log/95f1b46c-5adc-11e2-aede-001517ebc515/camera-depth-metric-9*.log
[camera/points_xyzrgb_depth_rgb-15] process has died [pid 16439, exit code 255].
log files: /u/pr2admin/.ros/log/95f1b46c-5adc-11e2-aede-001517ebc515/camera-points_xyzrgb_depth_rgb-15*.log
[camera/disparity_depth-16] process has died [pid 16451, exit code 255].
log files: /u/pr2admin/.ros/log/95f1b46c-5adc-11e2-aede-001517ebc515/camera-disparity_depth-16*.log
[camera/rgb/rectify_mono-4] process has died [pid 16308, exit code 255].
log files: /u/pr2admin/.ros/log/95f1b46c-5adc-11e2-aede-001517ebc515/camera-rgb-rectify_mono-4*.log
[camera/rgb/rectify_color-5] process has died [pid 16316, exit code 255].
log files: /u/pr2admin/.ros/log/95f1b46c-5adc-11e2-aede-001517ebc515/camera-rgb-rectify_color-5*.log
[camera/depth/points-10] process has died [pid 16373, exit code 255].
log files: /u/pr2admin/.ros/log/95f1b46c-5adc-11e2-aede-001517ebc515/camera-depth-points-10*.log
[camera/register_depth_rgb-11] process has died [pid 16381, exit code 255].
log files: /u/pr2admin/.ros/log/95f1b46c-5adc-11e2-aede-001517ebc515/camera-register_depth_rgb-11*.log
[camera/disparity_depth_registered-17] process has died [pid 16463, exit code 255].
log files: /u/pr2admin/.ros/log/95f1b46c-5adc-11e2-aede-001517ebc515/camera-disparity_depth_registered-17*.log Is there any installation steps we are missing to bring up the kinect ? Thanks in advance
Asked by telxsipr2 on 2013-01-09 19:54:04 UTC