Skip to content
136dxjPublic

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

Repository files navigation

MotrixSim GYM

Ruff

本项目使用 PyO3 为 MotrixSim 的 Rust SDK 做 Python Binding。开始前,请先仔细阅读 PyO3 文档

🔨 开发说明

以下所有命令在 motrixsim-py 目录下执行

1. 前置要求

  1. 安装 PDM

    https://pdm-project.org/en/latest/#recommended-installation-method

2. 创建符合项目要求的虚拟环境

根据 pyproject.toml 中声明的 requires-python 属性安装 Python 解释器:

PDM 提供了两种安装策略,任选一种即可:

  • 安装符合要求的最小版本

    pdm use --auto-install-min
  • 安装符合要求的最大版本

    pdm use --auto-install-max

3. 安装依赖,编译 Rust 代码并将其安装至虚拟环境

pdm sync -G:all -v

Train & Play a policy

在legged_gym文件夹下执行下面命令:

pdm run scripts/train.py
    

pdm run scripts/play.py
    

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages