RepositoryJupyter Notebook
based-robotics

based-robotics/mujoco-sysid

System identification with MuJoCo

107stars
4forks
0issues
1views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: system-identification

#1 Repository of the month

2
TINIX TRENDING·Topic: mujoco

#2 Repository of the month

1
TINIX TRENDING·Topic: system-identification

#1 Repository of the month

MuJoCo SysId

MuJoCo System Identification (mujoco-sysid) is a Python module designed to perform system identification using the MuJoCo physics engine. This module facilitates the estimation of model parameters to match the simulated dynamics with observed data, enhancing the accuracy and reliability of robotic simulations.

Features

  • Dynamic parameters: getters and setters for dynamic parameters of MuJoCo and MJX models.
  • Regressor models: energy and dynamics-based regressors for robotic systems.
  • Parameters representation: utilities for converting between dynamic parameters, Log-Cholesky parametrization and pseudo-inertia.

Installation

To install the module, run the following command:

pip install mujoco-sysid

In order to use with MJX use [mjx] or [mjx_cpu] for CPU-only version:

pip install mujoco-sysid[mjx]

Documentation

To be generated.

Examples

The demo is inspired by recent advancements in MuJoCo utilities, specifically the Levenberg-Marquardt nonlinear least squares method.

Our primary focus is on mechanical systems where the model structure is known, including the number of state variables and the configuration of the kinematic tree. While the dynamics of these systems can be inherently complex, the general forms of the equations are known and have already been implemented in MuJoCo. In this context, the task of identification is essentially to estimate the parameters within a structured model.

This repository includes the following examples:

  • Estimation of cart-pole inertial parameters through random forcing and LQR stabilization of the identified system
  • Identification of end-effector load for the Franka Emika Panda and compensation using inverse dynamics
  • Determination of mass, center of mass, and spatial inertia for a Skydio X2 Quadrotor following LTV LQR tracking attempts.

We hope these examples and utilities will be useful for all MuJoCo users and assist in resolving their system identification challenges.

For further questions and suggestions, please do not hesitate to create an issue or start a discussion on GitHub.

Similar Projects

Discover other similar projects and AI models.

RepositoryC++
google-deepmind/mujoco

Multi-Joint dynamics with Contact. A general purpose physics simulator.

18.6k
Nov 29, 2026
Repository
Developer-Y/cs-video-courses

List of Computer Science courses with video lectures.

85.1k
Nov 28, 2026
RepositoryPython
commaai/openpilot

openpilot is an operating system for robotics. Currently, it upgrades the driver assistance system on 300+ supported cars.

64.2k
Nov 26, 2026
RepositoryPython
microsoft/markitdown

Python tool for converting files and office documents to Markdown.

199.5k
Dec 2, 2026
RepositoryTypeScript
microsoft/vscode

Visual Studio Code

195.9k
Nov 30, 2026
RepositoryJupyter Notebook
borglab/gtsam

GTSAM is a library of C++ classes that implement smoothing and mapping (SAM) in robotics and vision, using factor graphs and Bayes networks as the underlying computing paradigm rather than sparse matrices.

3.8k
Nov 30, 2026
RepositoryJupyter Notebook
google/brax

Massively parallel rigidbody physics simulation on accelerator hardware.

3.3k
Nov 28, 2026
RepositoryPython
AtsushiSakai/PythonRobotics

Python sample codes and textbook for robotics algorithms.

31.0k
Nov 30, 2026
RepositoryPython
earthtojake/text-to-cad

Design physical products with AI

28.0k
Dec 2, 2026