genericroboticarm.sila_server.generated.implicitinteractionservice.implicitinteractionservice_base module

class genericroboticarm.sila_server.generated.implicitinteractionservice.implicitinteractionservice_base.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

__is_running: bool
__periodic_funcs: List[Callable[[], None]]
__started: bool
_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