ros-drivers / freenect_stack

libfreenect based ROS driver
http://ros.org/wiki/freenect_stack
35 stars 52 forks source link

freenect_process_events error occasionally #40

Open suijingfeng opened 6 years ago

suijingfeng commented 6 years ago

I use turtlebot's kinect.launch.xml to launch this driver, this error occur occasionally, which cause me fail to build a map. the log is following, I dont know how to make this driver more stable.

terminate called after throwing an instance of 'std::runtime_error' what(): freenect_process_events error

[camera/camera_nodelet_manager-2] process has died [pid 27170, exit code -6, cmd /opt/ros/kinetic/lib/nodelet/nodelet manager name:=camera_nodelet_manager log:=/home/suijingfeng/.ros/log/b5a5953c-f616-11e7-a506-a0a8cde82b7d/camera-camera_nodelet_manager-2.log]. log file: /home/suijingfeng/.ros/log/b5a5953c-f616-11e7-a506-a0a8cde82b7d/camera-camera_nodelet_manager-2*.log

same with https://github.com/ros-drivers/freenect_stack/issues/31

gersonos commented 6 years ago

Hey man, I have the same problem as you. It happens occasionally and I cannot generate accurate maps. I mean, I've managed to make some of them when it doesn't crashes, but that's not the idea of this. I've looking for all kinds of variables on this without success. I know the problem resides on nodelet, and happens in freenect_launch and openni_launch.

Have you solved this issue? I'll be thankful

suijingfeng commented 6 years ago

@gersonos , updated it with apt-get update and apt-get upgrade, may be fixed by the author.

gersonos commented 6 years ago

Thanks for your reply suijing. I've tried and everything seems normal after it updates. Have you changed some ubuntu repositories? like the ones that comes after installing and the ros one?

elgarbe commented 5 years ago

Hi, I have the same problem and upgrading don't solve it. Does anybody know about a stable xbox360 kinect driver? freenect and openni seems to not work.