Gazebo Sensors : Sensor models for simulation

April 17, 2026 · View on GitHub

Maintainer: ichen AT openrobotics DOT org

GitHub open issues GitHub open pull requests Discourse topics Hex.pm

BuildStatus
Test coveragecodecov
GitHub: Ubuntu NobleUbuntu CI
Jenkins: Ubuntu NobleBuild Status
Jenkins: HomebrewBuild Status
Jenkins: WindowsBuild Status

Gazebo Sensors, a component of Gazebo, provides numerous sensor models designed to generate realistic data from simulation environments. Gazebo Sensors is used in conjunction with Gazebo Libraries, and especially relies on the rendering capabilities from Gazebo Rendering and physics simulation from Gazebo Physics.

Table of Contents

Features

Install

Usage

Folder Structure

Code of Conduct

Contributing

Versioning

License

Features

Gazebo Sensors provides a set of sensors models that can be configured at run time to mimic specific real-world sensors. A noise model is also provided that can be used to introduce Gaussian or custom noise models into sensor streams.

Supported Sensors

Sensor NameAPI LinkSDF ElementNotes
Air Pressure SensorAirPressureSensor<air_pressure>Measures atmospheric pressure
Air Speed SensorAirSpeedSensor<air_speed>Measures the speed of air relative to the sensor
AltimeterAltimeterSensor<altimeter>Measures altitude above a reference point
Bounding Box CameraBoundingBoxCameraSensor<camera>Captures images with bounding box annotations
CameraCameraSensor<camera>Captures standard RGB images
Depth CameraDepthCameraSensor<depth_camera>Captures depth information
Doppler Velocity LogDopplerVelocityLogN/AMeasures relative velocity of an underwater vehicle
Force-TorqueForceTorqueSensor<force_torque>Measures forces and torques on a joint
GPU LidarGpuLidarSensor<lidar>Simulates a 3D laser scanner using GPU acceleration
IMUImuSensor<imu>Measures linear acceleration and angular velocity
Logical CameraLogicalCameraSensor<logical_camera>Detects models within a specified volume
MagnetometerMagnetometerSensor<magnetometer>Measures magnetic field strength and direction
NavSat (GPS)NavSatSensor<navsat>Simulates GPS-like positioning sensor
RGBD CameraRGBDCameraSensor<camera>Captures RGB + Depth streams
Segmentation CameraSegmentationCameraSensor<camera>Captures labeled segmentation images
Thermal CameraThermalCameraSensor<camera>Detects heat signature
Wide Angle CameraWideAngleCameraSensor<camera>Captures wide field of view

Install

See the installation tutorial.

Usage

Please refer to the examples directory.

A list of sensors and SDF examples can be found in the SDF specification

Folder Structure

Refer to the following table for information about important directories and files in this repository.

├── examples                  Example programs.
├── include/gz/sensors        Header files that will be installed.
├── src                       Source files and unit tests.
├── test
│    ├── integration          Integration tests.
│    ├── performance          Performance tests.
│    └── regression           Regression tests.
├── tutorials                 Tutorials, written in markdown.
├── Changelog.md              Changelog.
├── CMakeLists.txt            CMake build script.
└── README.md                 This readme.

Contributing

Please see the contribution guide.

Code of Conduct

Please see CODE_OF_CONDUCT.md.

Versioning

This library uses Semantic Versioning. Additionally, this library is part of the Gazebo project which periodically releases a versioned set of compatible and complimentary libraries. See the Gazebo website for version and release information.

License

This library is licensed under Apache 2.0. See also the LICENSE file.