openlch.hal_pb_pb2_grpc

Client and server classes corresponding to protobuf-defined services.

   1# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
   2"""Client and server classes corresponding to protobuf-defined services."""
   3import grpc
   4import warnings
   5
   6from . import hal_pb_pb2 as hal__pb__pb2
   7
   8GRPC_GENERATED_VERSION = '1.67.0'
   9GRPC_VERSION = grpc.__version__
  10_version_not_supported = False
  11
  12try:
  13    from grpc._utilities import first_version_is_lower
  14    _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
  15except ImportError:
  16    _version_not_supported = True
  17
  18if _version_not_supported:
  19    raise RuntimeError(
  20        f'The grpc package installed is at version {GRPC_VERSION},'
  21        + f' but the generated code in hal_pb_pb2_grpc.py depends on'
  22        + f' grpcio>={GRPC_GENERATED_VERSION}.'
  23        + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
  24        + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
  25    )
  26
  27
  28class ServoControlStub(object):
  29    """Missing associated documentation comment in .proto file."""
  30
  31    def __init__(self, channel):
  32        """Constructor.
  33
  34        Args:
  35            channel: A grpc.Channel.
  36        """
  37        self.GetPositions = channel.unary_unary(
  38                '/hal_pb.ServoControl/GetPositions',
  39                request_serializer=hal__pb__pb2.Empty.SerializeToString,
  40                response_deserializer=hal__pb__pb2.JointPositions.FromString,
  41                _registered_method=True)
  42        self.SetPositions = channel.unary_unary(
  43                '/hal_pb.ServoControl/SetPositions',
  44                request_serializer=hal__pb__pb2.JointPositions.SerializeToString,
  45                response_deserializer=hal__pb__pb2.Empty.FromString,
  46                _registered_method=True)
  47        self.EnableMovement = channel.unary_unary(
  48                '/hal_pb.ServoControl/EnableMovement',
  49                request_serializer=hal__pb__pb2.Empty.SerializeToString,
  50                response_deserializer=hal__pb__pb2.Empty.FromString,
  51                _registered_method=True)
  52        self.DisableMovement = channel.unary_unary(
  53                '/hal_pb.ServoControl/DisableMovement',
  54                request_serializer=hal__pb__pb2.Empty.SerializeToString,
  55                response_deserializer=hal__pb__pb2.Empty.FromString,
  56                _registered_method=True)
  57        self.SetPosition = channel.unary_unary(
  58                '/hal_pb.ServoControl/SetPosition',
  59                request_serializer=hal__pb__pb2.JointPosition.SerializeToString,
  60                response_deserializer=hal__pb__pb2.Empty.FromString,
  61                _registered_method=True)
  62        self.SetWifiInfo = channel.unary_unary(
  63                '/hal_pb.ServoControl/SetWifiInfo',
  64                request_serializer=hal__pb__pb2.WifiCredentials.SerializeToString,
  65                response_deserializer=hal__pb__pb2.Empty.FromString,
  66                _registered_method=True)
  67        self.GetServoInfo = channel.unary_unary(
  68                '/hal_pb.ServoControl/GetServoInfo',
  69                request_serializer=hal__pb__pb2.ServoId.SerializeToString,
  70                response_deserializer=hal__pb__pb2.ServoInfoResponse.FromString,
  71                _registered_method=True)
  72        self.Scan = channel.unary_unary(
  73                '/hal_pb.ServoControl/Scan',
  74                request_serializer=hal__pb__pb2.Empty.SerializeToString,
  75                response_deserializer=hal__pb__pb2.ServoIds.FromString,
  76                _registered_method=True)
  77        self.ChangeId = channel.unary_unary(
  78                '/hal_pb.ServoControl/ChangeId',
  79                request_serializer=hal__pb__pb2.IdChange.SerializeToString,
  80                response_deserializer=hal__pb__pb2.ChangeIdResponse.FromString,
  81                _registered_method=True)
  82        self.StartCalibration = channel.unary_unary(
  83                '/hal_pb.ServoControl/StartCalibration',
  84                request_serializer=hal__pb__pb2.CalibrationRequest.SerializeToString,
  85                response_deserializer=hal__pb__pb2.CalibrationResponse.FromString,
  86                _registered_method=True)
  87        self.CancelCalibration = channel.unary_unary(
  88                '/hal_pb.ServoControl/CancelCalibration',
  89                request_serializer=hal__pb__pb2.ServoId.SerializeToString,
  90                response_deserializer=hal__pb__pb2.CalibrationResponse.FromString,
  91                _registered_method=True)
  92        self.StartVideoStream = channel.unary_unary(
  93                '/hal_pb.ServoControl/StartVideoStream',
  94                request_serializer=hal__pb__pb2.Empty.SerializeToString,
  95                response_deserializer=hal__pb__pb2.Empty.FromString,
  96                _registered_method=True)
  97        self.StopVideoStream = channel.unary_unary(
  98                '/hal_pb.ServoControl/StopVideoStream',
  99                request_serializer=hal__pb__pb2.Empty.SerializeToString,
 100                response_deserializer=hal__pb__pb2.Empty.FromString,
 101                _registered_method=True)
 102        self.GetVideoStreamUrls = channel.unary_unary(
 103                '/hal_pb.ServoControl/GetVideoStreamUrls',
 104                request_serializer=hal__pb__pb2.Empty.SerializeToString,
 105                response_deserializer=hal__pb__pb2.VideoStreamUrls.FromString,
 106                _registered_method=True)
 107        self.GetCalibrationStatus = channel.unary_unary(
 108                '/hal_pb.ServoControl/GetCalibrationStatus',
 109                request_serializer=hal__pb__pb2.Empty.SerializeToString,
 110                response_deserializer=hal__pb__pb2.CalibrationStatus.FromString,
 111                _registered_method=True)
 112        self.SetTorque = channel.unary_unary(
 113                '/hal_pb.ServoControl/SetTorque',
 114                request_serializer=hal__pb__pb2.TorqueSettings.SerializeToString,
 115                response_deserializer=hal__pb__pb2.Empty.FromString,
 116                _registered_method=True)
 117        self.SetTorqueEnable = channel.unary_unary(
 118                '/hal_pb.ServoControl/SetTorqueEnable',
 119                request_serializer=hal__pb__pb2.TorqueEnableSettings.SerializeToString,
 120                response_deserializer=hal__pb__pb2.Empty.FromString,
 121                _registered_method=True)
 122        self.GetImuData = channel.unary_unary(
 123                '/hal_pb.ServoControl/GetImuData',
 124                request_serializer=hal__pb__pb2.Empty.SerializeToString,
 125                response_deserializer=hal__pb__pb2.ImuData.FromString,
 126                _registered_method=True)
 127        self.UploadAudio = channel.stream_unary(
 128                '/hal_pb.ServoControl/UploadAudio',
 129                request_serializer=hal__pb__pb2.AudioChunk.SerializeToString,
 130                response_deserializer=hal__pb__pb2.UploadResponse.FromString,
 131                _registered_method=True)
 132        self.PlayAudio = channel.unary_unary(
 133                '/hal_pb.ServoControl/PlayAudio',
 134                request_serializer=hal__pb__pb2.PlayRequest.SerializeToString,
 135                response_deserializer=hal__pb__pb2.Empty.FromString,
 136                _registered_method=True)
 137        self.StartRecording = channel.unary_unary(
 138                '/hal_pb.ServoControl/StartRecording',
 139                request_serializer=hal__pb__pb2.RecordingConfig.SerializeToString,
 140                response_deserializer=hal__pb__pb2.Empty.FromString,
 141                _registered_method=True)
 142        self.StopRecording = channel.unary_unary(
 143                '/hal_pb.ServoControl/StopRecording',
 144                request_serializer=hal__pb__pb2.Empty.SerializeToString,
 145                response_deserializer=hal__pb__pb2.Empty.FromString,
 146                _registered_method=True)
 147        self.GetRecordedAudio = channel.unary_stream(
 148                '/hal_pb.ServoControl/GetRecordedAudio',
 149                request_serializer=hal__pb__pb2.Empty.SerializeToString,
 150                response_deserializer=hal__pb__pb2.AudioChunk.FromString,
 151                _registered_method=True)
 152
 153
 154class ServoControlServicer(object):
 155    """Missing associated documentation comment in .proto file."""
 156
 157    def GetPositions(self, request, context):
 158        """Missing associated documentation comment in .proto file."""
 159        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
 160        context.set_details('Method not implemented!')
 161        raise NotImplementedError('Method not implemented!')
 162
 163    def SetPositions(self, request, context):
 164        """Missing associated documentation comment in .proto file."""
 165        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
 166        context.set_details('Method not implemented!')
 167        raise NotImplementedError('Method not implemented!')
 168
 169    def EnableMovement(self, request, context):
 170        """Missing associated documentation comment in .proto file."""
 171        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
 172        context.set_details('Method not implemented!')
 173        raise NotImplementedError('Method not implemented!')
 174
 175    def DisableMovement(self, request, context):
 176        """Missing associated documentation comment in .proto file."""
 177        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
 178        context.set_details('Method not implemented!')
 179        raise NotImplementedError('Method not implemented!')
 180
 181    def SetPosition(self, request, context):
 182        """Missing associated documentation comment in .proto file."""
 183        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
 184        context.set_details('Method not implemented!')
 185        raise NotImplementedError('Method not implemented!')
 186
 187    def SetWifiInfo(self, request, context):
 188        """Missing associated documentation comment in .proto file."""
 189        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
 190        context.set_details('Method not implemented!')
 191        raise NotImplementedError('Method not implemented!')
 192
 193    def GetServoInfo(self, request, context):
 194        """Missing associated documentation comment in .proto file."""
 195        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
 196        context.set_details('Method not implemented!')
 197        raise NotImplementedError('Method not implemented!')
 198
 199    def Scan(self, request, context):
 200        """Missing associated documentation comment in .proto file."""
 201        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
 202        context.set_details('Method not implemented!')
 203        raise NotImplementedError('Method not implemented!')
 204
 205    def ChangeId(self, request, context):
 206        """Missing associated documentation comment in .proto file."""
 207        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
 208        context.set_details('Method not implemented!')
 209        raise NotImplementedError('Method not implemented!')
 210
 211    def StartCalibration(self, request, context):
 212        """Missing associated documentation comment in .proto file."""
 213        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
 214        context.set_details('Method not implemented!')
 215        raise NotImplementedError('Method not implemented!')
 216
 217    def CancelCalibration(self, request, context):
 218        """Missing associated documentation comment in .proto file."""
 219        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
 220        context.set_details('Method not implemented!')
 221        raise NotImplementedError('Method not implemented!')
 222
 223    def StartVideoStream(self, request, context):
 224        """Missing associated documentation comment in .proto file."""
 225        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
 226        context.set_details('Method not implemented!')
 227        raise NotImplementedError('Method not implemented!')
 228
 229    def StopVideoStream(self, request, context):
 230        """Missing associated documentation comment in .proto file."""
 231        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
 232        context.set_details('Method not implemented!')
 233        raise NotImplementedError('Method not implemented!')
 234
 235    def GetVideoStreamUrls(self, request, context):
 236        """Missing associated documentation comment in .proto file."""
 237        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
 238        context.set_details('Method not implemented!')
 239        raise NotImplementedError('Method not implemented!')
 240
 241    def GetCalibrationStatus(self, request, context):
 242        """Missing associated documentation comment in .proto file."""
 243        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
 244        context.set_details('Method not implemented!')
 245        raise NotImplementedError('Method not implemented!')
 246
 247    def SetTorque(self, request, context):
 248        """Missing associated documentation comment in .proto file."""
 249        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
 250        context.set_details('Method not implemented!')
 251        raise NotImplementedError('Method not implemented!')
 252
 253    def SetTorqueEnable(self, request, context):
 254        """Missing associated documentation comment in .proto file."""
 255        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
 256        context.set_details('Method not implemented!')
 257        raise NotImplementedError('Method not implemented!')
 258
 259    def GetImuData(self, request, context):
 260        """Missing associated documentation comment in .proto file."""
 261        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
 262        context.set_details('Method not implemented!')
 263        raise NotImplementedError('Method not implemented!')
 264
 265    def UploadAudio(self, request_iterator, context):
 266        """Missing associated documentation comment in .proto file."""
 267        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
 268        context.set_details('Method not implemented!')
 269        raise NotImplementedError('Method not implemented!')
 270
 271    def PlayAudio(self, request, context):
 272        """Missing associated documentation comment in .proto file."""
 273        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
 274        context.set_details('Method not implemented!')
 275        raise NotImplementedError('Method not implemented!')
 276
 277    def StartRecording(self, request, context):
 278        """Missing associated documentation comment in .proto file."""
 279        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
 280        context.set_details('Method not implemented!')
 281        raise NotImplementedError('Method not implemented!')
 282
 283    def StopRecording(self, request, context):
 284        """Missing associated documentation comment in .proto file."""
 285        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
 286        context.set_details('Method not implemented!')
 287        raise NotImplementedError('Method not implemented!')
 288
 289    def GetRecordedAudio(self, request, context):
 290        """Missing associated documentation comment in .proto file."""
 291        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
 292        context.set_details('Method not implemented!')
 293        raise NotImplementedError('Method not implemented!')
 294
 295
 296def add_ServoControlServicer_to_server(servicer, server):
 297    rpc_method_handlers = {
 298            'GetPositions': grpc.unary_unary_rpc_method_handler(
 299                    servicer.GetPositions,
 300                    request_deserializer=hal__pb__pb2.Empty.FromString,
 301                    response_serializer=hal__pb__pb2.JointPositions.SerializeToString,
 302            ),
 303            'SetPositions': grpc.unary_unary_rpc_method_handler(
 304                    servicer.SetPositions,
 305                    request_deserializer=hal__pb__pb2.JointPositions.FromString,
 306                    response_serializer=hal__pb__pb2.Empty.SerializeToString,
 307            ),
 308            'EnableMovement': grpc.unary_unary_rpc_method_handler(
 309                    servicer.EnableMovement,
 310                    request_deserializer=hal__pb__pb2.Empty.FromString,
 311                    response_serializer=hal__pb__pb2.Empty.SerializeToString,
 312            ),
 313            'DisableMovement': grpc.unary_unary_rpc_method_handler(
 314                    servicer.DisableMovement,
 315                    request_deserializer=hal__pb__pb2.Empty.FromString,
 316                    response_serializer=hal__pb__pb2.Empty.SerializeToString,
 317            ),
 318            'SetPosition': grpc.unary_unary_rpc_method_handler(
 319                    servicer.SetPosition,
 320                    request_deserializer=hal__pb__pb2.JointPosition.FromString,
 321                    response_serializer=hal__pb__pb2.Empty.SerializeToString,
 322            ),
 323            'SetWifiInfo': grpc.unary_unary_rpc_method_handler(
 324                    servicer.SetWifiInfo,
 325                    request_deserializer=hal__pb__pb2.WifiCredentials.FromString,
 326                    response_serializer=hal__pb__pb2.Empty.SerializeToString,
 327            ),
 328            'GetServoInfo': grpc.unary_unary_rpc_method_handler(
 329                    servicer.GetServoInfo,
 330                    request_deserializer=hal__pb__pb2.ServoId.FromString,
 331                    response_serializer=hal__pb__pb2.ServoInfoResponse.SerializeToString,
 332            ),
 333            'Scan': grpc.unary_unary_rpc_method_handler(
 334                    servicer.Scan,
 335                    request_deserializer=hal__pb__pb2.Empty.FromString,
 336                    response_serializer=hal__pb__pb2.ServoIds.SerializeToString,
 337            ),
 338            'ChangeId': grpc.unary_unary_rpc_method_handler(
 339                    servicer.ChangeId,
 340                    request_deserializer=hal__pb__pb2.IdChange.FromString,
 341                    response_serializer=hal__pb__pb2.ChangeIdResponse.SerializeToString,
 342            ),
 343            'StartCalibration': grpc.unary_unary_rpc_method_handler(
 344                    servicer.StartCalibration,
 345                    request_deserializer=hal__pb__pb2.CalibrationRequest.FromString,
 346                    response_serializer=hal__pb__pb2.CalibrationResponse.SerializeToString,
 347            ),
 348            'CancelCalibration': grpc.unary_unary_rpc_method_handler(
 349                    servicer.CancelCalibration,
 350                    request_deserializer=hal__pb__pb2.ServoId.FromString,
 351                    response_serializer=hal__pb__pb2.CalibrationResponse.SerializeToString,
 352            ),
 353            'StartVideoStream': grpc.unary_unary_rpc_method_handler(
 354                    servicer.StartVideoStream,
 355                    request_deserializer=hal__pb__pb2.Empty.FromString,
 356                    response_serializer=hal__pb__pb2.Empty.SerializeToString,
 357            ),
 358            'StopVideoStream': grpc.unary_unary_rpc_method_handler(
 359                    servicer.StopVideoStream,
 360                    request_deserializer=hal__pb__pb2.Empty.FromString,
 361                    response_serializer=hal__pb__pb2.Empty.SerializeToString,
 362            ),
 363            'GetVideoStreamUrls': grpc.unary_unary_rpc_method_handler(
 364                    servicer.GetVideoStreamUrls,
 365                    request_deserializer=hal__pb__pb2.Empty.FromString,
 366                    response_serializer=hal__pb__pb2.VideoStreamUrls.SerializeToString,
 367            ),
 368            'GetCalibrationStatus': grpc.unary_unary_rpc_method_handler(
 369                    servicer.GetCalibrationStatus,
 370                    request_deserializer=hal__pb__pb2.Empty.FromString,
 371                    response_serializer=hal__pb__pb2.CalibrationStatus.SerializeToString,
 372            ),
 373            'SetTorque': grpc.unary_unary_rpc_method_handler(
 374                    servicer.SetTorque,
 375                    request_deserializer=hal__pb__pb2.TorqueSettings.FromString,
 376                    response_serializer=hal__pb__pb2.Empty.SerializeToString,
 377            ),
 378            'SetTorqueEnable': grpc.unary_unary_rpc_method_handler(
 379                    servicer.SetTorqueEnable,
 380                    request_deserializer=hal__pb__pb2.TorqueEnableSettings.FromString,
 381                    response_serializer=hal__pb__pb2.Empty.SerializeToString,
 382            ),
 383            'GetImuData': grpc.unary_unary_rpc_method_handler(
 384                    servicer.GetImuData,
 385                    request_deserializer=hal__pb__pb2.Empty.FromString,
 386                    response_serializer=hal__pb__pb2.ImuData.SerializeToString,
 387            ),
 388            'UploadAudio': grpc.stream_unary_rpc_method_handler(
 389                    servicer.UploadAudio,
 390                    request_deserializer=hal__pb__pb2.AudioChunk.FromString,
 391                    response_serializer=hal__pb__pb2.UploadResponse.SerializeToString,
 392            ),
 393            'PlayAudio': grpc.unary_unary_rpc_method_handler(
 394                    servicer.PlayAudio,
 395                    request_deserializer=hal__pb__pb2.PlayRequest.FromString,
 396                    response_serializer=hal__pb__pb2.Empty.SerializeToString,
 397            ),
 398            'StartRecording': grpc.unary_unary_rpc_method_handler(
 399                    servicer.StartRecording,
 400                    request_deserializer=hal__pb__pb2.RecordingConfig.FromString,
 401                    response_serializer=hal__pb__pb2.Empty.SerializeToString,
 402            ),
 403            'StopRecording': grpc.unary_unary_rpc_method_handler(
 404                    servicer.StopRecording,
 405                    request_deserializer=hal__pb__pb2.Empty.FromString,
 406                    response_serializer=hal__pb__pb2.Empty.SerializeToString,
 407            ),
 408            'GetRecordedAudio': grpc.unary_stream_rpc_method_handler(
 409                    servicer.GetRecordedAudio,
 410                    request_deserializer=hal__pb__pb2.Empty.FromString,
 411                    response_serializer=hal__pb__pb2.AudioChunk.SerializeToString,
 412            ),
 413    }
 414    generic_handler = grpc.method_handlers_generic_handler(
 415            'hal_pb.ServoControl', rpc_method_handlers)
 416    server.add_generic_rpc_handlers((generic_handler,))
 417    server.add_registered_method_handlers('hal_pb.ServoControl', rpc_method_handlers)
 418
 419
 420 # This class is part of an EXPERIMENTAL API.
 421class ServoControl(object):
 422    """Missing associated documentation comment in .proto file."""
 423
 424    @staticmethod
 425    def GetPositions(request,
 426            target,
 427            options=(),
 428            channel_credentials=None,
 429            call_credentials=None,
 430            insecure=False,
 431            compression=None,
 432            wait_for_ready=None,
 433            timeout=None,
 434            metadata=None):
 435        return grpc.experimental.unary_unary(
 436            request,
 437            target,
 438            '/hal_pb.ServoControl/GetPositions',
 439            hal__pb__pb2.Empty.SerializeToString,
 440            hal__pb__pb2.JointPositions.FromString,
 441            options,
 442            channel_credentials,
 443            insecure,
 444            call_credentials,
 445            compression,
 446            wait_for_ready,
 447            timeout,
 448            metadata,
 449            _registered_method=True)
 450
 451    @staticmethod
 452    def SetPositions(request,
 453            target,
 454            options=(),
 455            channel_credentials=None,
 456            call_credentials=None,
 457            insecure=False,
 458            compression=None,
 459            wait_for_ready=None,
 460            timeout=None,
 461            metadata=None):
 462        return grpc.experimental.unary_unary(
 463            request,
 464            target,
 465            '/hal_pb.ServoControl/SetPositions',
 466            hal__pb__pb2.JointPositions.SerializeToString,
 467            hal__pb__pb2.Empty.FromString,
 468            options,
 469            channel_credentials,
 470            insecure,
 471            call_credentials,
 472            compression,
 473            wait_for_ready,
 474            timeout,
 475            metadata,
 476            _registered_method=True)
 477
 478    @staticmethod
 479    def EnableMovement(request,
 480            target,
 481            options=(),
 482            channel_credentials=None,
 483            call_credentials=None,
 484            insecure=False,
 485            compression=None,
 486            wait_for_ready=None,
 487            timeout=None,
 488            metadata=None):
 489        return grpc.experimental.unary_unary(
 490            request,
 491            target,
 492            '/hal_pb.ServoControl/EnableMovement',
 493            hal__pb__pb2.Empty.SerializeToString,
 494            hal__pb__pb2.Empty.FromString,
 495            options,
 496            channel_credentials,
 497            insecure,
 498            call_credentials,
 499            compression,
 500            wait_for_ready,
 501            timeout,
 502            metadata,
 503            _registered_method=True)
 504
 505    @staticmethod
 506    def DisableMovement(request,
 507            target,
 508            options=(),
 509            channel_credentials=None,
 510            call_credentials=None,
 511            insecure=False,
 512            compression=None,
 513            wait_for_ready=None,
 514            timeout=None,
 515            metadata=None):
 516        return grpc.experimental.unary_unary(
 517            request,
 518            target,
 519            '/hal_pb.ServoControl/DisableMovement',
 520            hal__pb__pb2.Empty.SerializeToString,
 521            hal__pb__pb2.Empty.FromString,
 522            options,
 523            channel_credentials,
 524            insecure,
 525            call_credentials,
 526            compression,
 527            wait_for_ready,
 528            timeout,
 529            metadata,
 530            _registered_method=True)
 531
 532    @staticmethod
 533    def SetPosition(request,
 534            target,
 535            options=(),
 536            channel_credentials=None,
 537            call_credentials=None,
 538            insecure=False,
 539            compression=None,
 540            wait_for_ready=None,
 541            timeout=None,
 542            metadata=None):
 543        return grpc.experimental.unary_unary(
 544            request,
 545            target,
 546            '/hal_pb.ServoControl/SetPosition',
 547            hal__pb__pb2.JointPosition.SerializeToString,
 548            hal__pb__pb2.Empty.FromString,
 549            options,
 550            channel_credentials,
 551            insecure,
 552            call_credentials,
 553            compression,
 554            wait_for_ready,
 555            timeout,
 556            metadata,
 557            _registered_method=True)
 558
 559    @staticmethod
 560    def SetWifiInfo(request,
 561            target,
 562            options=(),
 563            channel_credentials=None,
 564            call_credentials=None,
 565            insecure=False,
 566            compression=None,
 567            wait_for_ready=None,
 568            timeout=None,
 569            metadata=None):
 570        return grpc.experimental.unary_unary(
 571            request,
 572            target,
 573            '/hal_pb.ServoControl/SetWifiInfo',
 574            hal__pb__pb2.WifiCredentials.SerializeToString,
 575            hal__pb__pb2.Empty.FromString,
 576            options,
 577            channel_credentials,
 578            insecure,
 579            call_credentials,
 580            compression,
 581            wait_for_ready,
 582            timeout,
 583            metadata,
 584            _registered_method=True)
 585
 586    @staticmethod
 587    def GetServoInfo(request,
 588            target,
 589            options=(),
 590            channel_credentials=None,
 591            call_credentials=None,
 592            insecure=False,
 593            compression=None,
 594            wait_for_ready=None,
 595            timeout=None,
 596            metadata=None):
 597        return grpc.experimental.unary_unary(
 598            request,
 599            target,
 600            '/hal_pb.ServoControl/GetServoInfo',
 601            hal__pb__pb2.ServoId.SerializeToString,
 602            hal__pb__pb2.ServoInfoResponse.FromString,
 603            options,
 604            channel_credentials,
 605            insecure,
 606            call_credentials,
 607            compression,
 608            wait_for_ready,
 609            timeout,
 610            metadata,
 611            _registered_method=True)
 612
 613    @staticmethod
 614    def Scan(request,
 615            target,
 616            options=(),
 617            channel_credentials=None,
 618            call_credentials=None,
 619            insecure=False,
 620            compression=None,
 621            wait_for_ready=None,
 622            timeout=None,
 623            metadata=None):
 624        return grpc.experimental.unary_unary(
 625            request,
 626            target,
 627            '/hal_pb.ServoControl/Scan',
 628            hal__pb__pb2.Empty.SerializeToString,
 629            hal__pb__pb2.ServoIds.FromString,
 630            options,
 631            channel_credentials,
 632            insecure,
 633            call_credentials,
 634            compression,
 635            wait_for_ready,
 636            timeout,
 637            metadata,
 638            _registered_method=True)
 639
 640    @staticmethod
 641    def ChangeId(request,
 642            target,
 643            options=(),
 644            channel_credentials=None,
 645            call_credentials=None,
 646            insecure=False,
 647            compression=None,
 648            wait_for_ready=None,
 649            timeout=None,
 650            metadata=None):
 651        return grpc.experimental.unary_unary(
 652            request,
 653            target,
 654            '/hal_pb.ServoControl/ChangeId',
 655            hal__pb__pb2.IdChange.SerializeToString,
 656            hal__pb__pb2.ChangeIdResponse.FromString,
 657            options,
 658            channel_credentials,
 659            insecure,
 660            call_credentials,
 661            compression,
 662            wait_for_ready,
 663            timeout,
 664            metadata,
 665            _registered_method=True)
 666
 667    @staticmethod
 668    def StartCalibration(request,
 669            target,
 670            options=(),
 671            channel_credentials=None,
 672            call_credentials=None,
 673            insecure=False,
 674            compression=None,
 675            wait_for_ready=None,
 676            timeout=None,
 677            metadata=None):
 678        return grpc.experimental.unary_unary(
 679            request,
 680            target,
 681            '/hal_pb.ServoControl/StartCalibration',
 682            hal__pb__pb2.CalibrationRequest.SerializeToString,
 683            hal__pb__pb2.CalibrationResponse.FromString,
 684            options,
 685            channel_credentials,
 686            insecure,
 687            call_credentials,
 688            compression,
 689            wait_for_ready,
 690            timeout,
 691            metadata,
 692            _registered_method=True)
 693
 694    @staticmethod
 695    def CancelCalibration(request,
 696            target,
 697            options=(),
 698            channel_credentials=None,
 699            call_credentials=None,
 700            insecure=False,
 701            compression=None,
 702            wait_for_ready=None,
 703            timeout=None,
 704            metadata=None):
 705        return grpc.experimental.unary_unary(
 706            request,
 707            target,
 708            '/hal_pb.ServoControl/CancelCalibration',
 709            hal__pb__pb2.ServoId.SerializeToString,
 710            hal__pb__pb2.CalibrationResponse.FromString,
 711            options,
 712            channel_credentials,
 713            insecure,
 714            call_credentials,
 715            compression,
 716            wait_for_ready,
 717            timeout,
 718            metadata,
 719            _registered_method=True)
 720
 721    @staticmethod
 722    def StartVideoStream(request,
 723            target,
 724            options=(),
 725            channel_credentials=None,
 726            call_credentials=None,
 727            insecure=False,
 728            compression=None,
 729            wait_for_ready=None,
 730            timeout=None,
 731            metadata=None):
 732        return grpc.experimental.unary_unary(
 733            request,
 734            target,
 735            '/hal_pb.ServoControl/StartVideoStream',
 736            hal__pb__pb2.Empty.SerializeToString,
 737            hal__pb__pb2.Empty.FromString,
 738            options,
 739            channel_credentials,
 740            insecure,
 741            call_credentials,
 742            compression,
 743            wait_for_ready,
 744            timeout,
 745            metadata,
 746            _registered_method=True)
 747
 748    @staticmethod
 749    def StopVideoStream(request,
 750            target,
 751            options=(),
 752            channel_credentials=None,
 753            call_credentials=None,
 754            insecure=False,
 755            compression=None,
 756            wait_for_ready=None,
 757            timeout=None,
 758            metadata=None):
 759        return grpc.experimental.unary_unary(
 760            request,
 761            target,
 762            '/hal_pb.ServoControl/StopVideoStream',
 763            hal__pb__pb2.Empty.SerializeToString,
 764            hal__pb__pb2.Empty.FromString,
 765            options,
 766            channel_credentials,
 767            insecure,
 768            call_credentials,
 769            compression,
 770            wait_for_ready,
 771            timeout,
 772            metadata,
 773            _registered_method=True)
 774
 775    @staticmethod
 776    def GetVideoStreamUrls(request,
 777            target,
 778            options=(),
 779            channel_credentials=None,
 780            call_credentials=None,
 781            insecure=False,
 782            compression=None,
 783            wait_for_ready=None,
 784            timeout=None,
 785            metadata=None):
 786        return grpc.experimental.unary_unary(
 787            request,
 788            target,
 789            '/hal_pb.ServoControl/GetVideoStreamUrls',
 790            hal__pb__pb2.Empty.SerializeToString,
 791            hal__pb__pb2.VideoStreamUrls.FromString,
 792            options,
 793            channel_credentials,
 794            insecure,
 795            call_credentials,
 796            compression,
 797            wait_for_ready,
 798            timeout,
 799            metadata,
 800            _registered_method=True)
 801
 802    @staticmethod
 803    def GetCalibrationStatus(request,
 804            target,
 805            options=(),
 806            channel_credentials=None,
 807            call_credentials=None,
 808            insecure=False,
 809            compression=None,
 810            wait_for_ready=None,
 811            timeout=None,
 812            metadata=None):
 813        return grpc.experimental.unary_unary(
 814            request,
 815            target,
 816            '/hal_pb.ServoControl/GetCalibrationStatus',
 817            hal__pb__pb2.Empty.SerializeToString,
 818            hal__pb__pb2.CalibrationStatus.FromString,
 819            options,
 820            channel_credentials,
 821            insecure,
 822            call_credentials,
 823            compression,
 824            wait_for_ready,
 825            timeout,
 826            metadata,
 827            _registered_method=True)
 828
 829    @staticmethod
 830    def SetTorque(request,
 831            target,
 832            options=(),
 833            channel_credentials=None,
 834            call_credentials=None,
 835            insecure=False,
 836            compression=None,
 837            wait_for_ready=None,
 838            timeout=None,
 839            metadata=None):
 840        return grpc.experimental.unary_unary(
 841            request,
 842            target,
 843            '/hal_pb.ServoControl/SetTorque',
 844            hal__pb__pb2.TorqueSettings.SerializeToString,
 845            hal__pb__pb2.Empty.FromString,
 846            options,
 847            channel_credentials,
 848            insecure,
 849            call_credentials,
 850            compression,
 851            wait_for_ready,
 852            timeout,
 853            metadata,
 854            _registered_method=True)
 855
 856    @staticmethod
 857    def SetTorqueEnable(request,
 858            target,
 859            options=(),
 860            channel_credentials=None,
 861            call_credentials=None,
 862            insecure=False,
 863            compression=None,
 864            wait_for_ready=None,
 865            timeout=None,
 866            metadata=None):
 867        return grpc.experimental.unary_unary(
 868            request,
 869            target,
 870            '/hal_pb.ServoControl/SetTorqueEnable',
 871            hal__pb__pb2.TorqueEnableSettings.SerializeToString,
 872            hal__pb__pb2.Empty.FromString,
 873            options,
 874            channel_credentials,
 875            insecure,
 876            call_credentials,
 877            compression,
 878            wait_for_ready,
 879            timeout,
 880            metadata,
 881            _registered_method=True)
 882
 883    @staticmethod
 884    def GetImuData(request,
 885            target,
 886            options=(),
 887            channel_credentials=None,
 888            call_credentials=None,
 889            insecure=False,
 890            compression=None,
 891            wait_for_ready=None,
 892            timeout=None,
 893            metadata=None):
 894        return grpc.experimental.unary_unary(
 895            request,
 896            target,
 897            '/hal_pb.ServoControl/GetImuData',
 898            hal__pb__pb2.Empty.SerializeToString,
 899            hal__pb__pb2.ImuData.FromString,
 900            options,
 901            channel_credentials,
 902            insecure,
 903            call_credentials,
 904            compression,
 905            wait_for_ready,
 906            timeout,
 907            metadata,
 908            _registered_method=True)
 909
 910    @staticmethod
 911    def UploadAudio(request_iterator,
 912            target,
 913            options=(),
 914            channel_credentials=None,
 915            call_credentials=None,
 916            insecure=False,
 917            compression=None,
 918            wait_for_ready=None,
 919            timeout=None,
 920            metadata=None):
 921        return grpc.experimental.stream_unary(
 922            request_iterator,
 923            target,
 924            '/hal_pb.ServoControl/UploadAudio',
 925            hal__pb__pb2.AudioChunk.SerializeToString,
 926            hal__pb__pb2.UploadResponse.FromString,
 927            options,
 928            channel_credentials,
 929            insecure,
 930            call_credentials,
 931            compression,
 932            wait_for_ready,
 933            timeout,
 934            metadata,
 935            _registered_method=True)
 936
 937    @staticmethod
 938    def PlayAudio(request,
 939            target,
 940            options=(),
 941            channel_credentials=None,
 942            call_credentials=None,
 943            insecure=False,
 944            compression=None,
 945            wait_for_ready=None,
 946            timeout=None,
 947            metadata=None):
 948        return grpc.experimental.unary_unary(
 949            request,
 950            target,
 951            '/hal_pb.ServoControl/PlayAudio',
 952            hal__pb__pb2.PlayRequest.SerializeToString,
 953            hal__pb__pb2.Empty.FromString,
 954            options,
 955            channel_credentials,
 956            insecure,
 957            call_credentials,
 958            compression,
 959            wait_for_ready,
 960            timeout,
 961            metadata,
 962            _registered_method=True)
 963
 964    @staticmethod
 965    def StartRecording(request,
 966            target,
 967            options=(),
 968            channel_credentials=None,
 969            call_credentials=None,
 970            insecure=False,
 971            compression=None,
 972            wait_for_ready=None,
 973            timeout=None,
 974            metadata=None):
 975        return grpc.experimental.unary_unary(
 976            request,
 977            target,
 978            '/hal_pb.ServoControl/StartRecording',
 979            hal__pb__pb2.RecordingConfig.SerializeToString,
 980            hal__pb__pb2.Empty.FromString,
 981            options,
 982            channel_credentials,
 983            insecure,
 984            call_credentials,
 985            compression,
 986            wait_for_ready,
 987            timeout,
 988            metadata,
 989            _registered_method=True)
 990
 991    @staticmethod
 992    def StopRecording(request,
 993            target,
 994            options=(),
 995            channel_credentials=None,
 996            call_credentials=None,
 997            insecure=False,
 998            compression=None,
 999            wait_for_ready=None,
1000            timeout=None,
1001            metadata=None):
1002        return grpc.experimental.unary_unary(
1003            request,
1004            target,
1005            '/hal_pb.ServoControl/StopRecording',
1006            hal__pb__pb2.Empty.SerializeToString,
1007            hal__pb__pb2.Empty.FromString,
1008            options,
1009            channel_credentials,
1010            insecure,
1011            call_credentials,
1012            compression,
1013            wait_for_ready,
1014            timeout,
1015            metadata,
1016            _registered_method=True)
1017
1018    @staticmethod
1019    def GetRecordedAudio(request,
1020            target,
1021            options=(),
1022            channel_credentials=None,
1023            call_credentials=None,
1024            insecure=False,
1025            compression=None,
1026            wait_for_ready=None,
1027            timeout=None,
1028            metadata=None):
1029        return grpc.experimental.unary_stream(
1030            request,
1031            target,
1032            '/hal_pb.ServoControl/GetRecordedAudio',
1033            hal__pb__pb2.Empty.SerializeToString,
1034            hal__pb__pb2.AudioChunk.FromString,
1035            options,
1036            channel_credentials,
1037            insecure,
1038            call_credentials,
1039            compression,
1040            wait_for_ready,
1041            timeout,
1042            metadata,
1043            _registered_method=True)
GRPC_GENERATED_VERSION = '1.67.0'
GRPC_VERSION = '1.67.1'
class ServoControlStub:
 29class ServoControlStub(object):
 30    """Missing associated documentation comment in .proto file."""
 31
 32    def __init__(self, channel):
 33        """Constructor.
 34
 35        Args:
 36            channel: A grpc.Channel.
 37        """
 38        self.GetPositions = channel.unary_unary(
 39                '/hal_pb.ServoControl/GetPositions',
 40                request_serializer=hal__pb__pb2.Empty.SerializeToString,
 41                response_deserializer=hal__pb__pb2.JointPositions.FromString,
 42                _registered_method=True)
 43        self.SetPositions = channel.unary_unary(
 44                '/hal_pb.ServoControl/SetPositions',
 45                request_serializer=hal__pb__pb2.JointPositions.SerializeToString,
 46                response_deserializer=hal__pb__pb2.Empty.FromString,
 47                _registered_method=True)
 48        self.EnableMovement = channel.unary_unary(
 49                '/hal_pb.ServoControl/EnableMovement',
 50                request_serializer=hal__pb__pb2.Empty.SerializeToString,
 51                response_deserializer=hal__pb__pb2.Empty.FromString,
 52                _registered_method=True)
 53        self.DisableMovement = channel.unary_unary(
 54                '/hal_pb.ServoControl/DisableMovement',
 55                request_serializer=hal__pb__pb2.Empty.SerializeToString,
 56                response_deserializer=hal__pb__pb2.Empty.FromString,
 57                _registered_method=True)
 58        self.SetPosition = channel.unary_unary(
 59                '/hal_pb.ServoControl/SetPosition',
 60                request_serializer=hal__pb__pb2.JointPosition.SerializeToString,
 61                response_deserializer=hal__pb__pb2.Empty.FromString,
 62                _registered_method=True)
 63        self.SetWifiInfo = channel.unary_unary(
 64                '/hal_pb.ServoControl/SetWifiInfo',
 65                request_serializer=hal__pb__pb2.WifiCredentials.SerializeToString,
 66                response_deserializer=hal__pb__pb2.Empty.FromString,
 67                _registered_method=True)
 68        self.GetServoInfo = channel.unary_unary(
 69                '/hal_pb.ServoControl/GetServoInfo',
 70                request_serializer=hal__pb__pb2.ServoId.SerializeToString,
 71                response_deserializer=hal__pb__pb2.ServoInfoResponse.FromString,
 72                _registered_method=True)
 73        self.Scan = channel.unary_unary(
 74                '/hal_pb.ServoControl/Scan',
 75                request_serializer=hal__pb__pb2.Empty.SerializeToString,
 76                response_deserializer=hal__pb__pb2.ServoIds.FromString,
 77                _registered_method=True)
 78        self.ChangeId = channel.unary_unary(
 79                '/hal_pb.ServoControl/ChangeId',
 80                request_serializer=hal__pb__pb2.IdChange.SerializeToString,
 81                response_deserializer=hal__pb__pb2.ChangeIdResponse.FromString,
 82                _registered_method=True)
 83        self.StartCalibration = channel.unary_unary(
 84                '/hal_pb.ServoControl/StartCalibration',
 85                request_serializer=hal__pb__pb2.CalibrationRequest.SerializeToString,
 86                response_deserializer=hal__pb__pb2.CalibrationResponse.FromString,
 87                _registered_method=True)
 88        self.CancelCalibration = channel.unary_unary(
 89                '/hal_pb.ServoControl/CancelCalibration',
 90                request_serializer=hal__pb__pb2.ServoId.SerializeToString,
 91                response_deserializer=hal__pb__pb2.CalibrationResponse.FromString,
 92                _registered_method=True)
 93        self.StartVideoStream = channel.unary_unary(
 94                '/hal_pb.ServoControl/StartVideoStream',
 95                request_serializer=hal__pb__pb2.Empty.SerializeToString,
 96                response_deserializer=hal__pb__pb2.Empty.FromString,
 97                _registered_method=True)
 98        self.StopVideoStream = channel.unary_unary(
 99                '/hal_pb.ServoControl/StopVideoStream',
100                request_serializer=hal__pb__pb2.Empty.SerializeToString,
101                response_deserializer=hal__pb__pb2.Empty.FromString,
102                _registered_method=True)
103        self.GetVideoStreamUrls = channel.unary_unary(
104                '/hal_pb.ServoControl/GetVideoStreamUrls',
105                request_serializer=hal__pb__pb2.Empty.SerializeToString,
106                response_deserializer=hal__pb__pb2.VideoStreamUrls.FromString,
107                _registered_method=True)
108        self.GetCalibrationStatus = channel.unary_unary(
109                '/hal_pb.ServoControl/GetCalibrationStatus',
110                request_serializer=hal__pb__pb2.Empty.SerializeToString,
111                response_deserializer=hal__pb__pb2.CalibrationStatus.FromString,
112                _registered_method=True)
113        self.SetTorque = channel.unary_unary(
114                '/hal_pb.ServoControl/SetTorque',
115                request_serializer=hal__pb__pb2.TorqueSettings.SerializeToString,
116                response_deserializer=hal__pb__pb2.Empty.FromString,
117                _registered_method=True)
118        self.SetTorqueEnable = channel.unary_unary(
119                '/hal_pb.ServoControl/SetTorqueEnable',
120                request_serializer=hal__pb__pb2.TorqueEnableSettings.SerializeToString,
121                response_deserializer=hal__pb__pb2.Empty.FromString,
122                _registered_method=True)
123        self.GetImuData = channel.unary_unary(
124                '/hal_pb.ServoControl/GetImuData',
125                request_serializer=hal__pb__pb2.Empty.SerializeToString,
126                response_deserializer=hal__pb__pb2.ImuData.FromString,
127                _registered_method=True)
128        self.UploadAudio = channel.stream_unary(
129                '/hal_pb.ServoControl/UploadAudio',
130                request_serializer=hal__pb__pb2.AudioChunk.SerializeToString,
131                response_deserializer=hal__pb__pb2.UploadResponse.FromString,
132                _registered_method=True)
133        self.PlayAudio = channel.unary_unary(
134                '/hal_pb.ServoControl/PlayAudio',
135                request_serializer=hal__pb__pb2.PlayRequest.SerializeToString,
136                response_deserializer=hal__pb__pb2.Empty.FromString,
137                _registered_method=True)
138        self.StartRecording = channel.unary_unary(
139                '/hal_pb.ServoControl/StartRecording',
140                request_serializer=hal__pb__pb2.RecordingConfig.SerializeToString,
141                response_deserializer=hal__pb__pb2.Empty.FromString,
142                _registered_method=True)
143        self.StopRecording = channel.unary_unary(
144                '/hal_pb.ServoControl/StopRecording',
145                request_serializer=hal__pb__pb2.Empty.SerializeToString,
146                response_deserializer=hal__pb__pb2.Empty.FromString,
147                _registered_method=True)
148        self.GetRecordedAudio = channel.unary_stream(
149                '/hal_pb.ServoControl/GetRecordedAudio',
150                request_serializer=hal__pb__pb2.Empty.SerializeToString,
151                response_deserializer=hal__pb__pb2.AudioChunk.FromString,
152                _registered_method=True)

