STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
controller_lut.config.ControllerLUTConfig Class Reference

Public Member Functions

"ControllerLUTConfig" from_yaml (cls, str|Path path)
Dict[str, Any] to_dict (self)

Static Public Attributes

List axes [LUTAxisConfig]
List outputs [str]
Optional controller_config_path = None
Optional engine_lut_path = None
Dict metadata = field(default_factory=dict)

Detailed Description

High-dimensional controller LUT configuration.

This describes:
- Which axes (state / command variables) span the LUT
- Which engine/controller quantities are stored as outputs
- Where to find the underlying engine configuration

Definition at line 33 of file config.py.

Member Function Documentation

◆ from_yaml()

"ControllerLUTConfig" controller_lut.config.ControllerLUTConfig.from_yaml ( cls,
str | Path path )
Load a LUT configuration from a YAML file.

Definition at line 51 of file config.py.

◆ to_dict()

Dict[str, Any] controller_lut.config.ControllerLUTConfig.to_dict ( self)
Convert to a plain dict suitable for JSON/YAML serialization.

Definition at line 76 of file config.py.

References axes.

Referenced by engine.control.robust_ddp.data_models.ControllerConfig.to_json(), and engine.control.robust_ddp.data_models.ControllerConfig.to_yaml().

Member Data Documentation

◆ axes

List controller_lut.config.ControllerLUTConfig.axes [LUTAxisConfig]
static

◆ controller_config_path

Optional controller_lut.config.ControllerLUTConfig.controller_config_path = None
static

Definition at line 46 of file config.py.

◆ engine_lut_path

Optional controller_lut.config.ControllerLUTConfig.engine_lut_path = None
static

Definition at line 47 of file config.py.

◆ metadata

Dict controller_lut.config.ControllerLUTConfig.metadata = field(default_factory=dict)
static

Definition at line 48 of file config.py.

◆ outputs

List controller_lut.config.ControllerLUTConfig.outputs [str]
static

Definition at line 44 of file config.py.


The documentation for this class was generated from the following file: