Metadata-Version: 2.2
Name: gobot
Version: 0.1.19
Summary: Python bindings for the Gobot robotics scene, simulation, and rendering engine.
Author: RobSimulatorGroup
License: Apache-2.0
Project-URL: Homepage, https://github.com/RobSimulatorGroup/gobot
Project-URL: Repository, https://github.com/RobSimulatorGroup/gobot
Project-URL: Issues, https://github.com/RobSimulatorGroup/gobot/issues
Requires-Python: >=3.10
Requires-Dist: imageio>=2.34
Requires-Dist: imageio-ffmpeg>=0.5
Requires-Dist: mujoco==3.17.0; sys_platform == "linux" and platform_machine == "x86_64"
Requires-Dist: mujoco-warp==3.17.0; sys_platform == "linux" and platform_machine == "x86_64"
Requires-Dist: newton[onnx]==1.7.0; sys_platform == "linux" and platform_machine == "x86_64"
Requires-Dist: numpy<3,>=2
Requires-Dist: nvidia-cublas-cu12<13,>=12.8; sys_platform == "linux" and platform_machine == "x86_64"
Requires-Dist: nvidia-cuda-runtime-cu12<13,>=12.8; sys_platform == "linux" and platform_machine == "x86_64"
Requires-Dist: nvidia-cusolver-cu12<12,>=11.7; sys_platform == "linux" and platform_machine == "x86_64"
Requires-Dist: nvidia-cusparse-cu12<13,>=12.5; sys_platform == "linux" and platform_machine == "x86_64"
Requires-Dist: nvidia-nvjitlink-cu12<13,>=12.8; sys_platform == "linux" and platform_machine == "x86_64"
Requires-Dist: onnx>=1.16
Requires-Dist: onnxruntime>=1.19
Requires-Dist: pillow>=10.1
Requires-Dist: rsl-rl-lib==5.5.2
Requires-Dist: scipy>=1.11
Requires-Dist: tensorboard
Requires-Dist: tensordict
Requires-Dist: torch>=2.9; sys_platform == "linux" and platform_machine == "x86_64"
Requires-Dist: trimesh>=4.6.8; sys_platform == "linux" and platform_machine == "x86_64"
Requires-Dist: warp-lang==1.17.0; sys_platform == "linux" and platform_machine == "x86_64"
Description-Content-Type: text/markdown

# Gobot

Gobot is a Linux robotics engine for editing scenes, simulating robots, rendering,
and reinforcement learning, with Python as the scripting API.

[![PyPI](https://img.shields.io/pypi/v/gobot)](https://pypi.org/project/gobot/)
[![License](https://img.shields.io/badge/license-Apache--2.0-blue)](https://github.com/RobSimulatorGroup/gobot/blob/master/LICENSE)
[![CI](https://github.com/RobSimulatorGroup/gobot/actions/workflows/ci.yml/badge.svg?branch=master&event=push)](https://github.com/RobSimulatorGroup/gobot/actions)

![Gobot editor](https://raw.githubusercontent.com/RobSimulatorGroup/gobot/master/doc/overview.png)

## Install

```bash
pip install gobot
gobot_editor
```

Linux x86_64 wheels include MuJoCo CPU, MuJoCo Warp, Newton, PyTorch,
LuisaCompute rendering, Gaussian Splatting inference, and OpenUSD. There are no
feature extras. GPU features need a compatible NVIDIA driver and system
EGL/OpenGL libraries; wheels do not require a CUDA Toolkit.

Open a packaged project from **Examples** on the editor start screen.

## Python

```python
import gobot

gobot.set_project_path("/path/to/project")
scene = gobot.load_scene("res://world.jscn")
print(scene.root.name)
print(gobot.backend_infos())
```

## Develop from source

Source builds need a C++20 toolchain and, with the default features, a CUDA
Toolkit. See [building](doc/building.md) for prerequisites and CPU-only builds.

```bash
git clone https://github.com/RobSimulatorGroup/gobot.git
cd gobot
uv run gobot_editor --path examples/go1
```

The first run initializes pinned dependencies and builds the editable package.
Later editor launches rebuild native changes incrementally.

## Examples and training

| CartPole | Go1 policy playback |
| --- | --- |
| <img src="doc/video/cartpole.gif" alt="CartPole" width="420"> | <img src="doc/video/go1.gif" alt="Go1" width="420"> |

Use the shared training entry for Go1/G1 PPO, G1 AMP, and G1 SuperMimic:

```bash
uv run gobot-train --list
uv run gobot-train go1-velocity \
  --backend mujoco-cpu --num-envs 4 --iterations 10 --no-eval \
  --output logs/go1_cpu
```

Choose `--backend mujoco-warp --device cuda:0` for CUDA simulation. Task registration
is optional: Python factories and ordinary Python scripts use the same launch API.
See the [training guide](doc/gobot_training.md) for reward/algorithm overrides,
backend limits and data preparation, and the [example catalog](doc/examples.md)
for evaluation and policy playback.

## Documentation

- [Documentation index](doc/README.md)
- [Build and test](doc/building.md)
- [Engine architecture](doc/architecture.md)
- [MuJoCo and RL](doc/mujoco_rl_plan.md)
- [Rendering](doc/luisa_rendering_plan.md)
