|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
Public Member Functions | |
| __post_init__ (self) | |
| Dict[str, Any] | to_dict (self) |
| Command | from_dict (cls, Dict[str, Any] data) |
Public Attributes | |
| command_type = CommandType.THRUST_DESIRED: | |
Static Public Attributes | |
| Optional | thrust_desired = None |
| Optional | altitude_goal = None |
Control command. Supports either thrust desired (time-varying) or altitude goal.
Definition at line 167 of file data_models.py.
| engine.control.robust_ddp.data_models.Command.__post_init__ | ( | self | ) |
Validate command.
Definition at line 182 of file data_models.py.
| Command engine.control.robust_ddp.data_models.Command.from_dict | ( | cls, | |
| Dict[str, Any] | data ) |
Create from dictionary.
Definition at line 212 of file data_models.py.
Referenced by engine.control.robust_ddp.data_models.ControllerConfig.from_json(), and engine.control.robust_ddp.data_models.ControllerConfig.from_yaml().
| Dict[str, Any] engine.control.robust_ddp.data_models.Command.to_dict | ( | self | ) |
Convert to dictionary for serialization.
Definition at line 200 of file data_models.py.
References backend.routers.control.CommandRequest.altitude_goal, altitude_goal, fsw::control::RobustDDPController::Command.altitude_goal, backend.routers.control.CommandRequest.command_type, command_type, backend.routers.control.CommandRequest.thrust_desired, thrust_desired, and fsw::control::RobustDDPController::Command.thrust_desired.
Referenced by engine.control.robust_ddp.data_models.ControllerConfig.to_json(), and engine.control.robust_ddp.data_models.ControllerConfig.to_yaml().
|
static |
Definition at line 180 of file data_models.py.
Referenced by to_dict().
| engine.control.robust_ddp.data_models.Command.command_type = CommandType.THRUST_DESIRED: |
Definition at line 184 of file data_models.py.
Referenced by to_dict().
|
static |
Definition at line 177 of file data_models.py.
Referenced by to_dict().