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.

Point Robot Point Robot with Keyboard Input Non-Holonomic Robot
Tiago Robot Tiago Robot with Keyboard Input
Panda Robot Albert 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.5.3.tar.gz (21.2 MB view details)

Uploaded Source

Built Distribution

urdfenvs-0.5.3-py3-none-any.whl (21.3 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: urdfenvs-0.5.3.tar.gz
  • Upload date:
  • Size: 21.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.8.10 Linux/5.15.0-60-generic

File hashes

Hashes for urdfenvs-0.5.3.tar.gz
Algorithm Hash digest
SHA256 7c20aa81d74b0e4899d4f7e8eddd783dd2c9736c2cc0a41a3aa9a3e0394fd39a
MD5 876784322fec19340965e0da87ea5781
BLAKE2b-256 eefe1f662a0173efb9e7b73e007f0324ef5855d2a23955ef418645e0094afafa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: urdfenvs-0.5.3-py3-none-any.whl
  • Upload date:
  • Size: 21.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.8.10 Linux/5.15.0-60-generic

File hashes

Hashes for urdfenvs-0.5.3-py3-none-any.whl
Algorithm Hash digest
SHA256 95150df845717e74f944900c9d99808ff8799d80d7a6b6b7e164fef85db9f9f1
MD5 439bd8d8176466f1c91a0652452c50c8
BLAKE2b-256 f4fa33d8b66b5eef5bba025ed8b4c4cbdaa3a3722c0c316d1b1aba0f748e2083

See more details on using hashes here.

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