Skip to main content

Robotics Task and Motion Planning Library

Project description

pytamp

PyPI version MIT License

Our paper named "Perturbation-Based Best Arm Identification for Efficient Task Planning with Monte-Carlo Tree Search", accepted to ICRA 2023.

Python Interface for the robot task and motion planning(TAMP) library. In the future, we are going to update it so that it can be operated in mujoco simulator. We want to provide an environment for applying reinforcement learning in the robot domain.

Features

  • Pure python library
  • Support only kinematic world, so not consider dynamics in this repo
  • Support simple motion planning (RRT* , PRM* , Cartesian planning)
  • Render scene using matplotlib or trimesh.Scene
  • Support Robot Task and Motion Planning examples with MCTS in 4 benchmarks

Installation

Requirements

You need pygraphviz and python3-tk package to see a MCTS Tree.

  • On Ubuntu 18.04 or 20.04, Download graphviz and graphviz-dev and python3-tk using apt

    sudo apt install graphviz graphviz-dev python3-tk

  • On Mac, Download graphviz using brew

    brew install graphviz

Install pytamp

pip install pytamp

Usage

# Benchmark 1 with MCTS
$ sh scripts/run_benchmark1.sh
# Benchmark 2 with MCTS
$ sh scripts/run_benchmark2.sh
# Benchmark 3 with MCTS
$ sh scripts/run_benchmark3.sh
# Benchmark 4 with MCTS
$ sh scripts/run_benchmark4.sh

If you want to see the result of the output, Run the benchmark#_result_level_2.ipynb file for that benchmark in the results directory.

Benchmark

We provide 4 benchmarks.

We also show the results when using our algorithm.

Benchmark1 Benchmark2 Benchmark3 Benchmark4

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

pytamp-0.5.1.tar.gz (41.7 kB view details)

Uploaded Source

Built Distribution

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

pytamp-0.5.1-py3-none-any.whl (65.6 kB view details)

Uploaded Python 3

File details

Details for the file pytamp-0.5.1.tar.gz.

File metadata

  • Download URL: pytamp-0.5.1.tar.gz
  • Upload date:
  • Size: 41.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.28.1 requests-toolbelt/0.9.1 tqdm/4.64.1 CPython/3.9.15

File hashes

Hashes for pytamp-0.5.1.tar.gz
Algorithm Hash digest
SHA256 9e18a52e98898c8e298ec6f2dec2b0dcf42cc39a5a4834d0bceac1d83b80036c
MD5 fccc74078d304936a18b16999647a36d
BLAKE2b-256 97cf54e397ebc963fb25e5d833e3120cfbb67c3263bfc72e0c46ab317b40702c

See more details on using hashes here.

File details

Details for the file pytamp-0.5.1-py3-none-any.whl.

File metadata

  • Download URL: pytamp-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 65.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.28.1 requests-toolbelt/0.9.1 tqdm/4.64.1 CPython/3.9.15

File hashes

Hashes for pytamp-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c813df4900581541174873cfb68f4a5628effbec48374e5371b88a7876bc26a1
MD5 bdd24c9077e00431d6ebbaa36ca07940
BLAKE2b-256 72b6aed88fb78b052960bd102e767c4af22a366f22c7e85a31873ff9c1b2e2fd

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