genericroboticarm.sila_server.generated.implicitinteractionservice package

Submodules

Module contents

class genericroboticarm.sila_server.generated.implicitinteractionservice.AddDevice_Responses[source]

Bases: NamedTuple

_asdict()

Return a new dict which maps field names to their values.

_field_defaults = {}
_fields = ()
classmethod _make(iterable)

Make a new AddDevice_Responses object from a sequence or iterable

_replace(**kwds)

Return a new AddDevice_Responses object replacing specified fields with new values

class genericroboticarm.sila_server.generated.implicitinteractionservice.ConnectToDevice_Responses(Success)[source]

Bases: NamedTuple

Success: bool

Boolean whether connection could be established

_asdict()

Return a new dict which maps field names to their values.

_field_defaults = {}
_fields = ('Success',)
classmethod _make(iterable)

Make a new ConnectToDevice_Responses object from a sequence or iterable

_replace(**kwds)

Return a new ConnectToDevice_Responses object replacing specified fields with new values

class genericroboticarm.sila_server.generated.implicitinteractionservice.ImplicitInteractionServiceBase(parent_server: Server)[source]

Bases: FeatureImplementationBase, ABC

abstractmethod AddDevice(ServerName: str, *, metadata: MetadataDict) AddDevice_Responses[source]

Adds a device to the set.

Parameters:
  • ServerName – The SilaService.server_name of the device

  • metadata – The SiLA Client Metadata attached to the call

abstractmethod ConnectToDevice(ServerName: str, Timeout: float, *, metadata: MetadataDict) ConnectToDevice_Responses[source]
Makes the robot try to establish a connection to the specified device(this might take a few

seconds). Doing this before the connection is actually needed may save time.

Parameters:
  • ServerName – SiLA server name

  • Timeout – timeout for creating a SilAclient

  • metadata – The SiLA Client Metadata attached to the call

Returns:

  • Success: Boolean whether connection could be established

abstractmethod RemoveDevice(ServerName: str, *, metadata: MetadataDict) RemoveDevice_Responses[source]

Removes a device to the set.

Parameters:
  • ServerName – The SilaService.server_name of the device

  • metadata – The SiLA Client Metadata attached to the call

_abc_impl = <_abc._abc_data object>
abstractmethod get_CurrentDeviceSet(*, metadata: MetadataDict) List[str][source]

A list of all devices currently set for implicit interaction.

Parameters:

metadata – The SiLA Client Metadata attached to the call

Returns:

A list of all devices currently set for implicit interaction.

parent_server: Server

SiLA Server serving this feature implementation

class genericroboticarm.sila_server.generated.implicitinteractionservice.ImplicitInteractionServiceClient[source]

Bases: object

Feature to add implicit interaction with other devices for labware transfer. This feature allows to

manage a set sila connectors specified by their sila server_name which must implement the LabwareTransferSiteController feature. When a MovePlate PickPlate or PlacePlate command from the RobotController feature of this connector is called and the specified site (, i.e., the parameter Site.device) is in the set of for implicit interaction the corresponding methods (PrepareForInput, PrepareForOutput, LabwarePlaced and LabwareRemoved) are automatically called before/after picking/placing labware. The robot automatically connects to listed devices via SiLA discovery and will not move labware to/from a listed device if so connection can be established.

AddDevice(ServerName: str, *, metadata: Iterable[ClientMetadataInstance] | None = None) AddDevice_Responses[source]

Adds a device to the set.

ConnectToDevice(ServerName: str, Timeout: float, *, metadata: Iterable[ClientMetadataInstance] | None = None) ConnectToDevice_Responses[source]
Makes the robot try to establish a connection to the specified device(this might take a few

seconds). Doing this before the connection is actually needed may save time.

CurrentDeviceSet: ClientUnobservableProperty[List[str]]

A list of all devices currently set for implicit interaction.

RemoveDevice(ServerName: str, *, metadata: Iterable[ClientMetadataInstance] | None = None) RemoveDevice_Responses[source]

Removes a device to the set.

class genericroboticarm.sila_server.generated.implicitinteractionservice.RemoveDevice_Responses[source]

Bases: NamedTuple

_asdict()

Return a new dict which maps field names to their values.

_field_defaults = {}
_fields = ()
classmethod _make(iterable)

Make a new RemoveDevice_Responses object from a sequence or iterable

_replace(**kwds)

Return a new RemoveDevice_Responses object replacing specified fields with new values