DeviceIdentity

class pyniryo_nate.models.device.DeviceIdentity(device_id: str, device_name: str | None = None, model: str | None = None, serial_number: str | None = None, software: DeviceSoftware | None = None)[source]

Bases: object

Identity of the robot: what names it, which product it is, and which embedded software it runs. Every field but device_id is None when its source has nothing to give.

Parameters:
  • device_id (str) – Identifier of the robot, fixed for the life of the device.

  • device_name (str | None) – Name the device manager gives the robot.

  • model (str | None) – Robot model, as configured.

  • serial_number (str | None) – Serial number of the arm base board, None until the firmware has reported it.

  • software (DeviceSoftware | None) – The embedded software release the robot runs.

Attributes

Methods

device_id: str
device_name: str | None = None
model: str | None = None
serial_number: str | None = None
software: DeviceSoftware | None = None
classmethod from_transport_model(model: DeviceID) → DeviceIdentity[source]
Parameters:

model (DeviceID)

Return type:

DeviceIdentity