Skip to content

Software

Cheetah-Software

By MIT Biomimetic Robotics Lab, United States (checked on github.com/mit-biomimetics (opens in a new tab)), from github.com/mit-biomimetics/Cheetah-Software (opens in a new tab)

  • Humanoids and robot learning
  • Framework
  • MIT

A robot and simulation software project for MIT Biomimetics' Cheetah quadruped robots, with a shared dynamics library, robot control code, and a Qt-based simulator.

  • Stale. No commit in 12 months: the newest is from 21 Nov 2019.

Facts

GitHub stars
3,342read on 27 Nov 2026
Last update
21 Nov 2019Newest commit on master
Maintenance
Staleno commit in 12 months
Difficulty
Advanced
Hardware it needs, as the project states it
Qt 5.10, LCM, Eigen, mesa-common-dev, freeglut3-dev, libblas-dev and liblapack-dev are listed as dependencies; Cheetah 3 or Mini Cheetah robot with an ethernet connection for running on hardware.

Checked on GitHub on 28 Nov 2026.

Licenses

Code
MIT (opens in a new tab)

Read by Robotheca from LICENSE (opens in a new tab) (MIT) at commit c71c5a1 (opens in a new tab), on 16 Oct 2026.

Commercial use
Yes

At a glance

What it is
  • Provides a common library with dynamics and utilities shared by the robot and simulator.
  • Includes a robot control program that runs on the robot itself.
  • Includes a simulator, the only component that depends on Qt, used to test controllers before running on hardware.
  • Builds with CMake and downloads gtest automatically for running common library tests.
  • Supports building for the Mini Cheetah via a CMake flag and copying the program to the robot over ethernet.
  • Controllers are run against the simulator or the robot by passing the robot name and target system as arguments.

Robotheca's summary of the project's documents, not the creator's words.

Robots on Robotheca
No robot on Robotheca uses it yet.
Licence
MIT. Commercial use: Yes. Where it was read
Install
In the creator's words: The project's README (opens in a new tab)
Maintenance
Stale, last commit on 21 Nov 2019.

Use it

How to install it, in the creator's words: The project's README (opens in a new tab)

Robotheca doesn't review code. Read it before running it.

Files and versions

Facts read at commit c71c5a1

Robotheca never hosts the code: each link goes to the creator's own page.

The README

The creator's own README, copied as written: README.md by MIT Biomimetic Robotics Lab, at commit c71c5a1, under MIT (opens in a new tab). The original on GitHub (opens in a new tab).

Read the README here
Cheetah-Software

This repository contains the Robot and Simulation software project. For a getting started guide, see the documentation folder.

The common folder contains the common library with dynamics and utilities The resources folder will contain data files, like CAD of the robot used for the visualization The robot folder will contain the robot program The sim folder will contain the simulation program. It is the only program which depends on QT. The third-party will contain small third party libraries that we have modified. This should just be libsoem for Cheetah 3, which Pat modified at one point.

Build

To build all code:

mkdir build
cd build
cmake ..
./../scripts/make_types.sh
make -j4

If you are building code on your computer that you would like to copy over to the mini cheetah, you must replace the cmake command with

cmake -DMINI_CHEETAH_BUILD=TRUE

otherwise it will not work. If you are building mini cheetah code one the mini cheetah computer, you do not need to do this.

This build process builds the common library, robot code, and simulator. If you just change robot code, you can simply run make -j4 again. If you change LCM types, you'll need to run cmake ..; make -j4. This automatically runs make_types.sh.

To test the common library, run common/test-common. To run the robot code, run robot/robot. To run the simulator, run sim/sim.

Part of this build process will automatically download the gtest software testing framework and sets it up. After it is done building, it will produce a libbiomimetics.a static library and an executable test-common. Run the tests with common/test-common. This output should hopefully end with

[----------] Global test environment tear-down
[==========] 18 tests from 3 test cases ran. (0 ms total)
[  PASSED  ] 18 tests.
Run simulator

To run the simulator:

  1. Open the control board
./sim/sim
  1. In the another command window, run the robot control code
./user/${controller_folder}/${controller_name} ${robot_name} ${target_system}

Example)

./user/JPos_Controller/jpos_ctrl 3 s

3: Cheetah 3, m: Mini Cheetah s: simulation, r: robot

Run Mini cheetah
  1. Create build folder mkdir mc-build
  2. Build as mini cheetah executable cd mc-build; cmake -DMINI_CHEETAH_BUILD=TRUE ..; make -j
  3. Connect to mini cheetah over ethernet, verify you can ssh in
  4. Copy program to mini cheetah with ../scripts/send_to_mini_cheetah.sh
  5. ssh into the mini cheetah ssh user@10.0.0.34
  6. Enter the robot program folder cd robot-software-....
  7. Run robot code ./run_mc.sh
Dependencies:

To use Ipopt, use CMake Ipopt option. Ex) cmake -DIPOPT_OPTION=ON ..

Robotheca lists software as a reference: nothing is hosted or run here, and every fact links to where it was read.