Robotics StackExchange | Archived questions

Openni_tracker crushes when openni2_launch starts

Hi, I'm using the Asus Xtion Pro Live with ROS Hydro on Ubuntu 12.10 64-bit. I have a problem with opennitracker! I need to start both opennitracker and openni2launch, but when I launch openni2launch, opennitracker gives the following error: "InitFromXml failed: Failed to set USB interface!". If I launch only opennitracker, it works! Do you know where is the problem? How can I solve it?

Asked by Flavia on 2013-12-11 01:03:20 UTC

Comments

Answers

isnt your problem coming from the fact you are trying to use OPENNI1 with OPENNI2 ?

Asked by sparksmith on 2014-03-06 07:19:58 UTC

Comments

@sparksmith answer is likely right. If you need to use openni2_launch to get your Xtion to work at all, you could use openni2_tracker instead. The base repo actually doesn't do much (it seems due to licensing issues with NITE2), but github user @nxdefiant submitted a pull request that mostly provides the functionality of the original openni_tracker.

The other solution would be to get your Asus to work with openni_launch and then use openni_tracker. See my answer here for how you might do that.

Asked by jarvisschultz on 2014-03-06 08:37:52 UTC

Comments

Didn't realize the question was a few months old, maybe someone still cares!

Asked by jarvisschultz on 2014-03-06 08:38:20 UTC

to be honest I do... I am currently struggling with openni2_tracker because of problem with orocos and was searching for different things that might help in successfully running any of the possible trackers.

Asked by sparksmith on 2014-03-06 08:47:48 UTC

@sparksmith you need to provide the full path to the orocos_kdl package inside your CMakelist. Something like this:

find_package(orocos_kdl REQUIRED) By itself... Then there should not be any orocos path issues. Kinda lame. I don't know what catkin does not figure this out on its own.

Asked by Pototo on 2016-07-07 12:35:35 UTC

Now, how can I run openni2_tracker and openni2_launch at the same time?

Asked by Pototo on 2016-07-07 16:08:56 UTC

At this point, I'm unaware of any solution that allows both to be run simultaneously.

Asked by jarvisschultz on 2016-07-14 12:32:57 UTC