ros-drivers / openni_camera

A ROS driver for OpenNI depth (+ RGB) cameras.
49 stars 60 forks source link

Please Help! nodelet: /usr/include/boost/smart_ptr/shared_ptr.hpp:728: typename boost::detail::sp_dereference::type boost::shared_ptr::operator*() const [with T = xn::NodeInfo; typename boost::detail::sp_dereference::type = xn::NodeInfo&]: Assertion `px != 0' failed. #75

Open JIJI1555 opened 5 years ago

JIJI1555 commented 5 years ago

Hi, I am new to ROS. I'm using raspberry pi 3B+ connected to Kinect Xbox 360 running on Ubuntu Mate 18.04, ROS Melodic. Initially, when i 'roslaunch openni_launch openni.launch' Error: 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&) @ /home/pi/catkin_ws/src/openni_camera/openni_camera/src/openni_device.cpp @ 61 : creating depth generator failed. Reason: USB interface is not supported!

Therefore my approach is to install SensorKinect from git clone https://github.com/avin2/SensorKinect for my Kinect Xbox 360.

After completing the installation, I have proceed with 'roslaunch openni_launch openni.launch' Error: nodelet: /usr/include/boost/smart_ptr/shared_ptr.hpp:728: typename boost::detail::sp_dereference::type boost::shared_ptr::operator*() const [with T = xn::NodeInfo; typename boost::detail::sp_dereference::type = xn::NodeInfo&]: Assertion `px != 0' failed. Untitled

Please help. Thank you!!

travoltagumbie commented 3 years ago

AM having the same issue exactly as yours. Still trying to figure out a way around it. Its a hectic one