Area Callback Service Runner

bosdyn.client.area_callback_service_runner.run_service(robot: Robot, service: AreaCallbackServiceServicer, port: int, host_ip: str)[source]

Helper function to start AreaCallback service and register it with directory keep alive.

Parameters:
  • robot (Robot) – Robot object to use for directory registration.

  • service (AreaCallbackServiceServicer) – The AreaCallbackService implementation

  • port (int) – Port the AreaCallback service should connect to.

  • host_ip (str) – The IP address of the computer hosting this endpoint.

Returns:

(GrpcServiceRunner, DirectoryRegistrationKeepAlive)