Missing associated documentation comment in .proto file.

ServoControlStub(channel)
 32    def __init__(self, channel):
 33        """Constructor.
 34
 35        Args:
 36            channel: A grpc.Channel.
 37        """
 38        self.GetPositions = channel.unary_unary(
 39                '/hal_pb.ServoControl/GetPositions',
 40                request_serializer=hal__pb__pb2.Empty.SerializeToString,
 41                response_deserializer=hal__pb__pb2.JointPositions.FromString,
 42                _registered_method=True)
 43        self.SetPositions = channel.unary_unary(
 44                '/hal_pb.ServoControl/SetPositions',
 45                request_serializer=hal__pb__pb2.JointPositions.SerializeToString,
 46                response_deserializer=hal__pb__pb2.Empty.FromString,
 47                _registered_method=True)
 48        self.EnableMovement = channel.unary_unary(
 49                '/hal_pb.ServoControl/EnableMovement',
 50                request_serializer=hal__pb__pb2.Empty.SerializeToString,
 51                response_deserializer=hal__pb__pb2.Empty.FromString,
 52                _registered_method=True)
 53        self.DisableMovement = channel.unary_unary(
 54                '/hal_pb.ServoControl/DisableMovement',
 55                request_serializer=hal__pb__pb2.Empty.SerializeToString,
 56                response_deserializer=hal__pb__pb2.Empty.FromString,
 57                _registered_method=True)
 58        self.SetPosition = channel.unary_unary(
 59                '/hal_pb.ServoControl/SetPosition',
 60                request_serializer=hal__pb__pb2.JointPosition.SerializeToString,
 61                response_deserializer=hal__pb__pb2.Empty.FromString,
 62                _registered_method=True)
 63        self.SetWifiInfo = channel.unary_unary(
 64                '/hal_pb.ServoControl/SetWifiInfo',
 65                request_serializer=hal__pb__pb2.WifiCredentials.SerializeToString,
 66                response_deserializer=hal__pb__pb2.Empty.FromString,
 67                _registered_method=True)
 68        self.GetServoInfo = channel.unary_unary(
 69                '/hal_pb.ServoControl/GetServoInfo',
 70                request_serializer=hal__pb__pb2.ServoId.SerializeToString,
 71                response_deserializer=hal__pb__pb2.ServoInfoResponse.FromString,
 72                _registered_method=True)
 73        self.Scan = channel.unary_unary(
 74                '/hal_pb.ServoControl/Scan',
 75                request_serializer=hal__pb__pb2.Empty.SerializeToString,
 76                response_deserializer=hal__pb__pb2.ServoIds.FromString,
 77                _registered_method=True)
 78        self.ChangeId = channel.unary_unary(
 79                '/hal_pb.ServoControl/ChangeId',
 80                request_serializer=hal__pb__pb2.IdChange.SerializeToString,
 81                response_deserializer=hal__pb__pb2.ChangeIdResponse.FromString,
 82                _registered_method=True)
 83        self.StartCalibration = channel.unary_unary(
 84                '/hal_pb.ServoControl/StartCalibration',
 85                request_serializer=hal__pb__pb2.CalibrationRequest.SerializeToString,
 86                response_deserializer=hal__pb__pb2.CalibrationResponse.FromString,
 87                _registered_method=True)
 88        self.CancelCalibration = channel.unary_unary(
 89                '/hal_pb.ServoControl/CancelCalibration',
 90                request_serializer=hal__pb__pb2.ServoId.SerializeToString,
 91                response_deserializer=hal__pb__pb2.CalibrationResponse.FromString,
 92                _registered_method=True)
 93        self.StartVideoStream = channel.unary_unary(
 94                '/hal_pb.ServoControl/StartVideoStream',
 95                request_serializer=hal__pb__pb2.Empty.SerializeToString,
 96                response_deserializer=hal__pb__pb2.Empty.FromString,
 97                _registered_method=True)
 98        self.StopVideoStream = channel.unary_unary(
 99                '/hal_pb.ServoControl/StopVideoStream',
100                request_serializer=hal__pb__pb2.Empty.SerializeToString,
101                response_deserializer=hal__pb__pb2.Empty.FromString,
102                _registered_method=True)
103        self.GetVideoStreamUrls = channel.unary_unary(
104                '/hal_pb.ServoControl/GetVideoStreamUrls',
105                request_serializer=hal__pb__pb2.Empty.SerializeToString,
106                response_deserializer=hal__pb__pb2.VideoStreamUrls.FromString,
107                _registered_method=True)
108        self.GetCalibrationStatus = channel.unary_unary(
109                '/hal_pb.ServoControl/GetCalibrationStatus',
110                request_serializer=hal__pb__pb2.Empty.SerializeToString,
111                response_deserializer=hal__pb__pb2.CalibrationStatus.FromString,
112                _registered_method=True)
113        self.SetTorque = channel.unary_unary(
114                '/hal_pb.ServoControl/SetTorque',
115                request_serializer=hal__pb__pb2.TorqueSettings.SerializeToString,
116                response_deserializer=hal__pb__pb2.Empty.FromString,
117                _registered_method=True)
118        self.SetTorqueEnable = channel.unary_unary(
119                '/hal_pb.ServoControl/SetTorqueEnable',
120                request_serializer=hal__pb__pb2.TorqueEnableSettings.SerializeToString,
121                response_deserializer=hal__pb__pb2.Empty.FromString,
122                _registered_method=True)
123        self.GetImuData = channel.unary_unary(
124                '/hal_pb.ServoControl/GetImuData',
125                request_serializer=hal__pb__pb2.Empty.SerializeToString,
126                response_deserializer=hal__pb__pb2.ImuData.FromString,
127                _registered_method=True)
128        self.UploadAudio = channel.stream_unary(
129                '/hal_pb.ServoControl/UploadAudio',
130                request_serializer=hal__pb__pb2.AudioChunk.SerializeToString,
131                response_deserializer=hal__pb__pb2.UploadResponse.FromString,
132                _registered_method=True)
133        self.PlayAudio = channel.unary_unary(
134                '/hal_pb.ServoControl/PlayAudio',
135                request_serializer=hal__pb__pb2.PlayRequest.SerializeToString,
136                response_deserializer=hal__pb__pb2.Empty.FromString,
137                _registered_method=True)
138        self.StartRecording = channel.unary_unary(
139                '/hal_pb.ServoControl/StartRecording',
140                request_serializer=hal__pb__pb2.RecordingConfig.SerializeToString,
141                response_deserializer=hal__pb__pb2.Empty.FromString,
142                _registered_method=True)
143        self.StopRecording = channel.unary_unary(
144                '/hal_pb.ServoControl/StopRecording',
145                request_serializer=hal__pb__pb2.Empty.SerializeToString,
146                response_deserializer=hal__pb__pb2.Empty.FromString,
147                _registered_method=True)
148        self.GetRecordedAudio = channel.unary_stream(
149                '/hal_pb.ServoControl/GetRecordedAudio',
150                request_serializer=hal__pb__pb2.Empty.SerializeToString,
151                response_deserializer=hal__pb__pb2.AudioChunk.FromString,
152                _registered_method=True)

