ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
The Lidar's laserscan/ranges work in this way:
It detects and record in terms of an array in a string of Float32.
So in the lets say the object is 2 meters between the Lidar 0 degree to 3 degree:
Range: [2.0 2.0 2.0 0.0 0.0 0.0 ....]
More on: http://docs.ros.org/en/api/sensor_msgs/html/msg/LaserScan.html
Hope it helps.