🗺️ Terrain Tools¶
OrcaGym provides terrain generation tools for creating complex training environments.
TerrainGenerator¶
HeightMapGenerator¶
Terrain Types¶
| Type | Parameters | Example Use Case |
|---|---|---|
| Flat | — | Baseline testing |
| Slope | angle | Slope climbing training |
| Steps | step_height, step_count | Stair climbing |
| Rough | roughness | Rough terrain adaptation |
| Obstacles | obstacle_size, obstacle_count | Obstacle avoidance navigation |
Workflow¶
- Use terrain tools to generate heightmaps
- Embed the heightmap into the MuJoCo scene XML
- OrcaGym automatically downloads hfield assets during model loading
- Create environments for training