0
$\begingroup$

Rosanswers logo

Dear friends.

I am new in ROS and I am trying to track the human skeleton by two different Kinects (from different angles and distances).

But I can not run the "openni_tracker" with two different nods like :

  • List item rosrun openni_tracker openni_tracker image:=/Kinect_1/rgb/image_color
  • List item rosrun openni_tracker openni_tracker image:=/Kinect_2/rgb/image_color

Just one of them works... and the other stoped by the ROS telling :

  • List item [ WARN] [1403525116.319161909]: Shutdown request received. [ WARN] [1403525116.319206167]: Reason given for shutdown: [new node registered with same name]

Does any one know how I could run this node two time paralleled in my computer?

Also, in case of the possible answer, the "openni_tracker" publish the output as a tfMessage on "/tf" topic. In case of two nodes working (by two different" camera, what will be the output of this node?

Thanks


Originally posted by Mobile_robot on ROS Answers with karma: 264 on 2014-06-23

Post score: 0

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

I don't know if you can run the openni_tracker on 2 kinects, but in this case I think the problem is that the second node you run has the same name as the first, which is then stopped. So I suggest you to make a launch file where you launch 2 nodes with different names and different parameters.


Originally posted by Tirjen with karma: 808 on 2014-06-24

This answer was ACCEPTED on the original site

Post score: 0


Original comments

Comment by Mobile_robot on 2014-06-24:
@Tirjen : Indeed, I tried and worked very well, Thanks

Comment by Tirjen on 2014-06-24:
If the problem is solved, please check the answer as correct

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.