ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

DKozlovskis's profile - activity

2015-05-13 08:16:58 -0500 received badge  Famous Question (source)
2015-05-05 09:19:46 -0500 received badge  Nice Question (source)
2015-04-05 09:48:03 -0500 received badge  Notable Question (source)
2015-03-17 03:47:27 -0500 received badge  Popular Question (source)
2015-03-06 08:27:00 -0500 received badge  Student (source)
2015-03-04 01:32:07 -0500 received badge  Enthusiast
2015-02-24 07:30:16 -0500 asked a question Sharing rgbd device between ros and openni2 applications

Hello all!

I am trying to work with xtion pro live device, openni2 & and nite2.
Is there a way to share device between ros nodes after launching openni2 camera drivers, in order to write additional applications for hand/skeleton tracking using NITE2?

I saw already similar question here: http://answers.ros.org/question/19545... -which basically tells that skeleton tracking cannot be used after launching camera. And this is due to the fact explained in Openni cookbook:
"Unlike OpenNI 1.x, where we could share a device between two or more applications at the same time, we can't share a sensor's output at all with OpenNI 2.x. In the new design, the first application always locks the device; not only is there no way for the second app to change settings of sensors, there is no way to even use the output of locked sensors in any way as well."

However, as far I am still wondering if it is possible to initialize openni2 or nite2 by sharing a pointer of devices as it can be done by e.g.:
nite::UserTracker uTracker;
niStatus = uTracker.create(&device);

Did anyone succeed doing this?