1
Fork 0

fix: adapted simulation config

This commit is contained in:
Jona Reynaert 2026-04-16 15:18:08 +02:00
parent 419ee29e6c
commit 3fb8ffc9d0
2 changed files with 13 additions and 2 deletions

View file

@ -8,4 +8,9 @@ model_path: null
model_type: "random"
# Execution backend (MJX or BRAX)
backend: "MJX"
backend: "MJC"
# Script behavior
headless: false
# In headless mode this is required; in viewer mode null means "infinite".
max_steps: null

View file

@ -1,5 +1,6 @@
from dataclasses import dataclass
from typing import Optional
from brittle_star_project.environment.env_types import Backend
@ -9,4 +10,9 @@ class SimulationSettings:
model_path: Optional[str] = None
model_type: str = "random"
backend: Backend = Backend.MJX
backend: Backend = Backend.MJC
# Script behavior
headless: bool = False
# If None, viewer mode runs until window closed or target reached.
max_steps: Optional[int] = None