|
Hermes
Simulation Orchestration Platform for Aerospace
|


Public Member Functions | |
| HermesConfig | from_yaml (cls, Path|str path) |
| float | get_dt (self) |
| float | get_major_frame_dt (self) |
| list[str] | get_module_names (self) |
Static Public Attributes | |
| str | version = "0.2" |
| dict | modules [str, ModuleConfig] |
| list | wiring = Field(default_factory=list) |
| ExecutionConfig | execution = Field(default_factory=ExecutionConfig) |
| ServerConfig | server = Field(default_factory=ServerConfig) |
Protected Member Functions | |
| HermesConfig | _validate_references (self) |
Root Hermes configuration.
|
protected |
Validate that wiring and schedule reference valid modules.
| HermesConfig hermes.core.config.HermesConfig.from_yaml | ( | cls, | |
| Path | str | path ) |
Load configuration from YAML file.
Args:
path: Path to YAML configuration file
Returns:
Parsed configuration
Raises:
FileNotFoundError: If file doesn't exist
pydantic.ValidationError: If configuration invalid
| float hermes.core.config.HermesConfig.get_dt | ( | self | ) |
Get timestep in seconds.
| float hermes.core.config.HermesConfig.get_major_frame_dt | ( | self | ) |
Get major-frame timestep in seconds. Returns the timestep corresponding to the major frame rate (slowest module rate). Falls back to :meth:`get_dt` when no multi-rate schedule is configured.
| list[str] hermes.core.config.HermesConfig.get_module_names | ( | self | ) |
Get module names in execution order.
|
static |
|
static |
|
static |
|
static |
|
static |