Engineering analysis and field questions
LiDAR data must be interpreted with scan geometry, returns from real materials and the robot's coordinate frames. A range measurement does not identify an object or guarantee safe passage.
Why a glass door disappears from the scan
Depending on wavelength, material, incident angle and return-processing logic, a sensor can see a reflection, a surface behind the glass or no usable return. A maximum-range number printed in a product brochure does not resolve this situation.
Build a small material test: clear glass, glossy black plastic, metal, cardboard and a narrow obstacle. Test at the robot's mounting height over several distances and angles, then inspect the raw scan rather than only the obstacle layer created by navigation software. If transparent barriers remain critical to the task, add a separately validated sensing method.
Getting Cartesian points from ROS LaserScan
The message defines angle_min and angle_increment; the angle for ranges[i] is angle_min + i × angle_increment. For each valid range r, the planar coordinates are x = r × cos(angle) and y = r × sin(angle) in the scan frame.
Use TF transforms to move those points into the robot base or map frame. A poorly calibrated sensor offset can make a straight wall appear misplaced even if every range sample is internally consistent. Keep invalid, infinite and out-of-range returns distinguishable instead of silently replacing them with zero distance.
Does higher point density fix localization drift?
More scan points can improve matching when the scene contains useful geometry, yet a featureless corridor still gives a localization algorithm little information along its length. Repeated identical shelves also create ambiguous matches. An inertial sensor and wheel odometry can constrain motion between scans, while loop closure or markers can reduce accumulated drift under suitable conditions.
Test one route with doors open and closed, forklifts moving and two different shelf layouts. Measure how often the map-to-base transform jumps, how far the final docking pose differs from a reference and whether navigation succeeds after temporary loss of scan matching. Those outcomes are more useful than the number of points printed in a sensor datasheet.
How do 2D and 3D LiDARs change the minimum detectable obstacle?
A 2D laser can miss a shelf edge if its scan plane passes below it. A spinning or multilayer 3D scanner can observe more vertical structure, but point spacing grows with range and every beam has its own geometry. Small cables, poles and steps still require validation at the installed pitch and height.
Include glass, low-reflectivity fabric and rain-splashed surfaces in the environmental test. If the application involves personnel protection, a navigation point cloud must remain separate from the certified protective scanner and its safety outputs.