Skip to main content

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

Metadata

Release files for pytamp 0.5.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pytamp 0.5.1
File Size Uploaded
pytamp-0.5.1.tar.gz 41.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pytamp 0.5.1
File Interpreter ABI Platform
pytamp-0.5.1-py3-none-any.whl Python 3 none any Details

Total release size: 107.3 kB

Release files / pytamp-0.5.1.tar.gz

Download URL pytamp-0.5.1.tar.gz
Size 41.7 kB
Tags Source
SHA-256 checksum
How to use checksums
9e18a52e98898c8e298ec6f2dec2b0dcf42cc39a5a4834d0bceac1d83b80036c
BLAKE2b-256 checksum
How to use checksums
97cf54e397ebc963fb25e5d833e3120cfbb67c3263bfc72e0c46ab317b40702c
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / pytamp-0.5.1-py3-none-any.whl

Download URL pytamp-0.5.1-py3-none-any.whl
Size 65.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c813df4900581541174873cfb68f4a5628effbec48374e5371b88a7876bc26a1
BLAKE2b-256 checksum
How to use checksums
72b6aed88fb78b052960bd102e767c4af22a366f22c7e85a31873ff9c1b2e2fd
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.5.1 This release

2 release files

0.5

2 release files

0.4

4 release files

0.3

3 release files

0.2

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page