Constructor.

Arguments:
  • channel: A grpc.Channel.
GetPositions
SetPositions
EnableMovement
DisableMovement
SetPosition
SetWifiInfo
GetServoInfo
Scan
ChangeId
StartCalibration
CancelCalibration
StartVideoStream
StopVideoStream
GetVideoStreamUrls
GetCalibrationStatus
SetTorque
SetTorqueEnable
GetImuData
UploadAudio
PlayAudio
StartRecording
StopRecording
GetRecordedAudio
class ServoControlServicer:
155class ServoControlServicer(object):
156    """Missing associated documentation comment in .proto file."""
157
158    def GetPositions(self, request, context):
159        """Missing associated documentation comment in .proto file."""
160        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
161        context.set_details('Method not implemented!')
162        raise NotImplementedError('Method not implemented!')
163
164    def SetPositions(self, request, context):
165        """Missing associated documentation comment in .proto file."""
166        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
167        context.set_details('Method not implemented!')
168        raise NotImplementedError('Method not implemented!')
169
170    def EnableMovement(self, request, context):
171        """Missing associated documentation comment in .proto file."""
172        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
173        context.set_details('Method not implemented!')
174        raise NotImplementedError('Method not implemented!')
175
176    def DisableMovement(self, request, context):
177        """Missing associated documentation comment in .proto file."""
178        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
179        context.set_details('Method not implemented!')
180        raise NotImplementedError('Method not implemented!')
181
182    def SetPosition(self, request, context):
183        """Missing associated documentation comment in .proto file."""
184        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
185        context.set_details('Method not implemented!')
186        raise NotImplementedError('Method not implemented!')
187
188    def SetWifiInfo(self, request, context):
189        """Missing associated documentation comment in .proto file."""
190        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
191        context.set_details('Method not implemented!')
192        raise NotImplementedError('Method not implemented!')
193
194    def GetServoInfo(self, request, context):
195        """Missing associated documentation comment in .proto file."""
196        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
197        context.set_details('Method not implemented!')
198        raise NotImplementedError('Method not implemented!')
199
200    def Scan(self, request, context):
201        """Missing associated documentation comment in .proto file."""
202        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
203        context.set_details('Method not implemented!')
204        raise NotImplementedError('Method not implemented!')
205
206    def ChangeId(self, request, context):
207        """Missing associated documentation comment in .proto file."""
208        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
209        context.set_details('Method not implemented!')
210        raise NotImplementedError('Method not implemented!')
211
212    def StartCalibration(self, request, context):
213        """Missing associated documentation comment in .proto file."""
214        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
215        context.set_details('Method not implemented!')
216        raise NotImplementedError('Method not implemented!')
217
218    def CancelCalibration(self, request, context):
219        """Missing associated documentation comment in .proto file."""
220        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
221        context.set_details('Method not implemented!')
222        raise NotImplementedError('Method not implemented!')
223
224    def StartVideoStream(self, request, context):
225        """Missing associated documentation comment in .proto file."""
226        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
227        context.set_details('Method not implemented!')
228        raise NotImplementedError('Method not implemented!')
229
230    def StopVideoStream(self, request, context):
231        """Missing associated documentation comment in .proto file."""
232        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
233        context.set_details('Method not implemented!')
234        raise NotImplementedError('Method not implemented!')
235
236    def GetVideoStreamUrls(self, request, context):
237        """Missing associated documentation comment in .proto file."""
238        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
239        context.set_details('Method not implemented!')
240        raise NotImplementedError('Method not implemented!')
241
242    def GetCalibrationStatus(self, request, context):
243        """Missing associated documentation comment in .proto file."""
244        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
245        context.set_details('Method not implemented!')
246        raise NotImplementedError('Method not implemented!')
247
248    def SetTorque(self, request, context):
249        """Missing associated documentation comment in .proto file."""
250        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
251        context.set_details('Method not implemented!')
252        raise NotImplementedError('Method not implemented!')
253
254    def SetTorqueEnable(self, request, context):
255        """Missing associated documentation comment in .proto file."""
256        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
257        context.set_details('Method not implemented!')
258        raise NotImplementedError('Method not implemented!')
259
260    def GetImuData(self, request, context):
261        """Missing associated documentation comment in .proto file."""
262        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
263        context.set_details('Method not implemented!')
264        raise NotImplementedError('Method not implemented!')
265
266    def UploadAudio(self, request_iterator, context):
267        """Missing associated documentation comment in .proto file."""
268        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
269        context.set_details('Method not implemented!')
270        raise NotImplementedError('Method not implemented!')
271
272    def PlayAudio(self, request, context):
273        """Missing associated documentation comment in .proto file."""
274        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
275        context.set_details('Method not implemented!')
276        raise NotImplementedError('Method not implemented!')
277
278    def StartRecording(self, request, context):
279        """Missing associated documentation comment in .proto file."""
280        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
281        context.set_details('Method not implemented!')
282        raise NotImplementedError('Method not implemented!')
283
284    def StopRecording(self, request, context):
285        """Missing associated documentation comment in .proto file."""
286        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
287        context.set_details('Method not implemented!')
288        raise NotImplementedError('Method not implemented!')
289
290    def GetRecordedAudio(self, request, context):
291        """Missing associated documentation comment in .proto file."""
292        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
293        context.set_details('Method not implemented!')
294        raise NotImplementedError('Method not implemented!')

