Elevation map

Also known as: 2.5D map

On this page 7

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.

StageOperationPurpose
Point transformationSensor frame to map framePlace points at the correct grid location
Height fusionVariance-weighted update per cellCombine repeated observations
Uncertainty propagationAdd pose and motion noiseReflect drift since the last observation
Outlier rejectionDiscard implausible pointsRemove reflections and dynamic objects
InpaintingInterpolate empty cellsFill occlusion shadows for planning
Feature extractionCompute slope and roughnessPrepare traversability estimates
Processing stages of a typical elevation mapping pipeline

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.

ParameterTypical rangeEffect of increasing it
Cell resolution2 to 20 cmLess detail, lower memory and compute
Map window size5 to 50 mLonger planning horizon, more memory
Update rate5 to 30 HzFresher data, higher processor load
Height noise modelRange-dependent varianceMore conservative fusion of distant points
Maximum step heightRobot-specific, often 5 to 30 cmMore terrain classified as passable
Typical parameter values and their influence

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.

RepresentationStored per cellStrengthMain limitation
Occupancy gridOccupancy probabilitySimple and fast for indoor floorsAssumes flat ground
Elevation mapHeight and varianceCaptures slopes and steps cheaplyOne surface per cell
Multi-level surface mapSeveral height intervalsHandles bridges and tunnelsMore complex fusion
Voxel or octree mapOccupancy per 3D cellFull 3D geometryHigh memory and compute
CostmapNavigation cost valueDirectly usable by plannersDerived, not raw geometry
Elevation map versus related navigation maps

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 conditionTypical classificationPlanner response
Gentle slope, low roughnessTraversableLow cost, normal speed
Slope near robot limitRiskyHigh cost, reduced speed
Step above maximum heightObstacleLethal cost, avoid entirely
High variance or no dataUnknownAvoid or approach slowly to observe
Negative step such as a ditchObstacleAvoid, keep safety margin
Terrain feature to planning response

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.