Skip to Content
Learning Robotics using Python - Second Edition
book

Learning Robotics using Python - Second Edition

by Lentin Joseph
June 2018
Beginner to intermediate
280 pages
6h 58m
English
Packt Publishing
Content preview from Learning Robotics using Python - Second Edition

How to launch the OpenNI driver

You can connect the Kinect sensor to your computer using a USB interface and make sure it is detected on your PC using the dmesg command in the terminal. After setting up Kinect, we can start ROS's OpenNI driver to get data from the device.

The following command will open the OpenNI device and load all nodelets (see http://wiki.ros.org/nodelet for more information) to convert raw depth/RGB/IR streams to depth images, disparity images, and point clouds. The ROS nodelet package is designed to provide a way to run multiple algorithms in the same process with zero copy transport between algorithms:

    $ roslaunch openni_launch openni.launch  

After starting the driver, you can list out the various topics published ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learning Robotics using Python

Learning Robotics using Python

Lentin Joseph
Python Robotics Projects

Python Robotics Projects

Prof. Diwakar Vaish

Publisher Resources

ISBN: 9781788623315Supplemental Content