reachy_sdk.device_holder
¶
Generic Device Holder.
- class reachy_sdk.device_holder.DeviceHolder(device_list)¶
Device holder class which contains a specific type of device (eg. Fan, ForceSensor, etc).
Its only purpose is to not overcrowed the ReachySDK class with all devices.
- Parameters:
device_list (List[Fan | ForceSensor | Joint]) –
- items()¶
Get a dict item view of the contained devices.
- Return type:
ItemsView[str, Fan | ForceSensor | Joint]
- values()¶
Get a dict value view of the contained devices.
- Return type:
ValuesView[Fan | ForceSensor | Joint]