So, because i could not understand how i use the pointcloud_to_laserscan i am trying to write an own Node wich is subscribing a topic with PointCloud and publishing a topic LaserScan.
I have some understanding problems with LaserScan.
PointCloud is easy to understand.
because there u have geometry_msgs/Point32[] points with x,y,z.
But what is in LaserScan float32[] ranges?
where do i put x y z from point cloud in LaserScan?