Missing associated documentation comment in .proto file.

def GetPositions(self, request, context):
158    def GetPositions(self, request, context):
159        """Missing associated documentation comment in .proto file."""
160        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
161        context.set_details('Method not implemented!')
162        raise NotImplementedError('Method not implemented!')

Missing associated documentation comment in .proto file.

def SetPositions(self, request, context):
164    def SetPositions(self, request, context):
165        """Missing associated documentation comment in .proto file."""
166        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
167        context.set_details('Method not implemented!')
168        raise NotImplementedError('Method not implemented!')

Missing associated documentation comment in .proto file.

def EnableMovement(self, request, context):
170    def EnableMovement(self, request, context):
171        """Missing associated documentation comment in .proto file."""
172        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
173        context.set_details('Method not implemented!')
174        raise NotImplementedError('Method not implemented!')

Missing associated documentation comment in .proto file.

def DisableMovement(self, request, context):
176    def DisableMovement(self, request, context):
177        """Missing associated documentation comment in .proto file."""
178        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
179        context.set_details('Method not implemented!')
180        raise NotImplementedError('Method not implemented!')

Missing associated documentation comment in .proto file.

def SetPosition(self, request, context):
182    def SetPosition(self, request, context):
183        """Missing associated documentation comment in .proto file."""
184        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
185        context.set_details('Method not implemented!')
186        raise NotImplementedError('Method not implemented!')

