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

Running Ros Openni Tracker from bag files

asked 2012-05-10 22:44:16 -0500

tayyab gravatar image

updated 2014-04-20 14:09:33 -0500

ngrennan gravatar image

Hi, I have a bag file which has /camera/depth_registered/image_rect_raw. I was thinking to receive data and create depth nodes from this topic in ros openni tracker rather than the live data from the sensor. As far as i have investigated running on the recorded data in Openni works for only '.oni' files. ROS openni tracker works well with recorded oni file but how to make it run on the raw depth data from a bag file is the question. One option could be to run the NiViewer and record the data in an .oni file in parallel but it does not seem to be a nice solution as it will make the frame rate to drop low.

Any help would be appreciated thanks.

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
0

answered 2013-08-21 22:31:26 -0500

tayyab gravatar image

updated 2013-08-22 07:33:31 -0500

I managed to do it back then. You can find the respective piece of code here.

edit flag offensive delete link more
0

answered 2012-06-17 23:11:24 -0500

tayyab gravatar image

@GermanUser thanks for your help. The link which you gave is my own blog :) and in this post i have mentioned that this technique works as an alternative. In this post I explained how to run ros openni tracker with recorded '.oni' files not with bag files.

Thanks for the help though :)

edit flag offensive delete link more

Comments

Hi ! I know your message was posted a long time ago, but did you find a solution to run openni_tracker on a rosbag ? Because I have the same problem... Thanks

CarolineQ gravatar image CarolineQ  ( 2013-07-04 05:37:21 -0500 )edit

Hi Caroline, Yes, I managed to do it back then. You can find the respective piece of code here. http://tayyabnaseer.blogspot.de/2012/04/running-ros-openni-tracker-with.html

tayyab gravatar image tayyab  ( 2013-08-22 07:32:53 -0500 )edit
0

answered 2012-06-08 23:33:01 -0500

GermanUser gravatar image

updated 2012-06-08 23:33:45 -0500

Here is the answers, how you can run openni_tracker from bag files.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2012-05-10 22:44:16 -0500

Seen: 1,294 times

Last updated: Aug 22 '13