genericroboticarm.sila_server.feature_implementations.implicitinteractionservice_impl module

class genericroboticarm.sila_server.feature_implementations.implicitinteractionservice_impl.ImplicitInteractionServiceImpl(parent_server: Server, device_list: DeviceList)[source]

Bases: ImplicitInteractionServiceBase

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

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

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>
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.