ROS2 Basics with Python: Having Trouble with Real Robot Laser Scan Data

I have trouble analyzing the laser scan data. When I do

self.min = min(msg.ranges)

it shows 0.07 while the robot is stand in the middle of the course and there is nothing close to it… I’ve tried to analyze the data with

ros2 topic echo /scan --csv > scan.csv

but there I only see 258 data points and according to the laser scanner it should have 446 data points.

Is there some description somewhere about the laser scanner that is used in the robot?

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.