Skip to main content

dora-mujoco-husky

A MuJoCo-based Clearpath Husky simulation node for the Dora framework. This node provides a physics-accurate simulation of the Husky robot that can be controlled via velocity commands.

Features

  • Real-time physics simulation using MuJoCo
  • Accurate Husky robot model with proper inertial properties
  • Velocity-based control interface
  • Position and velocity feedback
  • Gamepad control support

Getting Started

Prerequisites

  • Python 3.8 or higher
  • MuJoCo 3.1.6 or higher

Installation

  1. Create and activate a Python virtual environment:
uv venv -p 3.11 --seed
source .venv/bin/activate
  1. Install the package:
uv pip install -e .

Running the Demo

  1. Make sure you have a gamepad connected
  2. Build the demo:
dora build demo.yml --uv
  1. Run the demo:
dora run demo.yml --uv

Usage

The node accepts velocity commands and outputs position/velocity data:

Inputs

  • cmd_vel: Velocity command array with the format:
    • Index 0: Linear velocity (m/s), range: [-2.0, 2.0]
    • Index 5: Angular velocity (rad/s), range: [-3.0, 3.0]

Outputs

  • position: Robot position [x, y, z] in world coordinates
  • velocity: Robot velocity [vx, vy, vz] in world coordinates

Example Configuration

nodes:
  - id: mujoco_husky
    build: pip install -e .
    path: dora-mujoco-husky
    inputs:
      cmd_vel: input_source/cmd_vel
    outputs:
      - position
      - velocity

Development

Code Formatting

Format code using ruff:

uv pip install ruff
uv run ruff check . --fix

Linting

Run linting checks:

uv run ruff check .

Testing

Run tests using pytest:

uv pip install pytest
uv run pytest .

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

  • Based on the Clearpath Robotics Husky robot
  • Uses the MuJoCo physics engine
  • Built with the Dora framework

Metadata

Release files for dora-mujoco-husky 0.5.0

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

Source distribution (sdist)

Source distribution for dora-mujoco-husky 0.5.0
File Size Uploaded Provenance Actions
dora_mujoco_husky-0.5.0.tar.gz 4.3 kB Without provenance Details for dora_mujoco_husky-0.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dora-mujoco-husky 0.5.0
File Interpreter ABI Platform Actions
dora_mujoco_husky-0.5.0-py3-none-any.whl Python 3 none any Details for dora_mujoco_husky-0.5.0-py3-none-any.whl

Total release size: 9.3 kB

Release files / dora_mujoco_husky-0.5.0.tar.gz

Download URL dora_mujoco_husky-0.5.0.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
e68b85f2160edc6ed10a72f3aa51ed791987bbb9ba0aa2ec820d461431593436
BLAKE2b-256 checksum
How to use checksums
adafc327249c112954c18243904a82770caded43af3d8980e5b7ccf69a86e664
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / dora_mujoco_husky-0.5.0-py3-none-any.whl

Download URL dora_mujoco_husky-0.5.0-py3-none-any.whl
Size 5.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6afb8bbf103d9c6511b112f9ebc7e8283db30179741f98e8d22ab356f430b1b8
BLAKE2b-256 checksum
How to use checksums
d380f9bd3d0225d0349d343b340c186930507a28b8cbc484bc95bb041be7a9db
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for dora-mujoco-husky 0.5.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.5.0 This release

2 release files No provenance

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