Missing associated documentation comment in .proto file.

def SetWifiInfo(self, request, context):
188    def SetWifiInfo(self, request, context):
189        """Missing associated documentation comment in .proto file."""
190        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
191        context.set_details('Method not implemented!')
192        raise NotImplementedError('Method not implemented!')

Missing associated documentation comment in .proto file.

def GetServoInfo(self, request, context):
194    def GetServoInfo(self, request, context):
195        """Missing associated documentation comment in .proto file."""
196        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
197        context.set_details('Method not implemented!')
198        raise NotImplementedError('Method not implemented!')

Missing associated documentation comment in .proto file.

def Scan(self, request, context):
200    def Scan(self, request, context):
201        """Missing associated documentation comment in .proto file."""
202        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
203        context.set_details('Method not implemented!')
204        raise NotImplementedError('Method not implemented!')

Missing associated documentation comment in .proto file.

def ChangeId(self, request, context):
206    def ChangeId(self, request, context):
207        """Missing associated documentation comment in .proto file."""
208        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
209        context.set_details('Method not implemented!')
210        raise NotImplementedError('Method not implemented!')

Missing associated documentation comment in .proto file.

def StartCalibration(self, request, context):
212    def StartCalibration(self, request, context):
213        """Missing associated documentation comment in .proto file."""
214        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
215        context.set_details('Method not implemented!')
216        raise NotImplementedError('Method not implemented!')

Missing associated documentation comment in .proto file.

def CancelCalibration(self, request, context):
218    def CancelCalibration(self, request, context):
219        """Missing associated documentation comment in .proto file."""
220        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
221        context.set_details('Method not implemented!')
222        raise NotImplementedError('Method not implemented!')

Missing associated documentation comment in .proto file.

def StartVideoStream(self, request, context):
224    def StartVideoStream(self, request, context):
225        """Missing associated documentation comment in .proto file."""
226        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
227        context.set_details('Method not implemented!')
228        raise NotImplementedError('Method not implemented!')

Missing associated documentation comment in .proto file.

def StopVideoStream(self, request, context):
230    def StopVideoStream(self, request, context):
231        """Missing associated documentation comment in .proto file."""
232        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
233        context.set_details('Method not implemented!')
234        raise NotImplementedError('Method not implemented!')

Missing associated documentation comment in .proto file.

def GetVideoStreamUrls(self, request, context):
236    def GetVideoStreamUrls(self, request, context):
237        """Missing associated documentation comment in .proto file."""
238        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
239        context.set_details('Method not implemented!')
240        raise NotImplementedError('Method not implemented!')

Missing associated documentation comment in .proto file.

def GetCalibrationStatus(self, request, context):
242    def GetCalibrationStatus(self, request, context):
243        """Missing associated documentation comment in .proto file."""
244        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
245        context.set_details('Method not implemented!')
246        raise NotImplementedError('Method not implemented!')

Missing associated documentation comment in .proto file.

def SetTorque(self, request, context):
248    def SetTorque(self, request, context):
249        """Missing associated documentation comment in .proto file."""
250        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
251        context.set_details('Method not implemented!')
252        raise NotImplementedError('Method not implemented!')

Missing associated documentation comment in .proto file.

def SetTorqueEnable(self, request, context):
254    def SetTorqueEnable(self, request, context):
255        """Missing associated documentation comment in .proto file."""
256        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
257        context.set_details('Method not implemented!')
258        raise NotImplementedError('Method not implemented!')

Missing associated documentation comment in .proto file.

def GetImuData(self, request, context):
260    def GetImuData(self, request, context):
261        """Missing associated documentation comment in .proto file."""
262        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
263        context.set_details('Method not implemented!')
264        raise NotImplementedError('Method not implemented!')

Missing associated documentation comment in .proto file.

def UploadAudio(self, request_iterator, context):
266    def UploadAudio(self, request_iterator, context):
267        """Missing associated documentation comment in .proto file."""
268        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
269        context.set_details('Method not implemented!')
270        raise NotImplementedError('Method not implemented!')

Missing associated documentation comment in .proto file.

def PlayAudio(self, request, context):
272    def PlayAudio(self, request, context):
273        """Missing associated documentation comment in .proto file."""
274        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
275        context.set_details('Method not implemented!')
276        raise NotImplementedError('Method not implemented!')

Missing associated documentation comment in .proto file.

def StartRecording(self, request, context):
278    def StartRecording(self, request, context):
279        """Missing associated documentation comment in .proto file."""
280        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
281        context.set_details('Method not implemented!')
282        raise NotImplementedError('Method not implemented!')

Missing associated documentation comment in .proto file.

def StopRecording(self, request, context):
284    def StopRecording(self, request, context):
285        """Missing associated documentation comment in .proto file."""
286        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
287        context.set_details('Method not implemented!')
288        raise NotImplementedError('Method not implemented!')

Missing associated documentation comment in .proto file.

def GetRecordedAudio(self, request, context):
290    def GetRecordedAudio(self, request, context):
291        """Missing associated documentation comment in .proto file."""
292        context.set_code(grpc.StatusCode.UNIMPLEMENTED)
293        context.set_details('Method not implemented!')
294        raise NotImplementedError('Method not implemented!')

Missing associated documentation comment in .proto file.

