An elevation map is a grid-based terrain model in which each two-dimensional cell stores the estimated height of the ground surface, usually together with an uncertainty value. In robotics navigation it sits between a flat occupancy grid and a full three-dimensional volumetric map, which is why it is also called a 2.5D map: it captures one height per location but cannot represent overhangs or multiple surfaces stacked above each other.
Legged robots, planetary rovers, agricultural vehicles and off-road platforms rely on elevation maps because flat-world assumptions fail on rough terrain. A planner that knows the height of every cell can compute slope, step height and roughness, and from these derive whether the robot can safely drive or walk across a region.
How an elevation map is built from sensor data
An elevation map is built by projecting three-dimensional range measurements onto a horizontal grid and fusing all points that fall into the same cell into one height estimate. Typical sources are lidar point clouds, stereo cameras, structured-light or time-of-flight depth cameras, and occasionally radar.
Each measurement is first transformed from the sensor frame into the map frame using the robot pose estimate from localization. The height of the point is then fused with the existing cell value, commonly with a one-dimensional Kalman filter that weights each observation by its variance. Sensor noise grows with range, so distant points contribute less certainty than nearby ones.
Many implementations are robot-centric: the map moves with the robot and covers a window of perhaps 5 to 20 meters around it. This design keeps memory bounded and lets the map tolerate drift in odometry, because old cells leave the window before accumulated pose error makes them unreliable.
The table below summarizes the main processing stages and what each one contributes.
| Stage | Operation | Purpose |
|---|---|---|
| Point transformation | Sensor frame to map frame | Place points at the correct grid location |
| Height fusion | Variance-weighted update per cell | Combine repeated observations |
| Uncertainty propagation | Add pose and motion noise | Reflect drift since the last observation |
| Outlier rejection | Discard implausible points | Remove reflections and dynamic objects |
| Inpainting | Interpolate empty cells | Fill occlusion shadows for planning |
| Feature extraction | Compute slope and roughness | Prepare traversability estimates |
Cell layers and key parameters
A practical elevation map is a multi-layer grid: the height layer is the core, and additional layers hold derived or auxiliary data at the same resolution. Common layers are height variance, minimum and maximum height, surface normal, slope, roughness, observation time and a traversability score.
The choice of cell resolution is the most consequential parameter. Fine cells capture small steps and rocks but increase memory, computation and the number of empty cells; coarse cells smooth away hazards that matter to small robots.
| Parameter | Typical range | Effect of increasing it |
|---|---|---|
| Cell resolution | 2 to 20 cm | Less detail, lower memory and compute |
| Map window size | 5 to 50 m | Longer planning horizon, more memory |
| Update rate | 5 to 30 Hz | Fresher data, higher processor load |
| Height noise model | Range-dependent variance | More conservative fusion of distant points |
| Maximum step height | Robot-specific, often 5 to 30 cm | More terrain classified as passable |
Values depend strongly on the platform. A quadruped robot stepping over curbs may use 4 cm cells, while a large agricultural tractor can work with 20 cm cells across a field.
How it compares with other map representations
An elevation map trades geometric expressiveness for efficiency. It is far lighter than a voxel map but richer than a binary occupancy grid, which only marks cells as free, occupied or unknown on a single plane.
| Representation | Stored per cell | Strength | Main limitation |
|---|---|---|---|
| Occupancy grid | Occupancy probability | Simple and fast for indoor floors | Assumes flat ground |
| Elevation map | Height and variance | Captures slopes and steps cheaply | One surface per cell |
| Multi-level surface map | Several height intervals | Handles bridges and tunnels | More complex fusion |
| Voxel or octree map | Occupancy per 3D cell | Full 3D geometry | High memory and compute |
| Costmap | Navigation cost value | Directly usable by planners | Derived, not raw geometry |
In practice the representations are layered. An elevation map often feeds a costmap, where slope and step height become cost values that a global path planner or local planner can consume without knowing anything about terrain geometry.
Deriving traversability for path planning
Traversability analysis converts raw height into a judgment of whether and how easily the robot can cross each cell. The analysis usually combines several geometric features computed over a neighborhood roughly the size of the robot footprint.
- Slope from a fitted plane or surface normal, compared with the maximum climbable incline.
- Step height as the largest height difference between neighboring cells.
- Roughness as the residual of the plane fit, indicating loose or uneven ground.
- Uncertainty from the variance layer, so poorly observed cells are treated cautiously.
The decision table below shows how a planner typically reacts to these features.
| Observed condition | Typical classification | Planner response |
|---|---|---|
| Gentle slope, low roughness | Traversable | Low cost, normal speed |
| Slope near robot limit | Risky | High cost, reduced speed |
| Step above maximum height | Obstacle | Lethal cost, avoid entirely |
| High variance or no data | Unknown | Avoid or approach slowly to observe |
| Negative step such as a ditch | Obstacle | Avoid, keep safety margin |
Legged systems go further and use the map for foothold selection, choosing individual contact points with a flat local surface instead of judging whole regions.
Limitations and common failure modes
The single height per cell assumption is the defining weakness. Under a table, a bridge or tree canopy, the map either records the upper surface and blocks a valid path, or records the ground and misses a collision hazard at body height.
Pose drift corrupts the map when the robot revisits terrain: a small vertical error in the estimated pose creates a false step at the seam between old and new data. Robot-centric designs and variance growth over time reduce this, but they cannot remove it.
Other frequent problems include occlusion shadows behind rocks that leave cells empty, tall grass that sensors report as solid ground, water and glass surfaces that return no reliable points, and moving people or vehicles that leave ghost heights unless dynamic points are filtered or cells are cleared when free space is observed.
A plain-language summary
Picture a sheet of graph paper laid over the ground in front of a robot. In every square, the robot writes down how high the ground is at that spot. That sheet is an elevation map.
With these numbers the robot can tell where the ground rises gently, where there is a curb it cannot climb and where a ditch drops away. It then picks a route that stays on ground it can safely cross. The map cannot describe two levels at once, such as the floor and the tabletop above it, so robots often combine it with other maps.
An example from practice
An inspection team deploys a four-legged robot to read gauges at an industrial plant with metal grating, stairs and cable trays crossing the walkways. The robot carries two depth cameras and a lidar and builds a robot-centric elevation map of 8 by 8 meters at 4 cm resolution, updated about 20 times per second.
From this map the controller computes slope and step height around each leg. When the robot reaches a cable tray 12 cm high, the map marks it as a step within the robot limit, and the foothold planner places the feet on flat grating on both sides. At a 25 cm ledge beyond the robot limit, the cells receive lethal cost and the path planner selects the nearby stairs instead.
The result is that the robot completes its route without operator intervention, while a wheeled platform using a flat occupancy grid would have stopped at the first cable tray.