Software
TSID
By Stack Of Tasks development team, from github.com/stack-of-tasks/tsid (opens in a new tab)
- Humanoids and robot learning
- Library
- BSD-2-Clause
TSID is a C++ library for optimization-based inverse-dynamics control of robots, built on the Pinocchio rigid multi-body dynamics library, with Python bindings.
Facts
- GitHub stars
- 361read on 29 Nov 2026
- Last update
- 7 Nov 2026Newest commit on devel
- Maintenance
- Activea commit in the last 90 days
- Difficulty
- Advanced
Checked on GitHub on 29 Nov 2026.
Licenses
- Code
- BSD-2-Clause (opens in a new tab)
Read by Robotheca from LICENSE (opens in a new tab) (BSD-2-Clause) at commit 070e00f (opens in a new tab), on 15 Nov 2026.
- Commercial use
- Yes
At a glance
- What it is
- Provides task-space inverse-dynamics control for multi-body robots, built on the Pinocchio dynamics library.
- Includes exercises in Python for robot manipulators, humanoids and quadrupeds.
- Offers Python bindings based on Boost.Python and EigenPy.
- Can be installed with Conda, from Debian/Ubuntu packages via robotpkg, or compiled from sources with CMake.
- Includes a demo for the Romeo humanoid that can be viewed with gepetto-viewer.
Robotheca's summary of the project's documents, not the creator's words.
- Robots on Robotheca
- No robot on Robotheca uses it yet.
- Licence
- BSD-2-Clause. Commercial use: Yes. Where it was read
- Install
- In the creator's words: The project's README (opens in a new tab)
- Maintenance
- Active, last commit on 7 Nov 2026.
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
- Repository on GitHubgithub.com/stack-of-tasks/tsid (opens in a new tab)
- The version Robotheca read070e00f (opens in a new tab)
- Latest releaseRelease v1.10.0 (14 Apr 2026)
Robotheca read the repository at two versions: the summary at 25762a2 and the facts and the README at 070e00f (read on 29 Nov 2026).
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 Stack Of Tasks development team, at commit 070e00f, under BSD-2-Clause (opens in a new tab). The original on GitHub (opens in a new tab).
Read the README here
TSID - Task Space Inverse Dynamics
Image: Pipeline status (opens in a new tab) (opens in a new tab) Image: Coverage report (opens in a new tab) (opens in a new tab) (opens in a new tab)
(opens in a new tab) (opens in a new tab) (opens in a new tab)
TSID is a C++ library for optimization-based inverse-dynamics control based on the rigid multi-body dynamics library Pinocchio (opens in a new tab).
Documentation
- Take a look at the project wiki (opens in a new tab) for an overview of the design of the library.
- In the exercises folder you can find several examples of how to use TSID in Python with robot manipulators, humanoids, or quadrupeds.
- On the website of Andrea Del Prete (opens in a new tab) you can find slides and video lessons on TSID.
- Memmo 2020 summer school (opens in a new tab)
Installation with Conda
If you want to directly dive into TSID in Python, only one single line is sufficient (assuming you have Conda installed):
conda install tsid -c conda-forge
Installation from Debian/Ubuntu packages, with robotpkg
If you have never added robotpkg's software repository you can do it with the following commands:
sudo tee /etc/apt/sources.list.d/robotpkg.list <<EOF
deb [arch=amd64] http://robotpkg.openrobots.org/packages/debian/pub $(lsb_release -sc) robotpkg
EOF
curl http://robotpkg.openrobots.org/packages/debian/robotpkg.key | sudo apt-key add -
sudo apt update
You can install TSID and its python bindings (replace * with you Python version) with:
sudo apt install robotpkg-py3*-tsid
Installation from sources
First you need to install the following dependencies:
- boost (unit_test_framework)
- eigen3
- pinocchio (opens in a new tab)
- eiquadprog (opens in a new tab)
- example-robot-data (opens in a new tab) (only for running the examples)
To install eigen3 on Ubuntu you can use apt-get:
sudo apt-get install libeigen3-dev
To install pinocchio (opens in a new tab) follow the instruction on its website.
To compile TSID:
cd $DEVEL/openrobots/src/
git clone --recursive git@github.com:stack-of-tasks/tsid.git
cd tsid
mkdir _build-RELEASE
cd _build-RELEASE
cmake .. -DCMAKE_BUILD_TYPE=RELEASE -DCMAKE_INSTALL_PREFIX=$DEVEL/openrobots
make install
Python Bindings
To use this library in python, we offer python bindings based on Boost.Python and EigenPy.
To install EigenPy you can compile the source code:
git clone https://github.com/stack-of-tasks/eigenpy
or, on Ubuntu, you can use apt-get:
sudo apt-get install robotpkg-py3*-eigenpy
For testing the python bindings, you can run the unit test scripts in the script folder, for instance:
ipython script/test_formulation.py
To run the demo using gepetto-viewer:
ipython demo/demo_romeo.py
Credits
This package is authored by:
- Andrea Del Prete (opens in a new tab) (University of Trento)
- Justin Carpentier (opens in a new tab) (INRIA)
It includes key contributions from:
- Julian Viereck (opens in a new tab) (Max Planck Institute, New York University)
- Sanghyun Kim (opens in a new tab) (Seoul National University)
- Eloise Dalin (opens in a new tab) (LORIA, INRIA Lorraine)
- Noelie Ramuzat (opens in a new tab) (LAAS, CNRS)
- Pierre Fernbach (opens in a new tab) (LAAS, CNRS)
- Aurelie Bonnefoy (opens in a new tab) (LAAS, CNRS)
- Etienne Arlaud (opens in a new tab) (INRIA)
- Fabian Schramm (opens in a new tab) (INRIA)
And is maintained by:
- Guilhem Saurel (opens in a new tab) (LAAS-CNRS)
Citing
If you are (or not) happy with TSID and want to cite it, please use the following citation:
@inproceedings {adelprete:jnrh:2016,
title = {Implementing Torque Control with High-Ratio Gear Boxes and without Joint-Torque Sensors},
booktitle = {Int. Journal of Humanoid Robotics},
year = {2016},
pages = {1550044},
url = {https://hal.archives-ouvertes.fr/hal-01136936/document},
author = {Andrea Del Prete, Nicolas Mansard, Oscar E Ramos, Olivier Stasse, Francesco Nori}
}
Robotheca lists software as a reference: nothing is hosted or run here, and every fact links to where it was read.