Skip to main content

Mujoco Gym Environment for quadupedal legged locomotion

PyPI version Python Version

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.

Metadata

Release files for gym-quadruped 1.1.7

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

Source distribution (sdist)

Source distribution for gym-quadruped 1.1.7
File Size Uploaded
gym_quadruped-1.1.7.tar.gz 50.7 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for gym-quadruped 1.1.7
File Interpreter ABI Platform
gym_quadruped-1.1.7-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 101.9 MB

Release files / gym_quadruped-1.1.7.tar.gz

Download URL gym_quadruped-1.1.7.tar.gz
Size 50.7 MB
Tags Source
SHA-256 checksum
How to use checksums
cc9de67230b647d94ed452b9113cf77b2e7f48e840cdc87229970bfb893ce770
BLAKE2b-256 checksum
How to use checksums
1a8045d3b8b493087de851bd6aca05c07deb47e36bfeeedac8d56895b0b2f99e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 30, 2026.

Transparency log

Release files / gym_quadruped-1.1.7-py2.py3-none-any.whl

Download URL gym_quadruped-1.1.7-py2.py3-none-any.whl
Size 51.2 MB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
5ee0c1aaa3ee926f5dfb6831d1864c76d526ee0e631ad30e9d4eee922f1a7736
BLAKE2b-256 checksum
How to use checksums
9be6d50961c3d84e233c286751338617cffd7621bf57a81907d7558149403417
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 30, 2026.

Transparency log

Release history Release notifications | RSS feed

1.1.8

2 release files

This release

1.1.7 This release

2 release files

1.1.5

2 release files

1.1.4

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.9

2 release files

1.0.8

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

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