RepositoryC++
gazebosim

gazebosim/gz-math

General purpose math library for robot applications.

73stars
93forks
58issues
4views

Gazebo Math : Math classes and functions for robot applications

Maintainer: scpeters AT openrobotics DOT org

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

BuildStatus
Test coveragecodecov
Ubuntu NobleBuild Status
HomebrewBuild Status
WindowsBuild Status

Gazebo Math, a component of Gazebo, provides general purpose math classes and functions designed for robotic applications.

Table of Contents

Features

Gazebo Math provides a wide range of functionality, including:

  • Type-templated pose, matrix, vector, and quaternion classes.
  • Shape representations along with operators to compute volume, density, size and other properties.
  • Classes for material properties, mass, inertial, temperature, PID, kmeans, spherical coordinates, and filtering.
  • Optional Eigen component that converts between a few Eigen and Gazebo Math types.

Install

See the installation tutorial.

Usage

Please refer to the examples directory.

Folder Structure

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

gz-math
├── examples                 Example programs.
├── include/gz/math          Header files.
├── src                      Source files and unit tests.
│   └── graph                Source files for the graph classes.
│   └── python_pybind11      Pybind11 Python interfaces.
│   └── ruby                 SWIG Ruby interfaces.
├── eigen3                   Files for Eigen component.
├── test
│    ├── integration         Integration tests.
│    ├── performance         Performance tests.
│    └── regression          Regression tests.
├── tutorials                Tutorials, written in markdown.
├── Changelog.md             Changelog.
└── CMakeLists.txt           CMake build script.

Contributing

Please see the contributing 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.

Similar Projects

Discover other similar projects and AI models.

RepositoryC++
gazebosim/gz-sim

Open source robotics simulator. The latest version of Gazebo.

1.6k
Dec 1, 2026
RepositoryC++
gazebosim/gz-sensors

Provides numerous sensor models designed to generate realistic data from simulation environments.

178
Nov 26, 2026
RepositoryC++
ClickHouse/ClickHouse

ClickHouse® is a real-time analytics database management system

51.3k
Dec 1, 2026
RepositoryC++
petercorke/robotics-toolbox-python

Robotics Toolbox for Python

3.6k
Dec 1, 2026
RepositoryC++
gazebosim/sdformat

Simulation Description Format (SDFormat) parser and description files.

223
Nov 24, 2026
RepositoryC++
gazebosim/gz-gui

Builds on top of Qt to provide widgets which are useful when developing robotics applications, such as a 3D view, plots, dashboard, etc, and can be used together in a convenient unified interface.

105
Nov 26, 2026
RepositoryC++
gazebosim/gz-physics

Abstract physics interface designed to support simulation and rapid development of robot applications.

95
Nov 24, 2026
RepositoryC++
gazebosim/gz-transport

Transport library for component communication based on publication/subscription and service calls.

56
Nov 30, 2026
RepositoryPython
ManimCommunity/manim

A community-maintained Python framework for creating mathematical animations.

43.3k
Dec 3, 2026