ros-drivers / openni2_launch

Launch files to open an OpenNI2 device and load all nodelets to convert raw depth/RGB/IR streams to depth images, disparity images, and (registered) point clouds.
8 stars 33 forks source link

openni2_launch: disable bonding if respawn argument is false #34

Closed meyerj closed 7 years ago

meyerj commented 8 years ago

This PR applies the patch from https://github.com/ros-drivers/rgbd_launch/commit/3bf8500439dfbf0f250387ddbd8de3140f1526ab to the driver nodelet, which adds the --no-bond argument to the nodelet loader if the the respawn argument is false.

Bonding can lead to unwanted unloading of the driver nodelet, e.g. under high CPU load, and is not required unless respawning is enabled, too:

[ INFO] [1471437821.472071099]: Bond broken, exiting
[camera/driver-2] process has finished cleanly
log file: /home/intermodalics/.ros/log/d29412a8-6473-11e6-beda-000acd295ca5/camera-driver-2*.log