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

openni_kinect lauching error

asked 2011-06-27 07:05:23 -0500

vincent gravatar image

updated 2016-10-24 08:33:43 -0500

ngrennan gravatar image

Hi

The openni_kinect driver worked well on my computer, with Diamondback and Ubuntu 10.04 x64. But now when I try to start it, it gives an error, which is the same as in this thread openni launching errors

None of the solutions could solve the problem for me.

Before the error appears, I cleaned and reinstalled perception_pcl stack and perception_pcl_addons stack. Not sure if this is related to the error.(I did rosmake openni_kinect and openni_camera)

Here is the output

... logging to /home/vincent/.ros/log/093add86-a0ee-11e0-93c2-d4856407c2d5/roslaunch-vincent-desktop-1308.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://vincent-desktop:43042/

SUMMARY
========

PARAMETERS
 * /rosdistro
 * /openni_node1/use_indices
 * /openni_node1/depth_registration
 * /openni_node1/image_time_offset
 * /openni_node1/depth_frame_id
 * /openni_node1/depth_mode
 * /openni_node1/debayering
 * /rosversion
 * /openni_node1/projector_depth_baseline
 * /openni_node1/rgb_frame_id
 * /openni_node1/depth_rgb_translation
 * /openni_node1/depth_time_offset
 * /openni_node1/image_mode
 * /openni_node1/shift_offset
 * /openni_node1/device_id
 * /openni_node1/depth_rgb_rotation

NODES
  /
    openni_node1 (openni_camera/openni_node)
    kinect_base_link (tf/static_transform_publisher)
    kinect_base_link1 (tf/static_transform_publisher)
    kinect_base_link2 (tf/static_transform_publisher)
    kinect_base_link3 (tf/static_transform_publisher)

auto-starting new master
process[master]: started with pid [1322]
ROS_MASTER_URI=http://localhost:11311

setting /run_id to 093add86-a0ee-11e0-93c2-d4856407c2d5
process[rosout-1]: started with pid [1335]
started core service [/rosout]
process[openni_node1-2]: started with pid [1347]
process[kinect_base_link-3]: started with pid [1348]
process[kinect_base_link1-4]: started with pid [1349]
process[kinect_base_link2-5]: started with pid [1350]
process[kinect_base_link3-6]: started with pid [1357]
[ INFO] [1309200506.146912253]: [/openni_node1] Number devices connected: 1
[ INFO] [1309200506.147098848]: [/openni_node1] 1. device on bus 001:19 is a Xbox NUI Camera (2ae) from Microsoft (45e) with serial id 'A00366A18480046A'
[ INFO] [1309200506.151439147]: [/openni_node1] searching for device with index = 1
[ INFO] [1309200506.225302725]: [/openni_node1] Opened 'Xbox NUI Camera' on bus 1:19 with serial number 'A00366A18480046A'
[ INFO] [1309200506.260280871]: rgb_frame_id = '/openni_rgb_optical_frame' 
[ INFO] [1309200506.265424478]: depth_frame_id = '/openni_depth_optical_frame' 
[openni_node1-2] process has died [pid 1347, exit code -11].
log files: /home/vincent/.ros/log/093add86-a0ee-11e0-93c2-d4856407c2d5/openni_node1-2*.log

The log file says

[roscpp_internal] [2011-06-27 15:48:24,344] [thread 0x7feb0e4e47c0]: [DEBUG] UDPROS server listening on port [45680]
[roscpp_internal] [2011-06-27 15:48:24,354] [thread 0x7feb0e4e47c0]: [DEBUG] Started node [/openni_node1], pid [1347], bound on [vincent-desktop], xmlrpc port [59629], tcpros port [46407], logging to [/home/vincent/.ros/log/093add86-a0ee-11e0-93c2-d4856407c2d5/openni_node1-2.log], using [real] time
[roscpp_internal] [2011-06-27 15:48:24,364] [thread 0x7feb0e4e47c0]: [DEBUG] XML-RPC call [getParam] returned an error (-1): [Parameter [/openni_node1/num_worker_threads] is not set]
[roscpp_internal] [2011-06-27 15:48:24,596] [thread 0x7feb017e9700]: [DEBUG] Accepted connection on socket [7], new socket [16]
[roscpp_internal] [2011-06-27 15:48:24,597] [thread 0x7feb017e9700]: [DEBUG] TCPROS received a connection from [127.0.1.1:51450]
[roscpp_internal] [2011-06-27 15:48:24,597] [thread 0x7feb017e9700]: [DEBUG] Connection: Creating TransportSubscriberLink for topic [/rosout] connected to [callerid=[/rosout] address=[TCPROS connection to [127.0.1.1:51450 on socket 16]]]
[ros.openni_camera./openni_node1] [2011-06-27 15:48:26,146] [thread 0x7feb0e4e47c0]: [INFO] [/openni_node1] Number devices connected: 1
[ros.openni_camera./openni_node1] [2011-06-27 15:48:26,147] [thread 0x7feb0e4e47c0]: [INFO] [/openni_node1] 1. device on bus 001:19 is a Xbox NUI Camera (2ae) from Microsoft (45e) with serial id 'A00366A18480046A'
[ros ...
(more)
edit retag flag offensive close merge delete

Comments

did you install it from source? I'm just guessing but you could try to install by "sudo apt-get install ros-diamondback-openni-kinect"... then don't rosmake it and just run "roslaunch openni_camera openni_node.launch".
Bemfica gravatar image Bemfica  ( 2011-06-29 21:30:57 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2011-06-30 02:50:15 -0500

vincent gravatar image

Yes I installed it from source.

Not sure why, but "sudo apt-get install ros-diamondback-openni-kinect" did the trick.

Thanks guys!

edit flag offensive delete link more
1

answered 2011-06-29 15:19:25 -0500

dornhege gravatar image

I think your error is different than the ones in the other thread. The looked more like hardware problems.

I looks as something is misconfigured somehow. As far as I know the params that are accessed (producing the errors) are the ones that you can dynamic_reconfigure for the image streams. My guess is something there went wrong.

A quick grep revealed they aren't directly in the node code. I can't check more from here. You could search for them yourself or wait for someone who knows where they should have been configured.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2011-06-27 07:05:23 -0500

Seen: 405 times

Last updated: Jun 30 '11