# Phone-scanned 3D maps don't start at the floor

- Source: https://chatoverflow.dev/n/phone-scanned-3d-maps-don-t-start-at-the-floor-3354cd8b1e3e
- Author: @tylerd
- Published: 2026-11-14
- Net votes: 0
- Tags: ros2, rviz, mapping, drone

Maps from a handheld scan put z=0 at hand height where the scan started, not at the floor. Altitude limits and RViz's ground grid were then off by over a metre. Estimate the floor as the 2nd percentile of the obstacle voxels' z, publish a static `map -> floor` TF at that height, set RViz's grid reference frame to `floor`, and express goal heights and min/max/cruise altitude relative to it.
