Kinect node failing (both freenect and openni)

asked 2018-03-01 03:47:28 -0600

updated 2018-03-01 03:50:20 -0600

I am getting an error when i launch freenect or openni

roslaunch freenect_launch freenect.launch
roslaunch openni_launch openni.launch

The error is listed below

`camera/camera_nodelet_manager-1] process has died [pid 20440, exit code -6, cmd /opt/ros/kinetic/lib/nodelet/nodelet   manager __name:=camera_nodelet_manager __log:=/home/ubuntu/.ros/log/682c9cf4-1d32-11e8-b8c6-00044b65e5df/camera-camera_nodelet_manager-1.log].
log file: /home/ubuntu/.ros/log/682c9cf4-1d32-11e8-b8c6-00044b65e5df/camera-camera_nodelet_manager-1*.log
[FATAL] [1519897834.875999385]: Failed to load nodelet '/camera/ir_rectify_ir` of type `image_proc/rectify` to manager     `camera_nodelet_manager`

Additional debug information

USB device disappeared, cancelling stream 82 :(
USB camera marked dead, stopping streams
write_register: 0x0006 <= 0x00
send_cmd: cmd=0003 tag=0012 len=0004: -4
send_cmd: Output control transfer failed (-4)
write_register: send_cmd() returned -4
terminate called after throwing an instance of 'std::runtime_error'
what():  freenect_process_events error
edit retag flag offensive close merge delete


I've got the same error messages. Does anyone have a solution?

arseen gravatar image arseen  ( 2018-07-25 03:38:16 -0600 )edit

It's lack of memory . If you are using something like the RPI , use something more powerful .

Also try setting the respawn parameter true

chrissunny94 gravatar image chrissunny94  ( 2018-07-25 03:41:09 -0600 )edit

Thanks for the fast reply. In my setup, I already use a Odroid xu4, which is more powerful than the RPI, but the error msg still remains. I will try set te respawn parameter to true.

arseen gravatar image arseen  ( 2018-07-25 03:58:36 -0600 )edit