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

Libfreenect driver on ros

asked 2017-10-30 07:58:37 -0500

tsw gravatar image

Can anyone tell me how to use libfreenect driver on ros with a python script? I am using kinect

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-10-30 12:33:00 -0500

Once you launch the driver, many topics will be published (point clouds, depth maps, RGB images, etc.). To work with these topics in Python, you simply need to subscribe to the correct topic and perform the desired processing in the callback. Check out the rospy tutorials for instructions on how to create Subscribers: http://wiki.ros.org/rospy/Tutorials

One note: the Kinect produces a lot of data. You may find it difficult to write Python code that can keep up (especially if you are working with the point clouds). In my experience, most people that use the Kinect do most of their processing in C++, and they usually use PCL.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2017-10-30 07:58:37 -0500

Seen: 145 times

Last updated: Oct 30 '17