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

Revision history [back]

Hi acp,

I am getting exactly the same error. Could you please tell me how you solved it?

I saw : http://answers.ros.org/question/10990/problem-starting-openni-in-ros-electric and tried using : oslaunch openni_camera openni_node.launch

I was able to see the rgb data in rviz but it is very unstable. I changed Image topic from rgb to depth and it crashed. I got following errors:- terminate called after throwing an instance of 'openni_wrapper::OpenNIException' what(): virtual void openni_wrapper::OpenNIDevice::startDepthStream() @ /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 @ 257 : starting depth stream failed. Reason: Xiron OS got an event timeout! [openni_node1-2] process has died [pid 11093, exit code -6]. log files: /home/nirala/.ros/log/1acd4b66-6c5d-11e1-b338-b8ac6f6bfba7/openni_node1-2*.log

When I restart it then I am getting the follwoing error:- 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 12086, exit code -6]. log files: /home/nirala/.ros/log/d289bd42-6c5e-11e1-96e9-b8ac6f6bfba7/openni_node1-2.log

Kindly help me out.