def get_config(self, **kwargs): """Return the estop configuration of the robot. Args: kwargs: Passed to underlying RPC. Example: timeout=5 to cancel the RPC after 5 seconds. Returns: estop_pb2.EstopConfig the robot is currently using. """ return self.call(self._stub.GetEstopConfig, estop_pb2.GetEstopConfigRequest(), _active_config_from_config_response, common_header_errors, **kwargs)
def get_config_async(self, **kwargs): """Async version of get_config()""" return self.call_async(self._stub.GetEstopConfig, estop_pb2.GetEstopConfigRequest(), _active_config_from_config_response, common_header_errors, **kwargs)