ActuatorCyclic

class ActuatorCyclicClient
Canonical

kortex_api.autogen.client_stubs.ActuatorCyclicClientRpc

__init__(router, namespace=None)

Constructs a ActuatorCyclicClient with an initialized RouterClient and an optional namespace.

Parameters
  • router (RouterClient) – RouterClient used for the communication

  • namespace (string) – Optional namespace on which to initialize the ActuatorCyclicClient (defaults to None)

IsAlive(timeoutMs: int = 1000)

Returns True if the Service Server is detected online before timeoutMs is expired, False otherwise.

Parameters

timeoutMs (unsigned int) – The maximum time to wait for an answer from the server

Return type

bool