lxliam/legged_mpc_amp — explained in plain English
Analysis updated 2026-05-18
Simulate a quadruped robot walking in Gazebo and record its motion as AMP training data.
Export recorded motion data into the .npz format used by IsaacLab for reinforcement learning.
Visualize the foot trajectories the model predictive controller generates in real time.
Add support for a new quadruped robot model using the provided integration guide.
| lxliam/legged_mpc_amp | caspermeijn/onvifviewer | marchildmann/beveldesk | |
|---|---|---|---|
| Stars | 41 | 41 | 41 |
| Language | C++ | C++ | C++ |
| Last pushed | — | 2023-01-19 | — |
| Maintenance | — | Dormant | — |
| Setup difficulty | hard | moderate | moderate |
| Complexity | 5/5 | 3/5 | 3/5 |
| Audience | researcher | general | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires Ubuntu 20.04, ROS Noetic, and Gazebo simulation dependencies installed.
This project is a data generation tool for four legged robots, built on nonlinear model predictive control and whole body control techniques. It produces AMP data, which is the kind of motion data used to train robots to imitate natural, animal-like walking patterns. The tool wraps keyboard control inside the Gazebo robot simulator, fully automatic recording of that motion data, and support for importing several different robot models. The project targets Ubuntu 20.04 with ROS Noetic. After installing a list of system dependencies with apt, you compile the whole workspace with a single setup script. To run it, you open two terminals: one launches the Gazebo simulation with an empty world, and the other launches keyboard control with AMP data logging turned on and pointed at an output folder. Once running, you press a key to initialize the controller, another key to switch to a trotting gait, and the w, s, a, and d keys to steer the robot forward, backward, and turn. Core features include one step automatic recording of one to two minutes of varied motion data per sample, direct export of that data into the .npz file format used by IsaacLab, a live plotting tool that shows the foot trajectories the model predictive controller calculates, and support for several existing quadruped robot models including Go1, Go2, A1, Aliengo, and Lite3, with a guide for adding new robots. Detailed documentation covers the build process, adding new robots, and the AMP data collection and conversion steps. The project builds on an existing open source legged robot control project and its own modifications are released under the BSD 3-Clause license.
A tool that simulates four legged robots walking and automatically records their motion as AMP training data, used to teach robots natural, animal-like gaits.
Mainly C++. The stack also includes C++, ROS Noetic, Gazebo.
Use freely for any purpose, including commercial use, as long as you keep the copyright notice, under the BSD 3-Clause license.
Setup difficulty is rated hard, with roughly 1h+ to a first successful run.
Mainly researcher.
This repo across BitVibe Labs
double-check against the repo, no cap.