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

Visualising the skeleton from openni_tracker in rviz

asked 2012-03-07 23:10:08 -0500

kameleon gravatar image

I'm trying to display the skeleton that the openni_tracker detects in rviz. I just installed pi_tracker and ran the skeleton_tracker node that uses it's own program for visualisation, but I know you can track the skeleton in rviz.

The TF display in rviz should be ok, it reports that it successfully found all the /tf-s used for different body parts, but now I don't know how to represent them and visualise them with markers, but I can't find any published topics with the message type that the Marker needs.

First thing I'd like to ask is: do I need another node or something that could publish the topics readable by the Marker? Second: Do I need to use a Marker display type or something else, like MarkerArray instead?

edit retag flag offensive close merge delete

Comments

Now I tried again, and this time I can't even get the tf's to work. When I rosrun openni_tracker, it works, but in rviz, there are no fixed frames available. When I roslaunch openni_camera.launch, I can find the /openni_camera frame, but the TF display can't find the tracker's body parts transforms

kameleon gravatar image kameleon  ( 2012-03-14 00:27:45 -0500 )edit

I don't remember what exactly I did last time that got it working. I bet that when it worked if I had zoomed out as Pi robot says, I would definitely be able to see the /tf's.

kameleon gravatar image kameleon  ( 2012-03-14 00:31:01 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2012-03-08 01:20:46 -0500

Alireza gravatar image

You can visualize tf by setting the Fixed frame to /openni_camera or something like /head in Rviz! it shows every part of tracked human with a tf related to that part!

edit flag offensive delete link more

Comments

@kameleon If you still don't see the TF frames after following @Alireza's suggestion, make sure you zoom way out in RViz using your mouse wheel--I once found that the frames were just out of the default view.

Pi Robot gravatar image Pi Robot  ( 2012-03-08 01:29:11 -0500 )edit

Question Tools

Stats

Asked: 2012-03-07 23:10:08 -0500

Seen: 1,612 times

Last updated: Mar 08 '12