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

How do I run the 'openni_tracker'

asked 2011-06-20 01:48:11 -0600

this post is marked as community wiki

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

Hi all,

i have done the following tutorial ' http://www.ros.org/wiki/openni_camera ' now i want to for tracking but i could not do anything mentioned on this page ' http://www.ros.org/wiki/openni_tracker '

Can anyone help me on this?

edit retag flag offensive close merge delete

Comments

rosrun openni_tracker openni_tracker After running above command I got the following message; but I could not get the view window. : New User 1 New User 2 Lost user 1 New User 1 Lost user 2 Lost user 1 New User 1 Lost user 1 New User 1 New User 2 Lost user 2 Lost user 1 New User 1
Jay gravatar image Jay  ( 2011-06-20 02:09:27 -0600 )edit
Please edit your post instead of commenting, the formatting is much better in the question.
tfoote gravatar image tfoote  ( 2011-06-20 05:39:22 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
4

answered 2011-06-20 05:40:15 -0600

this post is marked as community wiki

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

Openni_tracker doesn't display anything. You can view the frames using a transform visualization in rviz.

edit flag offensive delete link more
1

answered 2015-02-12 10:11:00 -0600

Many seem to be having a lot of issues utilizing openni_tracker. Hopefully this helps:

I am using ROS Hydro on Ubuntu 12.04 with a Microsoft Kinect. From top to bottom, this is what worked for me:

sudo apt-get install ros-<ros_distro>-openni-camera
sudo apt-get install ros-<ros_distro>-openni-launch
sudo apt-get install ros-<ros_distro>-openni-tracker

Go to this Dropbox from isura (Thanks) and download NITE-Bin-Linux-x64-v1.5.2.23.tar.zip. Extract the zip and tar into a temporary folder (i.e., ~/tmp).

cd ~/tmp/NITE-Bin-Dev-Linux-x64-v1.5.2.23/
sudo ./install.sh

Ensure your Microsoft Kinect is properly connected, then run:

roslaunch openni_launch openni_launch camera:=openni

In a separate terminal window run:

rosrun openni_tracker openni_tracker

In another terminal window run:

rosrun rviz rviz

In Rviz, change Global Options > Fixed Frame to openni_depth_optical_frame.

"Add" the visualization (bottom left) PointCloud2.

Change PointCloud2 >Topic to /openni/depth_registered/points (but whatever you pick works).

"Add" the visualization (bottom left) TF.

Stand in front of the Microsoft Kinect and make the "Psi Pose". Axes should appear on all your joints.

I hope this helps you. There are a lot of different versions of NITE out there and this is the one that happened to work for me.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2011-06-20 01:48:11 -0600

Seen: 2,207 times

Last updated: Feb 12 '15