I can get the package working for one single camera. I would like to have multiple cameras creating their own map.
I have tried launching multiple instances of the required nodes (under different namespaces). Launching multiple Openni nodes works fine, and I get separate RGB and Depth image topics for each of them. However, when I launch the second camera, the RGBD_Proc node crashes for some reason (no error, just freezes).
I believe it may have to do with boost::sharedptr sync, since the program freezes just after calling
sync_->registerCallback(boost::bind(&RGBDImageProc::RGBDCallback, this, _1, _2, _3, _4));
on the second camera. However I cannot find the error since that code is quite advanced for me.
Do you know what can be happening when trying to run several instances of the RGBD_Proc node?
Hi,
I can get the package working for one single camera. I would like to have multiple cameras creating their own map. I have tried launching multiple instances of the required nodes (under different namespaces). Launching multiple Openni nodes works fine, and I get separate RGB and Depth image topics for each of them. However, when I launch the second camera, the RGBD_Proc node crashes for some reason (no error, just freezes).
I believe it may have to do with
boost::sharedptr sync
, since the program freezes just after callingsync_->registerCallback(boost::bind(&RGBDImageProc::RGBDCallback, this, _1, _2, _3, _4));
on the second camera. However I cannot find the error since that code is quite advanced for me.
Do you know what can be happening when trying to run several instances of the RGBD_Proc node?
Thanks in advance.