# MuJoCo model format conversion

Convert MJCF, URDF, and binary model formats with the official compiler sample.

ID: `mujoco-compile`

Record version: `source-61b4e5d60decb2667ba3e0394503e3188bb7dccb59dec836021272cf5ef08d28`

Hub commit: `3a81abb601c3b4b8fcb9a8bed5ca270e546f5f1a`

## Access

Open the pinned source and follow upstream setup and invocation. This entry has no Hub runtime adapter.

Hub preparation adapter: **false**. Runtime verification: **not_run**.

Upstream setup: https://mujoco.readthedocs.io/en/3.3.7/programming/samples.html

## Source and license

- Repository: https://github.com/google-deepmind/mujoco
- Pinned source: https://github.com/google-deepmind/mujoco/blob/f1d45bd5422c74beddfb0d1deb590a02583d21de/sample/compile.cc
- Revision: `f1d45bd5422c74beddfb0d1deb590a02583d21de`
- Path: `sample/compile.cc`
- Source SHA256: `61b4e5d60decb2667ba3e0394503e3188bb7dccb59dec836021272cf5ef08d28`
- Source bytes: 4305
- Original authors: See pinned upstream source and license notices.
- License: [Apache-2.0](https://github.com/google-deepmind/mujoco/blob/f1d45bd5422c74beddfb0d1deb590a02583d21de/LICENSE)
- License scope: Example source code. Robot models, textures, logs, and third-party assets retain their own upstream licenses.

License SHA256: `cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30`

## Requirements

```json
{
  "python": "Python examples follow upstream package constraints; native samples use C++",
  "packages": [
    "mujoco==3.3.7 (Python)",
    "MuJoCo 3.3.7 and CMake toolchain (native samples)"
  ],
  "display": "Upstream example controls rendering; inspect source before use. GUI, device, model or dataset setup may be required.",
  "source_imports": [
    "cctype",
    "chrono",
    "cstddef",
    "cstdio",
    "cstdlib",
    "cstring",
    "iostream",
    "mujoco/mujoco.h"
  ]
}
```

## Invocation

```json
{
  "entrypoint": "C++ main: sample/compile.cc (build with upstream CMake)",
  "notes": "Inspect source arguments and local paths first. Run from the pinned upstream checkout as documented; examples may open a window, run continuously, or expect existing data. No success-rate or task-completion guarantee is attached."
}
```

## Compatibility

```json
[]
```

Missing environment fields remain unknown. Source discovery labels do not establish robot compatibility.

## Evidence

Level: **source_reviewed**. Runtime verification: **not_run**.

Fetched the exact source file, parsed Python/imports or located its native main/notebook cells, and inspected the repository license.

Source review and contributor reports do not establish task completion. Preserve upstream attribution and licenses.
