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

Openni launch process has died

asked 2012-04-30 05:07:21 -0600

vgaspar gravatar image

When running : roslaunch openni_camera openni_node.launch

I face the following problem:

[ INFO] [1335797962.331964828]: [/openni_node1] Number devices connected: 1 openni_node: /usr/include/boost/smart_ptr/shared_ptr.hpp:412: boost::shared_ptr<t>::reference boost::shared_ptr<t>::operator() const [with T = xn::NodeInfo, boost::shared_ptr<t>::reference = xn::NodeInfo&]: Assertion `px != 0' failed. [openni_node1-2] process has died [pid 25516, exit code -6]. log files: /home/vgaspar/.ros/log/11017564-92d5-11e1-bbff-001d60d75fe4/openni_node1-2.log

system : ubuntu 11.10 , ROS: electric

installed openni with sudo apt-get install ros-electric-openni-kinect

Thanks.

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted
0

answered 2012-04-30 06:52:14 -0600

kshitij gravatar image

try: roslaunch openni_launch openni.launch

edit flag offensive delete link more
1

answered 2012-06-12 05:24:42 -0600

updated 2012-06-12 05:29:36 -0600

I have the same problem under fuerte/12.04. I also get the boost assert (also mentioned in http://answers.ros.org/question/11925/ros-kinect-roslaunch-openni_launch-opennilaunch/). Before this assert, I get one threading-related python exception per process:

Exception AttributeError: AttributeError("'_DummyThread' object has no attribute '_Thread__block'",) in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored

The problem seems to be a conflict with the Linux driver. Removing it with

sudo modprobe -r gspca_kinect

and

sudo modprobe -r gspca_main

solves the problem.

edit flag offensive delete link more

Comments

After some more in-depth experiments, it seems that openni_camera is crashing often here on fuerte/12.04

Stéphane Magnenat gravatar image Stéphane Magnenat  ( 2012-06-12 07:07:21 -0600 )edit

thanks man, the remove method works for me! Fuerte on Ubuntu12.04 with openni-dev 1.5.2.23 and ps-engine 5.1.0.41

yangyangcv gravatar image yangyangcv  ( 2013-05-24 22:19:30 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2012-04-30 05:07:21 -0600

Seen: 1,718 times

Last updated: Jun 12 '12