def add_ServoControlServicer_to_server(servicer, server):
297def add_ServoControlServicer_to_server(servicer, server):
298    rpc_method_handlers = {
299            'GetPositions': grpc.unary_unary_rpc_method_handler(
300                    servicer.GetPositions,
301                    request_deserializer=hal__pb__pb2.Empty.FromString,
302                    response_serializer=hal__pb__pb2.JointPositions.SerializeToString,
303            ),
304            'SetPositions': grpc.unary_unary_rpc_method_handler(
305                    servicer.SetPositions,
306                    request_deserializer=hal__pb__pb2.JointPositions.FromString,
307                    response_serializer=hal__pb__pb2.Empty.SerializeToString,
308            ),
309            'EnableMovement': grpc.unary_unary_rpc_method_handler(
310                    servicer.EnableMovement,
311                    request_deserializer=hal__pb__pb2.Empty.FromString,
312                    response_serializer=hal__pb__pb2.Empty.SerializeToString,
313            ),
314            'DisableMovement': grpc.unary_unary_rpc_method_handler(
315                    servicer.DisableMovement,
316                    request_deserializer=hal__pb__pb2.Empty.FromString,
317                    response_serializer=hal__pb__pb2.Empty.SerializeToString,
318            ),
319            'SetPosition': grpc.unary_unary_rpc_method_handler(
320                    servicer.SetPosition,
321                    request_deserializer=hal__pb__pb2.JointPosition.FromString,
322                    response_serializer=hal__pb__pb2.Empty.SerializeToString,
323            ),
324            'SetWifiInfo': grpc.unary_unary_rpc_method_handler(
325                    servicer.SetWifiInfo,
326                    request_deserializer=hal__pb__pb2.WifiCredentials.FromString,
327                    response_serializer=hal__pb__pb2.Empty.SerializeToString,
328            ),
329            'GetServoInfo': grpc.unary_unary_rpc_method_handler(
330                    servicer.GetServoInfo,
331                    request_deserializer=hal__pb__pb2.ServoId.FromString,
332                    response_serializer=hal__pb__pb2.ServoInfoResponse.SerializeToString,
333            ),
334            'Scan': grpc.unary_unary_rpc_method_handler(
335                    servicer.Scan,
336                    request_deserializer=hal__pb__pb2.Empty.FromString,
337                    response_serializer=hal__pb__pb2.ServoIds.SerializeToString,
338            ),
339            'ChangeId': grpc.unary_unary_rpc_method_handler(
340                    servicer.ChangeId,
341                    request_deserializer=hal__pb__pb2.IdChange.FromString,
342                    response_serializer=hal__pb__pb2.ChangeIdResponse.SerializeToString,
343            ),
344            'StartCalibration': grpc.unary_unary_rpc_method_handler(
345                    servicer.StartCalibration,
346                    request_deserializer=hal__pb__pb2.CalibrationRequest.FromString,
347                    response_serializer=hal__pb__pb2.CalibrationResponse.SerializeToString,
348            ),
349            'CancelCalibration': grpc.unary_unary_rpc_method_handler(
350                    servicer.CancelCalibration,
351                    request_deserializer=hal__pb__pb2.ServoId.FromString,
352                    response_serializer=hal__pb__pb2.CalibrationResponse.SerializeToString,
353            ),
354            'StartVideoStream': grpc.unary_unary_rpc_method_handler(
355                    servicer.StartVideoStream,
356                    request_deserializer=hal__pb__pb2.Empty.FromString,
357                    response_serializer=hal__pb__pb2.Empty.SerializeToString,
358            ),
359            'StopVideoStream': grpc.unary_unary_rpc_method_handler(
360                    servicer.StopVideoStream,
361                    request_deserializer=hal__pb__pb2.Empty.FromString,
362                    response_serializer=hal__pb__pb2.Empty.SerializeToString,
363            ),
364            'GetVideoStreamUrls': grpc.unary_unary_rpc_method_handler(
365                    servicer.GetVideoStreamUrls,
366                    request_deserializer=hal__pb__pb2.Empty.FromString,
367                    response_serializer=hal__pb__pb2.VideoStreamUrls.SerializeToString,
368            ),
369            'GetCalibrationStatus': grpc.unary_unary_rpc_method_handler(
370                    servicer.GetCalibrationStatus,
371                    request_deserializer=hal__pb__pb2.Empty.FromString,
372                    response_serializer=hal__pb__pb2.CalibrationStatus.SerializeToString,
373            ),
374            'SetTorque': grpc.unary_unary_rpc_method_handler(
375                    servicer.SetTorque,
376                    request_deserializer=hal__pb__pb2.TorqueSettings.FromString,
377                    response_serializer=hal__pb__pb2.Empty.SerializeToString,
378            ),
379            'SetTorqueEnable': grpc.unary_unary_rpc_method_handler(
380                    servicer.SetTorqueEnable,
381                    request_deserializer=hal__pb__pb2.TorqueEnableSettings.FromString,
382                    response_serializer=hal__pb__pb2.Empty.SerializeToString,
383            ),
384            'GetImuData': grpc.unary_unary_rpc_method_handler(
385                    servicer.GetImuData,
386                    request_deserializer=hal__pb__pb2.Empty.FromString,
387                    response_serializer=hal__pb__pb2.ImuData.SerializeToString,
388            ),
389            'UploadAudio': grpc.stream_unary_rpc_method_handler(
390                    servicer.UploadAudio,
391                    request_deserializer=hal__pb__pb2.AudioChunk.FromString,
392                    response_serializer=hal__pb__pb2.UploadResponse.SerializeToString,
393            ),
394            'PlayAudio': grpc.unary_unary_rpc_method_handler(
395                    servicer.PlayAudio,
396                    request_deserializer=hal__pb__pb2.PlayRequest.FromString,
397                    response_serializer=hal__pb__pb2.Empty.SerializeToString,
398            ),
399            'StartRecording': grpc.unary_unary_rpc_method_handler(
400                    servicer.StartRecording,
401                    request_deserializer=hal__pb__pb2.RecordingConfig.FromString,
402                    response_serializer=hal__pb__pb2.Empty.SerializeToString,
403            ),
404            'StopRecording': grpc.unary_unary_rpc_method_handler(
405                    servicer.StopRecording,
406                    request_deserializer=hal__pb__pb2.Empty.FromString,
407                    response_serializer=hal__pb__pb2.Empty.SerializeToString,
408            ),
409            'GetRecordedAudio': grpc.unary_stream_rpc_method_handler(
410                    servicer.GetRecordedAudio,
411                    request_deserializer=hal__pb__pb2.Empty.FromString,
412                    response_serializer=hal__pb__pb2.AudioChunk.SerializeToString,
413            ),
414    }
415    generic_handler = grpc.method_handlers_generic_handler(
416            'hal_pb.ServoControl', rpc_method_handlers)
417    server.add_generic_rpc_handlers((generic_handler,))
418    server.add_registered_method_handlers('hal_pb.ServoControl', rpc_method_handlers)
class ServoControl:
 422class ServoControl(object):
 423    """Missing associated documentation comment in .proto file."""
 424
 425    @staticmethod
 426    def GetPositions(request,
 427            target,
 428            options=(),
 429            channel_credentials=None,
 430            call_credentials=None,
 431            insecure=False,
 432            compression=None,
 433            wait_for_ready=None,
 434            timeout=None,
 435            metadata=None):
 436        return grpc.experimental.unary_unary(
 437            request,
 438            target,
 439            '/hal_pb.ServoControl/GetPositions',
 440            hal__pb__pb2.Empty.SerializeToString,
 441            hal__pb__pb2.JointPositions.FromString,
 442            options,
 443            channel_credentials,
 444            insecure,
 445            call_credentials,
 446            compression,
 447            wait_for_ready,
 448            timeout,
 449            metadata,
 450            _registered_method=True)
 451
 452    @staticmethod
 453    def SetPositions(request,
 454            target,
 455            options=(),
 456            channel_credentials=None,
 457            call_credentials=None,
 458            insecure=False,
 459            compression=None,
 460            wait_for_ready=None,
 461            timeout=None,
 462            metadata=None):
 463        return grpc.experimental.unary_unary(
 464            request,
 465            target,
 466            '/hal_pb.ServoControl/SetPositions',
 467            hal__pb__pb2.JointPositions.SerializeToString,
 468            hal__pb__pb2.Empty.FromString,
 469            options,
 470            channel_credentials,
 471            insecure,
 472            call_credentials,
 473            compression,
 474            wait_for_ready,
 475            timeout,
 476            metadata,
 477            _registered_method=True)
 478
 479    @staticmethod
 480    def EnableMovement(request,
 481            target,
 482            options=(),
 483            channel_credentials=None,
 484            call_credentials=None,
 485            insecure=False,
 486            compression=None,
 487            wait_for_ready=None,
 488            timeout=None,
 489            metadata=None):
 490        return grpc.experimental.unary_unary(
 491            request,
 492            target,
 493            '/hal_pb.ServoControl/EnableMovement',
 494            hal__pb__pb2.Empty.SerializeToString,
 495            hal__pb__pb2.Empty.FromString,
 496            options,
 497            channel_credentials,
 498            insecure,
 499            call_credentials,
 500            compression,
 501            wait_for_ready,
 502            timeout,
 503            metadata,
 504            _registered_method=True)
 505
 506    @staticmethod
 507    def DisableMovement(request,
 508            target,
 509            options=(),
 510            channel_credentials=None,
 511            call_credentials=None,
 512            insecure=False,
 513            compression=None,
 514            wait_for_ready=None,
 515            timeout=None,
 516            metadata=None):
 517        return grpc.experimental.unary_unary(
 518            request,
 519            target,
 520            '/hal_pb.ServoControl/DisableMovement',
 521            hal__pb__pb2.Empty.SerializeToString,
 522            hal__pb__pb2.Empty.FromString,
 523            options,
 524            channel_credentials,
 525            insecure,
 526            call_credentials,
 527            compression,
 528            wait_for_ready,
 529            timeout,
 530            metadata,
 531            _registered_method=True)
 532
 533    @staticmethod
 534    def SetPosition(request,
 535            target,
 536            options=(),
 537            channel_credentials=None,
 538            call_credentials=None,
 539            insecure=False,
 540            compression=None,
 541            wait_for_ready=None,
 542            timeout=None,
 543            metadata=None):
 544        return grpc.experimental.unary_unary(
 545            request,
 546            target,
 547            '/hal_pb.ServoControl/SetPosition',
 548            hal__pb__pb2.JointPosition.SerializeToString,
 549            hal__pb__pb2.Empty.FromString,
 550            options,
 551            channel_credentials,
 552            insecure,
 553            call_credentials,
 554            compression,
 555            wait_for_ready,
 556            timeout,
 557            metadata,
 558            _registered_method=True)
 559
 560    @staticmethod
 561    def SetWifiInfo(request,
 562            target,
 563            options=(),
 564            channel_credentials=None,
 565            call_credentials=None,
 566            insecure=False,
 567            compression=None,
 568            wait_for_ready=None,
 569            timeout=None,
 570            metadata=None):
 571        return grpc.experimental.unary_unary(
 572            request,
 573            target,
 574            '/hal_pb.ServoControl/SetWifiInfo',
 575            hal__pb__pb2.WifiCredentials.SerializeToString,
 576            hal__pb__pb2.Empty.FromString,
 577            options,
 578            channel_credentials,
 579            insecure,
 580            call_credentials,
 581            compression,
 582            wait_for_ready,
 583            timeout,
 584            metadata,
 585            _registered_method=True)
 586
 587    @staticmethod
 588    def GetServoInfo(request,
 589            target,
 590            options=(),
 591            channel_credentials=None,
 592            call_credentials=None,
 593            insecure=False,
 594            compression=None,
 595            wait_for_ready=None,
 596            timeout=None,
 597            metadata=None):
 598        return grpc.experimental.unary_unary(
 599            request,
 600            target,
 601            '/hal_pb.ServoControl/GetServoInfo',
 602            hal__pb__pb2.ServoId.SerializeToString,
 603            hal__pb__pb2.ServoInfoResponse.FromString,
 604            options,
 605            channel_credentials,
 606            insecure,
 607            call_credentials,
 608            compression,
 609            wait_for_ready,
 610            timeout,
 611            metadata,
 612            _registered_method=True)
 613
 614    @staticmethod
 615    def Scan(request,
 616            target,
 617            options=(),
 618            channel_credentials=None,
 619            call_credentials=None,
 620            insecure=False,
 621            compression=None,
 622            wait_for_ready=None,
 623            timeout=None,
 624            metadata=None):
 625        return grpc.experimental.unary_unary(
 626            request,
 627            target,
 628            '/hal_pb.ServoControl/Scan',
 629            hal__pb__pb2.Empty.SerializeToString,
 630            hal__pb__pb2.ServoIds.FromString,
 631            options,
 632            channel_credentials,
 633            insecure,
 634            call_credentials,
 635            compression,
 636            wait_for_ready,
 637            timeout,
 638            metadata,
 639            _registered_method=True)
 640
 641    @staticmethod
 642    def ChangeId(request,
 643            target,
 644            options=(),
 645            channel_credentials=None,
 646            call_credentials=None,
 647            insecure=False,
 648            compression=None,
 649            wait_for_ready=None,
 650            timeout=None,
 651            metadata=None):
 652        return grpc.experimental.unary_unary(
 653            request,
 654            target,
 655            '/hal_pb.ServoControl/ChangeId',
 656            hal__pb__pb2.IdChange.SerializeToString,
 657            hal__pb__pb2.ChangeIdResponse.FromString,
 658            options,
 659            channel_credentials,
 660            insecure,
 661            call_credentials,
 662            compression,
 663            wait_for_ready,
 664            timeout,
 665            metadata,
 666            _registered_method=True)
 667
 668    @staticmethod
 669    def StartCalibration(request,
 670            target,
 671            options=(),
 672            channel_credentials=None,
 673            call_credentials=None,
 674            insecure=False,
 675            compression=None,
 676            wait_for_ready=None,
 677            timeout=None,
 678            metadata=None):
 679        return grpc.experimental.unary_unary(
 680            request,
 681            target,
 682            '/hal_pb.ServoControl/StartCalibration',
 683            hal__pb__pb2.CalibrationRequest.SerializeToString,
 684            hal__pb__pb2.CalibrationResponse.FromString,
 685            options,
 686            channel_credentials,
 687            insecure,
 688            call_credentials,
 689            compression,
 690            wait_for_ready,
 691            timeout,
 692            metadata,
 693            _registered_method=True)
 694
 695    @staticmethod
 696    def CancelCalibration(request,
 697            target,
 698            options=(),
 699            channel_credentials=None,
 700            call_credentials=None,
 701            insecure=False,
 702            compression=None,
 703            wait_for_ready=None,
 704            timeout=None,
 705            metadata=None):
 706        return grpc.experimental.unary_unary(
 707            request,
 708            target,
 709            '/hal_pb.ServoControl/CancelCalibration',
 710            hal__pb__pb2.ServoId.SerializeToString,
 711            hal__pb__pb2.CalibrationResponse.FromString,
 712            options,
 713            channel_credentials,
 714            insecure,
 715            call_credentials,
 716            compression,
 717            wait_for_ready,
 718            timeout,
 719            metadata,
 720            _registered_method=True)
 721
 722    @staticmethod
 723    def StartVideoStream(request,
 724            target,
 725            options=(),
 726            channel_credentials=None,
 727            call_credentials=None,
 728            insecure=False,
 729            compression=None,
 730            wait_for_ready=None,
 731            timeout=None,
 732            metadata=None):
 733        return grpc.experimental.unary_unary(
 734            request,
 735            target,
 736            '/hal_pb.ServoControl/StartVideoStream',
 737            hal__pb__pb2.Empty.SerializeToString,
 738            hal__pb__pb2.Empty.FromString,
 739            options,
 740            channel_credentials,
 741            insecure,
 742            call_credentials,
 743            compression,
 744            wait_for_ready,
 745            timeout,
 746            metadata,
 747            _registered_method=True)
 748
 749    @staticmethod
 750    def StopVideoStream(request,
 751            target,
 752            options=(),
 753            channel_credentials=None,
 754            call_credentials=None,
 755            insecure=False,
 756            compression=None,
 757            wait_for_ready=None,
 758            timeout=None,
 759            metadata=None):
 760        return grpc.experimental.unary_unary(
 761            request,
 762            target,
 763            '/hal_pb.ServoControl/StopVideoStream',
 764            hal__pb__pb2.Empty.SerializeToString,
 765            hal__pb__pb2.Empty.FromString,
 766            options,
 767            channel_credentials,
 768            insecure,
 769            call_credentials,
 770            compression,
 771            wait_for_ready,
 772            timeout,
 773            metadata,
 774            _registered_method=True)
 775
 776    @staticmethod
 777    def GetVideoStreamUrls(request,
 778            target,
 779            options=(),
 780            channel_credentials=None,
 781            call_credentials=None,
 782            insecure=False,
 783            compression=None,
 784            wait_for_ready=None,
 785            timeout=None,
 786            metadata=None):
 787        return grpc.experimental.unary_unary(
 788            request,
 789            target,
 790            '/hal_pb.ServoControl/GetVideoStreamUrls',
 791            hal__pb__pb2.Empty.SerializeToString,
 792            hal__pb__pb2.VideoStreamUrls.FromString,
 793            options,
 794            channel_credentials,
 795            insecure,
 796            call_credentials,
 797            compression,
 798            wait_for_ready,
 799            timeout,
 800            metadata,
 801            _registered_method=True)
 802
 803    @staticmethod
 804    def GetCalibrationStatus(request,
 805            target,
 806            options=(),
 807            channel_credentials=None,
 808            call_credentials=None,
 809            insecure=False,
 810            compression=None,
 811            wait_for_ready=None,
 812            timeout=None,
 813            metadata=None):
 814        return grpc.experimental.unary_unary(
 815            request,
 816            target,
 817            '/hal_pb.ServoControl/GetCalibrationStatus',
 818            hal__pb__pb2.Empty.SerializeToString,
 819            hal__pb__pb2.CalibrationStatus.FromString,
 820            options,
 821            channel_credentials,
 822            insecure,
 823            call_credentials,
 824            compression,
 825            wait_for_ready,
 826            timeout,
 827            metadata,
 828            _registered_method=True)
 829
 830    @staticmethod
 831    def SetTorque(request,
 832            target,
 833            options=(),
 834            channel_credentials=None,
 835            call_credentials=None,
 836            insecure=False,
 837            compression=None,
 838            wait_for_ready=None,
 839            timeout=None,
 840            metadata=None):
 841        return grpc.experimental.unary_unary(
 842            request,
 843            target,
 844            '/hal_pb.ServoControl/SetTorque',
 845            hal__pb__pb2.TorqueSettings.SerializeToString,
 846            hal__pb__pb2.Empty.FromString,
 847            options,
 848            channel_credentials,
 849            insecure,
 850            call_credentials,
 851            compression,
 852            wait_for_ready,
 853            timeout,
 854            metadata,
 855            _registered_method=True)
 856
 857    @staticmethod
 858    def SetTorqueEnable(request,
 859            target,
 860            options=(),
 861            channel_credentials=None,
 862            call_credentials=None,
 863            insecure=False,
 864            compression=None,
 865            wait_for_ready=None,
 866            timeout=None,
 867            metadata=None):
 868        return grpc.experimental.unary_unary(
 869            request,
 870            target,
 871            '/hal_pb.ServoControl/SetTorqueEnable',
 872            hal__pb__pb2.TorqueEnableSettings.SerializeToString,
 873            hal__pb__pb2.Empty.FromString,
 874            options,
 875            channel_credentials,
 876            insecure,
 877            call_credentials,
 878            compression,
 879            wait_for_ready,
 880            timeout,
 881            metadata,
 882            _registered_method=True)
 883
 884    @staticmethod
 885    def GetImuData(request,
 886            target,
 887            options=(),
 888            channel_credentials=None,
 889            call_credentials=None,
 890            insecure=False,
 891            compression=None,
 892            wait_for_ready=None,
 893            timeout=None,
 894            metadata=None):
 895        return grpc.experimental.unary_unary(
 896            request,
 897            target,
 898            '/hal_pb.ServoControl/GetImuData',
 899            hal__pb__pb2.Empty.SerializeToString,
 900            hal__pb__pb2.ImuData.FromString,
 901            options,
 902            channel_credentials,
 903            insecure,
 904            call_credentials,
 905            compression,
 906            wait_for_ready,
 907            timeout,
 908            metadata,
 909            _registered_method=True)
 910
 911    @staticmethod
 912    def UploadAudio(request_iterator,
 913            target,
 914            options=(),
 915            channel_credentials=None,
 916            call_credentials=None,
 917            insecure=False,
 918            compression=None,
 919            wait_for_ready=None,
 920            timeout=None,
 921            metadata=None):
 922        return grpc.experimental.stream_unary(
 923            request_iterator,
 924            target,
 925            '/hal_pb.ServoControl/UploadAudio',
 926            hal__pb__pb2.AudioChunk.SerializeToString,
 927            hal__pb__pb2.UploadResponse.FromString,
 928            options,
 929            channel_credentials,
 930            insecure,
 931            call_credentials,
 932            compression,
 933            wait_for_ready,
 934            timeout,
 935            metadata,
 936            _registered_method=True)
 937
 938    @staticmethod
 939    def PlayAudio(request,
 940            target,
 941            options=(),
 942            channel_credentials=None,
 943            call_credentials=None,
 944            insecure=False,
 945            compression=None,
 946            wait_for_ready=None,
 947            timeout=None,
 948            metadata=None):
 949        return grpc.experimental.unary_unary(
 950            request,
 951            target,
 952            '/hal_pb.ServoControl/PlayAudio',
 953            hal__pb__pb2.PlayRequest.SerializeToString,
 954            hal__pb__pb2.Empty.FromString,
 955            options,
 956            channel_credentials,
 957            insecure,
 958            call_credentials,
 959            compression,
 960            wait_for_ready,
 961            timeout,
 962            metadata,
 963            _registered_method=True)
 964
 965    @staticmethod
 966    def StartRecording(request,
 967            target,
 968            options=(),
 969            channel_credentials=None,
 970            call_credentials=None,
 971            insecure=False,
 972            compression=None,
 973            wait_for_ready=None,
 974            timeout=None,
 975            metadata=None):
 976        return grpc.experimental.unary_unary(
 977            request,
 978            target,
 979            '/hal_pb.ServoControl/StartRecording',
 980            hal__pb__pb2.RecordingConfig.SerializeToString,
 981            hal__pb__pb2.Empty.FromString,
 982            options,
 983            channel_credentials,
 984            insecure,
 985            call_credentials,
 986            compression,
 987            wait_for_ready,
 988            timeout,
 989            metadata,
 990            _registered_method=True)
 991
 992    @staticmethod
 993    def StopRecording(request,
 994            target,
 995            options=(),
 996            channel_credentials=None,
 997            call_credentials=None,
 998            insecure=False,
 999            compression=None,
1000            wait_for_ready=None,
1001            timeout=None,
1002            metadata=None):
1003        return grpc.experimental.unary_unary(
1004            request,
1005            target,
1006            '/hal_pb.ServoControl/StopRecording',
1007            hal__pb__pb2.Empty.SerializeToString,
1008            hal__pb__pb2.Empty.FromString,
1009            options,
1010            channel_credentials,
1011            insecure,
1012            call_credentials,
1013            compression,
1014            wait_for_ready,
1015            timeout,
1016            metadata,
1017            _registered_method=True)
1018
1019    @staticmethod
1020    def GetRecordedAudio(request,
1021            target,
1022            options=(),
1023            channel_credentials=None,
1024            call_credentials=None,
1025            insecure=False,
1026            compression=None,
1027            wait_for_ready=None,
1028            timeout=None,
1029            metadata=None):
1030        return grpc.experimental.unary_stream(
1031            request,
1032            target,
1033            '/hal_pb.ServoControl/GetRecordedAudio',
1034            hal__pb__pb2.Empty.SerializeToString,
1035            hal__pb__pb2.AudioChunk.FromString,
1036            options,
1037            channel_credentials,
1038            insecure,
1039            call_credentials,
1040            compression,
1041            wait_for_ready,
1042            timeout,
1043            metadata,
1044            _registered_method=True)

