Skip to main content

Simple simulation environment for robots, based on the urdf files.

Project description

Generic URDF robots

In this package, generic urdf robots and a panda gym environment are available. The goal is to make this environment as easy as possible to deploy. Although, we used the OpenAI-Gym framing, these environments are not necessarly restricted to Reinforcement-Learning but rather to local motion planning in general.

Pybullet

Point Robot Point Robot with Keyboard Input Non-Holonomic Robot
Tiago Robot Tiago Robot with Keyboard Input
Panda Robot Albert Robot

Mujoco

Point Robot Panda Robot

Getting started

This is the guide to quickle get going with urdf gym environments.

Pre-requisites

  • Python >=3.8
  • pip3
  • git

Installation from pypi

The package is uploaded to pypi so you can install it using

pip3 install urdfenvs

Installation from source

You first have to download the repository

git clone git@github.com:maxspahn/gym_envs_urdf.git

Then, you can install the package using pip as:

pip3 install .

The code can be installed in editible mode using

pip3 install -e .

Note that we recommend using poetry in this case.

Optional: Installation with poetry

If you want to use poetry, you have to install it first. See their webpage for instructions docs. Once poetry is installed, you can install the virtual environment with the following commands. Note that during the first installation poetry update takes up to 300 secs.

poetry install

The virtual environment is entered by

poetry shell

Inside the virtual environment you can access all the examples.

Installing dependencies

Dependencies should be installed through pip or poetry, see below.

Using pip, you can use

pip3 install '.[options]'

Using poetry

poetry install --with <options>

Options are keyboard.

Examples

You find several python scripts in examples/. You can test those examples using the following (if you use poetry, make sure to enter the virtual environment first with poetry shell)

python3 pointRobot.py

Replace pointRobot.py with the name of the script you want to run.

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

urdfenvs-0.10.2.tar.gz (155.0 kB view details)

Uploaded Source

Built Distribution

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

urdfenvs-0.10.2-py3-none-any.whl (177.9 kB view details)

Uploaded Python 3

File details

Details for the file urdfenvs-0.10.2.tar.gz.

File metadata

  • Download URL: urdfenvs-0.10.2.tar.gz
  • Upload date:
  • Size: 155.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.10.7 Linux/5.15.0-1078-azure

File hashes

Hashes for urdfenvs-0.10.2.tar.gz
Algorithm Hash digest
SHA256 67653e7691ae36373e8da8d3969a60072c95c9208e062ad71c3665fc0cb5b347
MD5 76c17a98703a213f6629177878ed211e
BLAKE2b-256 d657d3984c26435fcc61f4b93b5884be5f0c2f9dbdfc42668a90a65d98b81aa0

See more details on using hashes here.

File details

Details for the file urdfenvs-0.10.2-py3-none-any.whl.

File metadata

  • Download URL: urdfenvs-0.10.2-py3-none-any.whl
  • Upload date:
  • Size: 177.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.10.7 Linux/5.15.0-1078-azure

File hashes

Hashes for urdfenvs-0.10.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f033fb08d2337099e415a258340c480e1e029d7267130ca84c1cb4e64365c7e6
MD5 b699a7098129290a14b2d7ee415edf60
BLAKE2b-256 727f30e33ddb8887c03985369f5d1c8779af9c9888f1cccc4004fc933d42e9d1

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