O'Reilly logo

Learning Robotics Using Python by Lentin Joseph

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Conversion of Point Cloud to laser scan data

We are using Kinect in this robot for replicating the function of expensive laser range scanner. Kinect can deliver Point Cloud data which contains the depth of each point of surrounding. The Point Cloud data is processed and converted to data equivalent to a laser scanner using the ROS depthimage_to_laserscan package. The main function of this package is to slice a section of the Point Cloud data and convert it to a laser scan equivalent data type. The Pointcloud2 data type is sensor_msgs/PointCloud2 and for the laser scanner, the data type is sensor_msgs/LaserScan. This package will perform this processing and fake the laser scanner. The laser scanner output can be viewed using RViz. In order to run ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required