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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file urdfenvs-0.5.5.tar.gz
.
File metadata
- Download URL: urdfenvs-0.5.5.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9eb79a27df39412df46ddd46fda982fa6688dd70eb31dd731e9655b1466616d2 |
|
MD5 | 1c387ce1bd4168b91ef9737be0674f4b |
|
BLAKE2b-256 | 34a632c54b95b92b2eb6ccee66a343458c773fa64f30fd7336a981d6e8efb12d |
File details
Details for the file urdfenvs-0.5.5-py3-none-any.whl
.
File metadata
- Download URL: urdfenvs-0.5.5-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb2b6f61ede19f2d5428f42931d1afb5434683d3dcbcc2e6229984cfe48aa259 |
|
MD5 | d08fea20da521cbb760c8251ab402f22 |
|
BLAKE2b-256 | 2da65babe21d32312ae6cedb99d89342c9b43375b680ac68c7d4f420771bf4a8 |