FirmwareState¶
- class pyniryo_nate.models.firmware.FirmwareState(status: FirmwareStatus, container_status: str, safety: SafetyState | None)[source]¶
Bases:
objectState of the robot firmware.
- Parameters:
status (FirmwareStatus) – Lifecycle of the base node.
container_status (str) – The status of the ros-robot container (running, stopped, not_found, unknown). Anything other than “running” forces
statusto INACTIVE and omitssafety.safety (SafetyState | None) – State reported by the safety module, if any.
Attributes
Methods
- status: FirmwareStatus¶
- container_status: str¶
- safety: SafetyState | None¶
- classmethod from_transport_model(model: FirmwareState) FirmwareState[source]¶
- Parameters:
model (FirmwareState)
- Return type:
- classmethod from_a_transport_model(model: FirmwareState) FirmwareState[source]¶
- Parameters:
model (FirmwareState)
- Return type: