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

Do kinect topics depend on drivers

asked 2012-08-10 01:04:00 -0600

Karan gravatar image

updated 2016-10-24 09:01:54 -0600

ngrennan gravatar image

I happened to have downloaded a bag file of Kinect which was recorded with the help of libfreenect driver. If i develop a node which is for kinect and that uses Openni driver. Will there be differences in the type of topics that are created by both drivers in terms of images and point clouds?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2012-08-10 08:25:52 -0600

To answer your question directly, yes, the different kinect drivers have different ROS APIs (meaning the topics they publish are different). You can take a look at the wiki pages for the different drivers (kinect_camera which uses libfreenect, and openni_camera, which uses the openni drivers) to compare.

edit flag offensive delete link more


Thanks it really helped. From this i draw that when i write a node for kinect running on different drivers in ros i should pay attention to the topic names. So that the subscription is not hampered.

Karan gravatar image Karan  ( 2012-08-10 19:19:59 -0600 )edit

answered 2012-08-10 05:19:00 -0600

gpsinghsandhu gravatar image

updated 2012-08-10 07:37:19 -0600

Whenever using a bag file you may play that file

rosbag - and then use rostopic to find revelent info

Update: Lorenz is correct, you can simply use rosbag info

edit flag offensive delete link more


it helped me thnx bro :-)

Sanket_Kumar gravatar image Sanket_Kumar  ( 2012-08-10 05:20:38 -0600 )edit

Much simpler: just use rosbag info. It will tell you the topics and types stored in the bag.

Lorenz gravatar image Lorenz  ( 2012-08-10 07:10:13 -0600 )edit

So in conclusion, you always have the same topics in a .bag file of kinect regardless of being recorded on a laptop having either libfreenect or openni driver? The main question being do drivers affect topics in a bag file.?

Karan gravatar image Karan  ( 2012-08-10 07:41:20 -0600 )edit

You use the rosbag info command and display the output in your question and using that I will be able to help as I have only worked with openni drivers.

gpsinghsandhu gravatar image gpsinghsandhu  ( 2012-08-10 08:05:55 -0600 )edit

Question Tools


Asked: 2012-08-10 01:04:00 -0600

Seen: 425 times

Last updated: Aug 10 '12