Ask Your Question
1

Do kinect topics depend on drivers

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

Karan gravatar image

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

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
1

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

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

Comments

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 -0500 )edit
1

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

gpsinghsandhu gravatar image

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

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

Comments

it helped me thnx bro :-)

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

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 -0500 )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 -0500 )edit
1

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 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

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

Seen: 218 times

Last updated: Aug 10 '12