Skip to main content

Efficient Inverse Dynamics (python bindings)

Project description

TSID - Task Space Inverse Dynamics

License Pipeline status Coverage report PyPI version

TSID is a C++ library for optimization-based inverse-dynamics control based on the rigid multi-body dynamics library Pinocchio.

Documentation

  • Take a look at the project wiki 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 you can find slides and video lessons on TSID.
  • Memmo 2020 summer school

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:

To install eigen3 on Ubuntu you can use apt-get: sudo apt-get install libeigen3-dev

To install pinocchio 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:

It includes key contributions from:

And is maintained by:

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}
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

tsid-1.6.1-1-cp39-cp39-manylinux_2_24_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.24+ x86-64

tsid-1.6.1-1-cp38-cp38-manylinux_2_24_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.24+ x86-64

tsid-1.6.1-1-cp37-cp37m-manylinux_2_24_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.24+ x86-64

tsid-1.6.1-1-cp36-cp36m-manylinux_2_24_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.6mmanylinux: glibc 2.24+ x86-64

tsid-1.6.1-1-cp27-cp27mu-manylinux_2_24_x86_64.whl (1.0 MB view details)

Uploaded CPython 2.7mumanylinux: glibc 2.24+ x86-64

File details

Details for the file tsid-1.6.1-1-cp39-cp39-manylinux_2_24_x86_64.whl.

File metadata

  • Download URL: tsid-1.6.1-1-cp39-cp39-manylinux_2_24_x86_64.whl
  • Upload date:
  • Size: 1.0 MB
  • Tags: CPython 3.9, manylinux: glibc 2.24+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for tsid-1.6.1-1-cp39-cp39-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 4902a9140e3fe4a0e2226994fd5fd99b8ce81802e55410c7165f2b7cad1e5382
MD5 a3f98da6402610b844143cd06d810d19
BLAKE2b-256 9e9dfce01c3a44240c52240cdae325f66dee22479d5deb6f0eaca736bcdc8246

See more details on using hashes here.

File details

Details for the file tsid-1.6.1-1-cp38-cp38-manylinux_2_24_x86_64.whl.

File metadata

  • Download URL: tsid-1.6.1-1-cp38-cp38-manylinux_2_24_x86_64.whl
  • Upload date:
  • Size: 1.0 MB
  • Tags: CPython 3.8, manylinux: glibc 2.24+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for tsid-1.6.1-1-cp38-cp38-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 a55824979d785df05496eb74327f6d7df54caf2681e23a5d150bf8bb49ca1dcc
MD5 023c3dc68789a596c914148886948535
BLAKE2b-256 6ebade81af44bebc68d33fb7f086a48ec7d057751e2ba4bc3b581453022131a6

See more details on using hashes here.

File details

Details for the file tsid-1.6.1-1-cp37-cp37m-manylinux_2_24_x86_64.whl.

File metadata

  • Download URL: tsid-1.6.1-1-cp37-cp37m-manylinux_2_24_x86_64.whl
  • Upload date:
  • Size: 1.0 MB
  • Tags: CPython 3.7m, manylinux: glibc 2.24+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for tsid-1.6.1-1-cp37-cp37m-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 509670eea00f61bea49944e01daedcb3da445a669ea03899b62b19803c015709
MD5 01b04fcf9a684474f59a3ecbc1640a90
BLAKE2b-256 0e608031e000ed423064c61cacc72f213edb357abdd89c6b245339053807b8c7

See more details on using hashes here.

File details

Details for the file tsid-1.6.1-1-cp36-cp36m-manylinux_2_24_x86_64.whl.

File metadata

  • Download URL: tsid-1.6.1-1-cp36-cp36m-manylinux_2_24_x86_64.whl
  • Upload date:
  • Size: 1.0 MB
  • Tags: CPython 3.6m, manylinux: glibc 2.24+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for tsid-1.6.1-1-cp36-cp36m-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 9bc33434b2d0827fb1bf7832ebddfdbeae6976198c9b1c77a38ab6abcb05b578
MD5 3b96f63cbca17d7a0379800fb4c097ec
BLAKE2b-256 08b390445bda62a1e6ef7d3ae6faa5d95d928ef957353b4ea71b4541db13e61b

See more details on using hashes here.

File details

Details for the file tsid-1.6.1-1-cp27-cp27mu-manylinux_2_24_x86_64.whl.

File metadata

  • Download URL: tsid-1.6.1-1-cp27-cp27mu-manylinux_2_24_x86_64.whl
  • Upload date:
  • Size: 1.0 MB
  • Tags: CPython 2.7mu, manylinux: glibc 2.24+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for tsid-1.6.1-1-cp27-cp27mu-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 261e29d131942f4c344e46469efbe2da9462a4ea6c62a600ce5207ec3abf79e6
MD5 c248397d5c0033cd9cf27845786e1c07
BLAKE2b-256 3a917a434e72a7db49cde0abe00d63b109674e4921e6bd736d6b1577470b837f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page