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

Openni_tracker crushes when openni2_launch starts

asked 2013-12-11 00:03:20 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

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

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2014-03-06 07:37:52 -0500

@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.

edit flag offensive delete link more

Comments

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

jarvisschultz gravatar image jarvisschultz  ( 2014-03-06 07:38:20 -0500 )edit

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.

sparksmith gravatar image sparksmith  ( 2014-03-06 07:47:48 -0500 )edit

@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.

Pototo gravatar image Pototo  ( 2016-07-07 12:35:35 -0500 )edit

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

Pototo gravatar image Pototo  ( 2016-07-07 16:08:56 -0500 )edit

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

jarvisschultz gravatar image jarvisschultz  ( 2016-07-14 12:32:57 -0500 )edit
0

answered 2014-03-06 06:19:58 -0500

sparksmith gravatar image

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

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-12-11 00:03:20 -0500

Seen: 863 times

Last updated: Mar 06 '14