Skip to main content

Toolbox for Industrial Modular Robots

Project description

Timor Banner

Timor Python

The Toolbox for Industrial Modular Robotics (Timor) is a python library for model generation and simulation of modular robots (arXiV).

Pipeline Status Documentation Status Coverage Report

Timor is available on GitLab and on GitHub.

With Timor you can:

  • Create, export and load sets of robot modules

  • Assemble modules and generate kinematic, dynamic and collision models for you assembly

  • Transfer your assembly to a pinocchio-based robot model and perform forwards- and inverse kinematics and dynamics calculations

  • Visualize modules and assemblies and animate trajectories

  • Define robot tasks and evaluate solutions based on various cost functions

  • Get started working with modular robots!

Animation of a robot assembly moving between two goals

Installation

Timor-python is available on PyPI. It requires at least Python 3.8 and a linux distribution (for windows and macOS, see below). For installation, use:

pip install timor-python

Some requirements are not included by default - in order to install them, use:

pip install timor-python[option]

where option can be one or multiple (comma-separated) of the following:

  • dev: Installs development requirements for local unittesting

  • optimization: Installs useful requirements for optimizing module composition.

  • viz: This installs a custom meshcat version and enables you to place billboards in the meshcat visualizer. It is not available on PyPI.

  • full: All of the above - except for the custom meshcat visualizer.

If you want to work with the bleeding-edge version, you can download the source code from the project repository and install it locally. Nagivate to the timor-python repository you cloned and enter:

pip install -e .

to install it in editeable mode. This requires setuptools>=61 and pip>=21.3 (previous versions of setuptools require a setup.py-file). To install optional dependencies, proceed in the same manner as for PyPI installs.

To run unittest locally, you need to setup git lfs in order to download assets.

If you want to use pre-commit hooks provided with Timor, for installation please use:

pip install pre-commit

then:

pre-commit install

After that, each time you commit files, it will automatically perform linting and style checks.

other OS: Currently, Windows and MacOS are not officially supported. Crucially, pinocchio is not available on PyPI for these operating systems. However, if you want to use Timor, you can try:

pip install --no-deps timor-python
conda install pinocchio -c conda-forge

and then pip install all other requirements from the [dependencies] section in the pyproject.toml file.

Usage

The tutorials folder contains jupyter notebooks that cover the most common use cases for Timor. To open and run the notebooks, you will need jupyter, which can be installed from PyPI:

pip install jupyterlab

To inspect, run, or edit the tutorials, navigate to the tutorials folder and start the notebook:

jupyter lab

You can set custom configurations such as file paths of robot libraries or logging behavior by editing the config file. You can import the file location of the config file as from timor.utilities.configurations import CONFIG_FILE.

For further information, please visit the documentation.

Updating

Some timor updates might require to re-acquire the task, schema, or robot module data-bases. Try to reset the caches by running timor.utilities.file_locations.clean_caches() and re-import the timor module.

Typical errors indicating this action:
  • ValueError: modules.json invalid.

Support

Do you have a question or an issue using Timor? You can either submit an issue or write an email to the repository maintainer.

Contributing

We welcome every contribution to Timor. For more details, please refer to our contribution guidelines.

Citing Timor

If you want to cite Timor for your academic research, please use the following bibtex entry:

@InProceedings{Kuelz2023,
  author     = {Külz, Jonathan and Mayer, Matthias and Althoff, Matthias},
  booktitle  = {International Conference on Intelligent Robots and Systems},
  title      = {{Timor Python}: A Toolbox for Industrial Modular Robotics},
  pages      = {424--431},
  year       = {2023},
  publisher  = {IEEE},
  doi        = {10.1109/IROS55552.2023.10341935},
}

Authors and acknowledgment

Timor was developed at the chair of robotics, artificial intelligence and embedded systems at TU Munich. It is designed, developed and maintained by Jonathan Külz, Matthias Mayer, and Matthias Althoff.

The Timor Python logo was AI-generated using the OpenAI’s Dall-E 2 API.

The developers gratefully acknowledge financial support by the Horizon 2020 EU Framework Project CONCERT.

Project details


Download files

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

Source Distribution

timor-python-1.0.tar.gz (5.8 MB view hashes)

Uploaded Source

Built Distribution

timor_python-1.0-py3-none-any.whl (5.7 MB view hashes)

Uploaded Python 3

Supported by

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