|
Download docs/extending_simulators.md from anhtld/vla: direct link, hf CLI and curl.
- Browser
- Download file 644 Bytes
-
https://huggingface.co/anhtld/vla/resolve/54392df34e2e9dc095c0fddda77e00a4e67f8ed0/docs/extending_simulators.md
- Command line
-
hf download hf://anhtld/vla@54392df34e2e9dc095c0fddda77e00a4e67f8ed0/docs/extending_simulators.md
-
curl -L -o extending_simulators.md https://huggingface.co/anhtld/vla/resolve/54392df34e2e9dc095c0fddda77e00a4e67f8ed0/docs/extending_simulators.md
644 Bytes
| # Extending Simulators | |
| Add a new simulator by implementing `dovla_cil.simulators.base.SimulatorBackend`. | |
| Minimum requirements: | |
| 1. `serialize_state()` must return enough information for exact reset. | |
| 2. `reset_from_state(state)` must restore deterministic state for same-state interventions. | |
| 3. `get_observation()` must return JSON-serializable metadata or paths to external assets. | |
| 4. `step_action_chunk(action)` must execute a fixed action chunk and return reward, done, and info. | |
| Keep heavyweight dependencies optional. The package should import and run toy smoke tests even when | |
| ManiSkill3, Genesis, or cluster launchers are unavailable. | |