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

Conversion of point cloud data to laser scan data

We are using Astra in this robot to replicate the function of an expensive laser range scanner. The depth image is processed and converted to the data equivalent of a laser scanner using ROS's depthimage_to_laserscan package (see http://wiki.ros.org/depthimage_to_laserscan for more information).

You can either install this package from the source code or use the Ubuntu package manager. Here is the command to install this package from the Ubuntu package manager

    $ sudo apt-get install ros-<version>-depthimage-to-laserscan

The main function of this package is to slice a section of the depth image and convert it to an equivalent laser scan data type. The ROS sensor_msgs/LaserScan message type ...

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