Robotics

What Is Sensor Fusion?

How robots, drones and cars combine imperfect sensors into one reliable estimate.

4 min read

Small tracked robot with sensors
Photo: Marília Castelli on Unsplash

In short

  • Sensor fusion combines data from several sensors (cameras, lidar, radar, IMU, wheel encoders, GNSS) into one estimate that is more accurate and more reliable than any single sensor.
  • The workhorse algorithms are Kalman filters (EKF, UKF) and, for maps, factor-graph optimisation.
  • Most problems in practice come from timing, calibration and coordinate frames, not from the maths.

Sensor fusion is how a robot, drone or car turns many imperfect signals into one trustworthy picture of itself and its surroundings. Every sensor has a weakness: GPS drops indoors, wheels slip, cameras struggle in the dark, and IMUs drift. Fused together, they cover each other’s gaps. This guide explains the main approaches in plain language and what it takes to make fusion work on a real machine.

What is sensor fusion?

Sensor fusion is the process of combining measurements from different sensors to estimate something none of them measures perfectly on its own: the robot’s position and speed, the location of an obstacle, or the state of a machine. A good fusion system also knows how uncertain each sensor is, and trusts it accordingly.

A simple example: a warehouse robot counts wheel rotations to know how far it moved (smooth, but drifts when wheels slip) and reads an IMU for rotation (fast, but drifts over time). A camera or lidar matched against a map gives an absolute position, but only a few times per second. Fusing all three gives a position that is smooth, fast and does not drift.

Three levels of fusion

LevelWhat is combinedExample
Low level (early)Raw or lightly processed dataProjecting lidar points onto camera images before detection
Feature levelExtracted featuresMatching visual features and IMU motion in visual-inertial odometry
Decision level (late)Outputs of separate detectors or estimatorsMerging a camera’s object list with a radar’s object list

Early fusion can extract more information but is sensitive to calibration and timing. Late fusion is simpler and more modular but may miss what only the combination reveals.

The algorithms behind it

Kalman filters. The Kalman filter keeps a running estimate in two steps: predict where the system should be, then update with new measurements. The extended Kalman filter (EKF) handles non-linear motion by linearising around the current estimate; the unscented Kalman filter (UKF) uses a set of sample points instead of derivatives (Macenski et al.).

In ROS 2, the robot_localization package implements both EKF and UKF and accepts an unlimited number of inputs from standard message types such as odometry, IMU and pose (Macenski et al.). It also provides a node that brings GPS data into the same frame (ROS docs).

Factor graphs and optimisation. When the robot also builds a map, methods based on graph optimisation (libraries such as GTSAM, g2o or Ceres) combine many measurements over time. This is the core of modern SLAM.

Learned fusion. In driver assistance and advanced robotics, neural networks increasingly fuse camera, lidar and radar data directly, for example in bird’s-eye-view perception models.

What breaks sensor fusion in practice

  1. Time. If sensor timestamps are off by tens of milliseconds, a fast-moving robot fuses data from different moments. Use hardware time sync (PTP) where possible.
  2. Calibration. The exact position and orientation of each sensor on the robot (extrinsics) and each sensor’s own parameters (intrinsics) must be measured and kept up to date.
  3. Coordinate frames. Mixing map, odometry and sensor frames is the most common bug. Keep the transform tree (tf2 in ROS 2) clean and documented.
  4. Wrong uncertainty. Covariance values copied from examples make the filter trust the wrong sensor. Tune them with real data.
  5. Silent failures. A blocked camera or slipping wheel must be detected and down-weighted, not trusted blindly.

From our work

For D-ARIA we engineered the software of an autonomous indoor drone that takes warehouse inventory with more than 99% accuracy (case study). As a robotics software development partner, we build ROS 2 autonomy, SLAM, sensor fusion and computer vision for robots and drones.

Technologies you will meet

AreaTypical tools
Robotics frameworksROS 2, robot_localization, Nav2, tf2, rosbag2
Maths librariesEigen, GTSAM, g2o, Ceres Solver
PerceptionOpenCV, PCL, Open3D, PyTorch for learned fusion
DronesPX4 with its EKF2 estimator, MAVLink
Hardware and timeIMUs, wheel encoders, lidar, radar, GNSS/RTK, PTP time sync, NVIDIA Jetson
CalibrationKalibr, camera-lidar calibration tools

Where sensor fusion shows up

  • Mobile robots: localisation in warehouses and factories.
  • Drones: stable flight and positioning indoors, where GPS is not available. See indoor drones for warehouse inventory.
  • Cars: driver assistance combining camera and radar.
  • Industrial machines: condition monitoring with vibration, temperature and current sensors.

Sensor fusion is the quiet foundation under most autonomy. When a robot “gets lost”, the root cause is usually here. To go further, read What is SLAM? and ROS 2 in production robots.

Frequently asked questions

What is sensor fusion in simple terms?

Combining data from several sensors to get an estimate that is more accurate and reliable than any single sensor.

What is a Kalman filter?

An algorithm that predicts the next state and then corrects it with new measurements. EKF and UKF are versions for non-linear systems.

What ROS 2 package does sensor fusion?

robot_localization provides EKF and UKF nodes that fuse odometry, IMU, pose and GPS data.

Why does sensor fusion fail on real robots?

Usually because of timestamp errors, poor calibration, mixed-up coordinate frames or wrong uncertainty settings.

Working on something like this?

Tell us where the product is stuck. We answer with a concrete next step.

Send a few lines about the product, the deadline and the team you have today. A senior engineer replies within two working days.