Missing associated documentation comment in .proto file.

@staticmethod
def GetPositions( request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None):
425    @staticmethod
426    def GetPositions(request,
427            target,
428            options=(),
429            channel_credentials=None,
430            call_credentials=None,
431            insecure=False,
432            compression=None,
433            wait_for_ready=None,
434            timeout=None,
435            metadata=None):
436        return grpc.experimental.unary_unary(
437            request,
438            target,
439            '/hal_pb.ServoControl/GetPositions',
440            hal__pb__pb2.Empty.SerializeToString,
441            hal__pb__pb2.JointPositions.FromString,
442            options,
443            channel_credentials,
444            insecure,
445            call_credentials,
446            compression,
447            wait_for_ready,
448            timeout,
449            metadata,
450            _registered_method=True)
@staticmethod
def SetPositions( request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None):
452    @staticmethod
453    def SetPositions(request,
454            target,
455            options=(),
456            channel_credentials=None,
457            call_credentials=None,
458            insecure=False,
459            compression=None,
460            wait_for_ready=None,
461            timeout=None,
462            metadata=None):
463        return grpc.experimental.unary_unary(
464            request,
465            target,
466            '/hal_pb.ServoControl/SetPositions',
467            hal__pb__pb2.JointPositions.SerializeToString,
468            hal__pb__pb2.Empty.FromString,
469            options,
470            channel_credentials,
471            insecure,
472            call_credentials,
473            compression,
474            wait_for_ready,
475            timeout,
476            metadata,
477            _registered_method=True)
@staticmethod
def EnableMovement( request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None):
479    @staticmethod
480    def EnableMovement(request,
481            target,
482            options=(),
483            channel_credentials=None,
484            call_credentials=None,
485            insecure=False,
486            compression=None,
487            wait_for_ready=None,
488            timeout=None,
489            metadata=None):
490        return grpc.experimental.unary_unary(
491            request,
492            target,
493            '/hal_pb.ServoControl/EnableMovement',
494            hal__pb__pb2.Empty.SerializeToString,
495            hal__pb__pb2.Empty.FromString,
496            options,
497            channel_credentials,
498            insecure,
499            call_credentials,
500            compression,
501            wait_for_ready,
502            timeout,
503            metadata,
504            _registered_method=True)
@staticmethod
def DisableMovement( request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None):
506    @staticmethod
507    def DisableMovement(request,
508            target,
509            options=(),
510            channel_credentials=None,
511            call_credentials=None,
512            insecure=False,
513            compression=None,
514            wait_for_ready=None,
515            timeout=None,
516            metadata=None):
517        return grpc.experimental.unary_unary(
518            request,
519            target,
520            '/hal_pb.ServoControl/DisableMovement',
521            hal__pb__pb2.Empty.SerializeToString,
522            hal__pb__pb2.Empty.FromString,
523            options,
524            channel_credentials,
525            insecure,
526            call_credentials,
527            compression,
528            wait_for_ready,
529            timeout,
530            metadata,
531            _registered_method=True)
@staticmethod
def SetPosition( request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None):
533    @staticmethod
534    def SetPosition(request,
535            target,
536            options=(),
537            channel_credentials=None,
538            call_credentials=None,
539            insecure=False,
540            compression=None,
541            wait_for_ready=None,
542            timeout=None,
543            metadata=None):
544        return grpc.experimental.unary_unary(
545            request,
546            target,
547            '/hal_pb.ServoControl/SetPosition',
548            hal__pb__pb2.JointPosition.SerializeToString,
549            hal__pb__pb2.Empty.FromString,
550            options,
551            channel_credentials,
552            insecure,
553            call_credentials,
554            compression,
555            wait_for_ready,
556            timeout,
557            metadata,
558            _registered_method=True)
@staticmethod
def SetWifiInfo( request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None):
560    @staticmethod
561    def SetWifiInfo(request,
562            target,
563            options=(),
564            channel_credentials=None,
565            call_credentials=None,
566            insecure=False,
567            compression=None,
568            wait_for_ready=None,
569            timeout=None,
570            metadata=None):
571        return grpc.experimental.unary_unary(
572            request,
573            target,
574            '/hal_pb.ServoControl/SetWifiInfo',
575            hal__pb__pb2.WifiCredentials.SerializeToString,
576            hal__pb__pb2.Empty.FromString,
577            options,
578            channel_credentials,
579            insecure,
580            call_credentials,
581            compression,
582            wait_for_ready,
583            timeout,
584            metadata,
585            _registered_method=True)
@staticmethod
def GetServoInfo( request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None):
587    @staticmethod
588    def GetServoInfo(request,
589            target,
590            options=(),
591            channel_credentials=None,
592            call_credentials=None,
593            insecure=False,
594            compression=None,
595            wait_for_ready=None,
596            timeout=None,
597            metadata=None):
598        return grpc.experimental.unary_unary(
599            request,
600            target,
601            '/hal_pb.ServoControl/GetServoInfo',
602            hal__pb__pb2.ServoId.SerializeToString,
603            hal__pb__pb2.ServoInfoResponse.FromString,
604            options,
605            channel_credentials,
606            insecure,
607            call_credentials,
608            compression,
609            wait_for_ready,
610            timeout,
611            metadata,
612            _registered_method=True)
@staticmethod
def Scan( request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None):
614    @staticmethod
615    def Scan(request,
616            target,
617            options=(),
618            channel_credentials=None,
619            call_credentials=None,
620            insecure=False,
621            compression=None,
622            wait_for_ready=None,
623            timeout=None,
624            metadata=None):
625        return grpc.experimental.unary_unary(
626            request,
627            target,
628            '/hal_pb.ServoControl/Scan',
629            hal__pb__pb2.Empty.SerializeToString,
630            hal__pb__pb2.ServoIds.FromString,
631            options,
632            channel_credentials,
633            insecure,
634            call_credentials,
635            compression,
636            wait_for_ready,
637            timeout,
638            metadata,
639            _registered_method=True)
@staticmethod
def ChangeId( request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None):
641    @staticmethod
642    def ChangeId(request,
643            target,
644            options=(),
645            channel_credentials=None,
646            call_credentials=None,
647            insecure=False,
648            compression=None,
649            wait_for_ready=None,
650            timeout=None,
651            metadata=None):
652        return grpc.experimental.unary_unary(
653            request,
654            target,
655            '/hal_pb.ServoControl/ChangeId',
656            hal__pb__pb2.IdChange.SerializeToString,
657            hal__pb__pb2.ChangeIdResponse.FromString,
658            options,
659            channel_credentials,
660            insecure,
661            call_credentials,
662            compression,
663            wait_for_ready,
664            timeout,
665            metadata,
666            _registered_method=True)
@staticmethod
def StartCalibration( request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None):
668    @staticmethod
669    def StartCalibration(request,
670            target,
671            options=(),
672            channel_credentials=None,
673            call_credentials=None,
674            insecure=False,
675            compression=None,
676            wait_for_ready=None,
677            timeout=None,
678            metadata=None):
679        return grpc.experimental.unary_unary(
680            request,
681            target,
682            '/hal_pb.ServoControl/StartCalibration',
683            hal__pb__pb2.CalibrationRequest.SerializeToString,
684            hal__pb__pb2.CalibrationResponse.FromString,
685            options,
686            channel_credentials,
687            insecure,
688            call_credentials,
689            compression,
690            wait_for_ready,
691            timeout,
692            metadata,
693            _registered_method=True)
@staticmethod
def CancelCalibration( request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None):
695    @staticmethod
696    def CancelCalibration(request,
697            target,
698            options=(),
699            channel_credentials=None,
700            call_credentials=None,
701            insecure=False,
702            compression=None,
703            wait_for_ready=None,
704            timeout=None,
705            metadata=None):
706        return grpc.experimental.unary_unary(
707            request,
708            target,
709            '/hal_pb.ServoControl/CancelCalibration',
710            hal__pb__pb2.ServoId.SerializeToString,
711            hal__pb__pb2.CalibrationResponse.FromString,
712            options,
713            channel_credentials,
714            insecure,
715            call_credentials,
716            compression,
717            wait_for_ready,
718            timeout,
719            metadata,
720            _registered_method=True)
@staticmethod
def StartVideoStream( request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None):
722    @staticmethod
723    def StartVideoStream(request,
724            target,
725            options=(),
726            channel_credentials=None,
727            call_credentials=None,
728            insecure=False,
729            compression=None,
730            wait_for_ready=None,
731            timeout=None,
732            metadata=None):
733        return grpc.experimental.unary_unary(
734            request,
735            target,
736            '/hal_pb.ServoControl/StartVideoStream',
737            hal__pb__pb2.Empty.SerializeToString,
738            hal__pb__pb2.Empty.FromString,
739            options,
740            channel_credentials,
741            insecure,
742            call_credentials,
743            compression,
744            wait_for_ready,
745            timeout,
746            metadata,
747            _registered_method=True)
@staticmethod
def StopVideoStream( request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None):
749    @staticmethod
750    def StopVideoStream(request,
751            target,
752            options=(),
753            channel_credentials=None,
754            call_credentials=None,
755            insecure=False,
756            compression=None,
757            wait_for_ready=None,
758            timeout=None,
759            metadata=None):
760        return grpc.experimental.unary_unary(
761            request,
762            target,
763            '/hal_pb.ServoControl/StopVideoStream',
764            hal__pb__pb2.Empty.SerializeToString,
765            hal__pb__pb2.Empty.FromString,
766            options,
767            channel_credentials,
768            insecure,
769            call_credentials,
770            compression,
771            wait_for_ready,
772            timeout,
773            metadata,
774            _registered_method=True)
@staticmethod
def GetVideoStreamUrls( request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None):
776    @staticmethod
777    def GetVideoStreamUrls(request,
778            target,
779            options=(),
780            channel_credentials=None,
781            call_credentials=None,
782            insecure=False,
783            compression=None,
784            wait_for_ready=None,
785            timeout=None,
786            metadata=None):
787        return grpc.experimental.unary_unary(
788            request,
789            target,
790            '/hal_pb.ServoControl/GetVideoStreamUrls',
791            hal__pb__pb2.Empty.SerializeToString,
792            hal__pb__pb2.VideoStreamUrls.FromString,
793            options,
794            channel_credentials,
795            insecure,
796            call_credentials,
797            compression,
798            wait_for_ready,
799            timeout,
800            metadata,
801            _registered_method=True)
@staticmethod
def GetCalibrationStatus( request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None):
803    @staticmethod
804    def GetCalibrationStatus(request,
805            target,
806            options=(),
807            channel_credentials=None,
808            call_credentials=None,
809            insecure=False,
810            compression=None,
811            wait_for_ready=None,
812            timeout=None,
813            metadata=None):
814        return grpc.experimental.unary_unary(
815            request,
816            target,
817            '/hal_pb.ServoControl/GetCalibrationStatus',
818            hal__pb__pb2.Empty.SerializeToString,
819            hal__pb__pb2.CalibrationStatus.FromString,
820            options,
821            channel_credentials,
822            insecure,
823            call_credentials,
824            compression,
825            wait_for_ready,
826            timeout,
827            metadata,
828            _registered_method=True)
@staticmethod
def SetTorque( request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None):
830    @staticmethod
831    def SetTorque(request,
832            target,
833            options=(),
834            channel_credentials=None,
835            call_credentials=None,
836            insecure=False,
837            compression=None,
838            wait_for_ready=None,
839            timeout=None,
840            metadata=None):
841        return grpc.experimental.unary_unary(
842            request,
843            target,
844            '/hal_pb.ServoControl/SetTorque',
845            hal__pb__pb2.TorqueSettings.SerializeToString,
846            hal__pb__pb2.Empty.FromString,
847            options,
848            channel_credentials,
849            insecure,
850            call_credentials,
851            compression,
852            wait_for_ready,
853            timeout,
854            metadata,
855            _registered_method=True)
@staticmethod
def SetTorqueEnable( request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None):
857    @staticmethod
858    def SetTorqueEnable(request,
859            target,
860            options=(),
861            channel_credentials=None,
862            call_credentials=None,
863            insecure=False,
864            compression=None,
865            wait_for_ready=None,
866            timeout=None,
867            metadata=None):
868        return grpc.experimental.unary_unary(
869            request,
870            target,
871            '/hal_pb.ServoControl/SetTorqueEnable',
872            hal__pb__pb2.TorqueEnableSettings.SerializeToString,
873            hal__pb__pb2.Empty.FromString,
874            options,
875            channel_credentials,
876            insecure,
877            call_credentials,
878            compression,
879            wait_for_ready,
880            timeout,
881            metadata,
882            _registered_method=True)
@staticmethod
def GetImuData( request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None):
884    @staticmethod
885    def GetImuData(request,
886            target,
887            options=(),
888            channel_credentials=None,
889            call_credentials=None,
890            insecure=False,
891            compression=None,
892            wait_for_ready=None,
893            timeout=None,
894            metadata=None):
895        return grpc.experimental.unary_unary(
896            request,
897            target,
898            '/hal_pb.ServoControl/GetImuData',
899            hal__pb__pb2.Empty.SerializeToString,
900            hal__pb__pb2.ImuData.FromString,
901            options,
902            channel_credentials,
903            insecure,
904            call_credentials,
905            compression,
906            wait_for_ready,
907            timeout,
908            metadata,
909            _registered_method=True)
@staticmethod
def UploadAudio( request_iterator, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None):
911    @staticmethod
912    def UploadAudio(request_iterator,
913            target,
914            options=(),
915            channel_credentials=None,
916            call_credentials=None,
917            insecure=False,
918            compression=None,
919            wait_for_ready=None,
920            timeout=None,
921            metadata=None):
922        return grpc.experimental.stream_unary(
923            request_iterator,
924            target,
925            '/hal_pb.ServoControl/UploadAudio',
926            hal__pb__pb2.AudioChunk.SerializeToString,
927            hal__pb__pb2.UploadResponse.FromString,
928            options,
929            channel_credentials,
930            insecure,
931            call_credentials,
932            compression,
933            wait_for_ready,
934            timeout,
935            metadata,
936            _registered_method=True)
@staticmethod
def PlayAudio( request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None):
938    @staticmethod
939    def PlayAudio(request,
940            target,
941            options=(),
942            channel_credentials=None,
943            call_credentials=None,
944            insecure=False,
945            compression=None,
946            wait_for_ready=None,
947            timeout=None,
948            metadata=None):
949        return grpc.experimental.unary_unary(
950            request,
951            target,
952            '/hal_pb.ServoControl/PlayAudio',
953            hal__pb__pb2.PlayRequest.SerializeToString,
954            hal__pb__pb2.Empty.FromString,
955            options,
956            channel_credentials,
957            insecure,
958            call_credentials,
959            compression,
960            wait_for_ready,
961            timeout,
962            metadata,
963            _registered_method=True)
@staticmethod
def StartRecording( request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None):
965    @staticmethod
966    def StartRecording(request,
967            target,
968            options=(),
969            channel_credentials=None,
970            call_credentials=None,
971            insecure=False,
972            compression=None,
973            wait_for_ready=None,
974            timeout=None,
975            metadata=None):
976        return grpc.experimental.unary_unary(
977            request,
978            target,
979            '/hal_pb.ServoControl/StartRecording',
980            hal__pb__pb2.RecordingConfig.SerializeToString,
981            hal__pb__pb2.Empty.FromString,
982            options,
983            channel_credentials,
984            insecure,
985            call_credentials,
986            compression,
987            wait_for_ready,
988            timeout,
989            metadata,
990            _registered_method=True)
@staticmethod
def StopRecording( request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None):
 992    @staticmethod
 993    def StopRecording(request,
 994            target,
 995            options=(),
 996            channel_credentials=None,
 997            call_credentials=None,
 998            insecure=False,
 999            compression=None,
1000            wait_for_ready=None,
1001            timeout=None,
1002            metadata=None):
1003        return grpc.experimental.unary_unary(
1004            request,
1005            target,
1006            '/hal_pb.ServoControl/StopRecording',
1007            hal__pb__pb2.Empty.SerializeToString,
1008            hal__pb__pb2.Empty.FromString,
1009            options,
1010            channel_credentials,
1011            insecure,
1012            call_credentials,
1013            compression,
1014            wait_for_ready,
1015            timeout,
1016            metadata,
1017            _registered_method=True)
@staticmethod
def GetRecordedAudio( request, target, options=(), channel_credentials=None, call_credentials=None, insecure=False, compression=None, wait_for_ready=None, timeout=None, metadata=None):
1019    @staticmethod
1020    def GetRecordedAudio(request,
1021            target,
1022            options=(),
1023            channel_credentials=None,
1024            call_credentials=None,
1025            insecure=False,
1026            compression=None,
1027            wait_for_ready=None,
1028            timeout=None,
1029            metadata=None):
1030        return grpc.experimental.unary_stream(
1031            request,
1032            target,
1033            '/hal_pb.ServoControl/GetRecordedAudio',
1034            hal__pb__pb2.Empty.SerializeToString,
1035            hal__pb__pb2.AudioChunk.FromString,
1036            options,
1037            channel_credentials,
1038            insecure,
1039            call_credentials,
1040            compression,
1041            wait_for_ready,
1042            timeout,
1043            metadata,
1044            _registered_method=True)