A gym environment for quadruped robots using MuJoCo physics engine.
Project description
Mujoco Gym Environment for quadupedal legged locomotion
Install Instructions
pip install gym-quadruped
# or install locally
cd <gym-quadruped root dir>
pip install -e .
Usage Instructions
from gym_quadruped.quadruped_env import QuadrupedEnv
robot_name = "mini_cheetah" # "aliengo", "mini_cheetah", "go2", "hyqreal", ...
scene_name = "flat" # perlin | random_boxes
state_observables_names = tuple(QuadrupedEnv.ALL_OBS) # return all available state observables
env = QuadrupedEnv(robot='mini_cheetah',
scene=scene_name,
base_vel_command_type="human", # "forward", "random", "forward+rotate", "human"
state_obs_names=state_observables_names, # Desired quantities in the 'state'
)
obs = env.reset()
env.render()
for _ in range(10000):
action = env.action_space.sample() * 50 # Sample random action
state, reward, is_terminated, is_truncated, info = env.step(action=action)
if is_terminated:
pass
# Do some stuff
env.render()
env.close()
See also examples directory.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gym_quadruped-1.0.6.tar.gz.
File metadata
- Download URL: gym_quadruped-1.0.6.tar.gz
- Upload date:
- Size: 23.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
afd3f3e41dc903396dab091d6fa18edd93ca241d91ea1b0e0763ebf2f77e6c1c
|
|
| MD5 |
1f3f4e5744b6386c43270f495f7446d5
|
|
| BLAKE2b-256 |
c366d6c6ec781bf9f5dfdd9b1124212883710859c04239f5169a21134042bee3
|
Provenance
The following attestation bundles were made for gym_quadruped-1.0.6.tar.gz:
Publisher:
publish2pypi.yaml on iit-DLSLab/gym-quadruped
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gym_quadruped-1.0.6.tar.gz -
Subject digest:
afd3f3e41dc903396dab091d6fa18edd93ca241d91ea1b0e0763ebf2f77e6c1c - Sigstore transparency entry: 207408323
- Sigstore integration time:
-
Permalink:
iit-DLSLab/gym-quadruped@13f217d38069b5e542c124da90fecea8078122ec -
Branch / Tag:
refs/heads/master - Owner: https://github.com/iit-DLSLab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish2pypi.yaml@13f217d38069b5e542c124da90fecea8078122ec -
Trigger Event:
push
-
Statement type:
File details
Details for the file gym_quadruped-1.0.6-py2.py3-none-any.whl.
File metadata
- Download URL: gym_quadruped-1.0.6-py2.py3-none-any.whl
- Upload date:
- Size: 23.4 MB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d0e5411b33a06aed98b0dcadea3c9f0d24e20a36012a088cb24c3e1398d38739
|
|
| MD5 |
8d3bcbe0a1fca4ff55e9f771395c71b8
|
|
| BLAKE2b-256 |
4c84193f3dab54dcb71d0d359a0d13c133c6b480e7b5053351a249e81c8e4929
|
Provenance
The following attestation bundles were made for gym_quadruped-1.0.6-py2.py3-none-any.whl:
Publisher:
publish2pypi.yaml on iit-DLSLab/gym-quadruped
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gym_quadruped-1.0.6-py2.py3-none-any.whl -
Subject digest:
d0e5411b33a06aed98b0dcadea3c9f0d24e20a36012a088cb24c3e1398d38739 - Sigstore transparency entry: 207408327
- Sigstore integration time:
-
Permalink:
iit-DLSLab/gym-quadruped@13f217d38069b5e542c124da90fecea8078122ec -
Branch / Tag:
refs/heads/master - Owner: https://github.com/iit-DLSLab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish2pypi.yaml@13f217d38069b5e542c124da90fecea8078122ec -
Trigger Event:
push
-
Statement type: