STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
backend.routers.control.CommandRequest Class Reference
Inheritance diagram for backend.routers.control.CommandRequest:
[legend]
Collaboration diagram for backend.routers.control.CommandRequest:
[legend]

Static Public Attributes

Literal command_type
Optional thrust_desired
Optional altitude_goal

Detailed Description

Control command.

Definition at line 184 of file control.py.

Member Data Documentation

◆ altitude_goal

Optional backend.routers.control.CommandRequest.altitude_goal
static
Initial value:
= Field(
default=None,
description="Target altitude [m] (for altitude_goal mode)"
)

Definition at line 194 of file control.py.

Referenced by engine.control.robust_ddp.data_models.Command.to_dict().

◆ command_type

Literal backend.routers.control.CommandRequest.command_type
static
Initial value:
= Field(
...,
description="Command type: 'thrust_desired' or 'altitude_goal'"
)

Definition at line 186 of file control.py.

Referenced by engine.control.robust_ddp.data_models.Command.to_dict().

◆ thrust_desired

Optional backend.routers.control.CommandRequest.thrust_desired
static
Initial value:
= Field(
default=None,
description="Desired thrust [N] (for thrust_desired mode) or piecewise schedule"
)

Definition at line 190 of file control.py.

Referenced by engine.control.robust_ddp.data_models.Command.to_dict().


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