openlch.hal_pb_pb2
Generated protocol buffer code.
1# -*- coding: utf-8 -*- 2# Generated by the protocol buffer compiler. DO NOT EDIT! 3# NO CHECKED-IN PROTOBUF GENCODE 4# source: hal_pb.proto 5# Protobuf Python Version: 5.27.2 6"""Generated protocol buffer code.""" 7from google.protobuf import descriptor as _descriptor 8from google.protobuf import descriptor_pool as _descriptor_pool 9from google.protobuf import runtime_version as _runtime_version 10from google.protobuf import symbol_database as _symbol_database 11from google.protobuf.internal import builder as _builder 12_runtime_version.ValidateProtobufRuntimeVersion( 13 _runtime_version.Domain.PUBLIC, 14 5, 15 28, 16 2, 17 '', 18 'hal_pb.proto' 19) 20# @@protoc_insertion_point(imports) 21 22_sym_db = _symbol_database.Default() 23 24 25 26 27DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0chal_pb.proto\x12\x06hal_pb\"\x07\n\x05\x45mpty\"<\n\rJointPosition\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x10\n\x08position\x18\x02 \x01(\x02\x12\r\n\x05speed\x18\x03 \x01(\x02\":\n\x0eJointPositions\x12(\n\tpositions\x18\x01 \x03(\x0b\x32\x15.hal_pb.JointPosition\"1\n\x0fWifiCredentials\x12\x0c\n\x04ssid\x18\x01 \x01(\t\x12\x10\n\x08password\x18\x02 \x01(\t\"\x15\n\x07ServoId\x12\n\n\x02id\x18\x01 \x01(\x05\"\xa3\x01\n\tServoInfo\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x13\n\x0btemperature\x18\x02 \x01(\x02\x12\x0f\n\x07\x63urrent\x18\x03 \x01(\x02\x12\x0f\n\x07voltage\x18\x04 \x01(\x02\x12\r\n\x05speed\x18\x05 \x01(\x02\x12\x18\n\x10\x63urrent_position\x18\x06 \x01(\x02\x12\x14\n\x0cmin_position\x18\x07 \x01(\x02\x12\x14\n\x0cmax_position\x18\x08 \x01(\x02\"d\n\x11ServoInfoResponse\x12!\n\x04info\x18\x01 \x01(\x0b\x32\x11.hal_pb.ServoInfoH\x00\x12\"\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x11.hal_pb.ErrorInfoH\x00\x42\x08\n\x06result\"S\n\x10\x43hangeIdResponse\x12\x11\n\x07success\x18\x01 \x01(\x08H\x00\x12\"\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x11.hal_pb.ErrorInfoH\x00\x42\x08\n\x06result\"*\n\tErrorInfo\x12\x0f\n\x07message\x18\x01 \x01(\t\x12\x0c\n\x04\x63ode\x18\x02 \x01(\x05\"\x17\n\x08ServoIds\x12\x0b\n\x03ids\x18\x01 \x03(\x05\"*\n\x08IdChange\x12\x0e\n\x06old_id\x18\x01 \x01(\x05\x12\x0e\n\x06new_id\x18\x02 \x01(\x05\"Y\n\x0fVideoStreamUrls\x12\x0e\n\x06webrtc\x18\x01 \x03(\t\x12\x0b\n\x03hls\x18\x02 \x03(\t\x12\x0e\n\x06hls_ll\x18\x03 \x03(\t\x12\x0b\n\x03mse\x18\x04 \x03(\t\x12\x0c\n\x04rtsp\x18\x05 \x03(\t\"V\n\x13\x43\x61librationResponse\x12\x11\n\x07success\x18\x01 \x01(\x08H\x00\x12\"\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x11.hal_pb.ErrorInfoH\x00\x42\x08\n\x06result\"I\n\x11\x43\x61librationStatus\x12\x16\n\x0eis_calibrating\x18\x01 \x01(\x08\x12\x1c\n\x14\x63\x61librating_servo_id\x18\x02 \x01(\x05\"9\n\x0eTorqueSettings\x12\'\n\x08settings\x18\x01 \x03(\x0b\x32\x15.hal_pb.TorqueSetting\"+\n\rTorqueSetting\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x0e\n\x06torque\x18\x02 \x01(\x02\"E\n\x14TorqueEnableSettings\x12-\n\x08settings\x18\x01 \x03(\x0b\x32\x1b.hal_pb.TorqueEnableSetting\"1\n\x13TorqueEnableSetting\x12\n\n\x02id\x18\x01 \x01(\x05\x12\x0e\n\x06\x65nable\x18\x02 \x01(\x08\"H\n\x07ImuData\x12\x1d\n\x04gyro\x18\x01 \x01(\x0b\x32\x0f.hal_pb.Vector3\x12\x1e\n\x05\x61\x63\x63\x65l\x18\x02 \x01(\x0b\x32\x0f.hal_pb.Vector3\"*\n\x07Vector3\x12\t\n\x01x\x18\x01 \x01(\x02\x12\t\n\x01y\x18\x02 \x01(\x02\x12\t\n\x01z\x18\x03 \x01(\x02\"=\n\nAudioChunk\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x12\x0e\n\x06\x66ormat\x18\x02 \x01(\t\x12\x11\n\ttimestamp\x18\x03 \x01(\x03\"c\n\x0eUploadResponse\x12\x10\n\x08\x61udio_id\x18\x01 \x01(\t\x12\x11\n\x07success\x18\x02 \x01(\x08H\x00\x12\"\n\x05\x65rror\x18\x03 \x01(\x0b\x32\x11.hal_pb.ErrorInfoH\x00\x42\x08\n\x06result\"/\n\x0bPlayRequest\x12\x10\n\x08\x61udio_id\x18\x01 \x01(\t\x12\x0e\n\x06volume\x18\x02 \x01(\x02\"H\n\x0fRecordingConfig\x12\x13\n\x0bsample_rate\x18\x01 \x01(\x05\x12\x0e\n\x06\x66ormat\x18\x02 \x01(\t\x12\x10\n\x08\x63hannels\x18\x03 \x01(\x05\"\\\n\x12\x43\x61librationRequest\x12\x10\n\x08servo_id\x18\x01 \x01(\x05\x12\x19\n\x11\x63\x61libration_speed\x18\x02 \x01(\x05\x12\x19\n\x11\x63urrent_threshold\x18\x03 \x01(\x02\x32\x8b\n\n\x0cServoControl\x12\x35\n\x0cGetPositions\x12\r.hal_pb.Empty\x1a\x16.hal_pb.JointPositions\x12\x35\n\x0cSetPositions\x12\x16.hal_pb.JointPositions\x1a\r.hal_pb.Empty\x12.\n\x0e\x45nableMovement\x12\r.hal_pb.Empty\x1a\r.hal_pb.Empty\x12/\n\x0f\x44isableMovement\x12\r.hal_pb.Empty\x1a\r.hal_pb.Empty\x12\x33\n\x0bSetPosition\x12\x15.hal_pb.JointPosition\x1a\r.hal_pb.Empty\x12\x35\n\x0bSetWifiInfo\x12\x17.hal_pb.WifiCredentials\x1a\r.hal_pb.Empty\x12:\n\x0cGetServoInfo\x12\x0f.hal_pb.ServoId\x1a\x19.hal_pb.ServoInfoResponse\x12\'\n\x04Scan\x12\r.hal_pb.Empty\x1a\x10.hal_pb.ServoIds\x12\x36\n\x08\x43hangeId\x12\x10.hal_pb.IdChange\x1a\x18.hal_pb.ChangeIdResponse\x12K\n\x10StartCalibration\x12\x1a.hal_pb.CalibrationRequest\x1a\x1b.hal_pb.CalibrationResponse\x12\x41\n\x11\x43\x61ncelCalibration\x12\x0f.hal_pb.ServoId\x1a\x1b.hal_pb.CalibrationResponse\x12\x30\n\x10StartVideoStream\x12\r.hal_pb.Empty\x1a\r.hal_pb.Empty\x12/\n\x0fStopVideoStream\x12\r.hal_pb.Empty\x1a\r.hal_pb.Empty\x12<\n\x12GetVideoStreamUrls\x12\r.hal_pb.Empty\x1a\x17.hal_pb.VideoStreamUrls\x12@\n\x14GetCalibrationStatus\x12\r.hal_pb.Empty\x1a\x19.hal_pb.CalibrationStatus\x12\x32\n\tSetTorque\x12\x16.hal_pb.TorqueSettings\x1a\r.hal_pb.Empty\x12>\n\x0fSetTorqueEnable\x12\x1c.hal_pb.TorqueEnableSettings\x1a\r.hal_pb.Empty\x12,\n\nGetImuData\x12\r.hal_pb.Empty\x1a\x0f.hal_pb.ImuData\x12;\n\x0bUploadAudio\x12\x12.hal_pb.AudioChunk\x1a\x16.hal_pb.UploadResponse(\x01\x12/\n\tPlayAudio\x12\x13.hal_pb.PlayRequest\x1a\r.hal_pb.Empty\x12\x38\n\x0eStartRecording\x12\x17.hal_pb.RecordingConfig\x1a\r.hal_pb.Empty\x12-\n\rStopRecording\x12\r.hal_pb.Empty\x1a\r.hal_pb.Empty\x12\x37\n\x10GetRecordedAudio\x12\r.hal_pb.Empty\x1a\x12.hal_pb.AudioChunk0\x01\x62\x06proto3') 28 29_globals = globals() 30_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) 31_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'hal_pb_pb2', _globals) 32if not _descriptor._USE_C_DESCRIPTORS: 33 DESCRIPTOR._loaded_options = None 34 _globals['_EMPTY']._serialized_start=24 35 _globals['_EMPTY']._serialized_end=31 36 _globals['_JOINTPOSITION']._serialized_start=33 37 _globals['_JOINTPOSITION']._serialized_end=93 38 _globals['_JOINTPOSITIONS']._serialized_start=95 39 _globals['_JOINTPOSITIONS']._serialized_end=153 40 _globals['_WIFICREDENTIALS']._serialized_start=155 41 _globals['_WIFICREDENTIALS']._serialized_end=204 42 _globals['_SERVOID']._serialized_start=206 43 _globals['_SERVOID']._serialized_end=227 44 _globals['_SERVOINFO']._serialized_start=230 45 _globals['_SERVOINFO']._serialized_end=393 46 _globals['_SERVOINFORESPONSE']._serialized_start=395 47 _globals['_SERVOINFORESPONSE']._serialized_end=495 48 _globals['_CHANGEIDRESPONSE']._serialized_start=497 49 _globals['_CHANGEIDRESPONSE']._serialized_end=580 50 _globals['_ERRORINFO']._serialized_start=582 51 _globals['_ERRORINFO']._serialized_end=624 52 _globals['_SERVOIDS']._serialized_start=626 53 _globals['_SERVOIDS']._serialized_end=649 54 _globals['_IDCHANGE']._serialized_start=651 55 _globals['_IDCHANGE']._serialized_end=693 56 _globals['_VIDEOSTREAMURLS']._serialized_start=695 57 _globals['_VIDEOSTREAMURLS']._serialized_end=784 58 _globals['_CALIBRATIONRESPONSE']._serialized_start=786 59 _globals['_CALIBRATIONRESPONSE']._serialized_end=872 60 _globals['_CALIBRATIONSTATUS']._serialized_start=874 61 _globals['_CALIBRATIONSTATUS']._serialized_end=947 62 _globals['_TORQUESETTINGS']._serialized_start=949 63 _globals['_TORQUESETTINGS']._serialized_end=1006 64 _globals['_TORQUESETTING']._serialized_start=1008 65 _globals['_TORQUESETTING']._serialized_end=1051 66 _globals['_TORQUEENABLESETTINGS']._serialized_start=1053 67 _globals['_TORQUEENABLESETTINGS']._serialized_end=1122 68 _globals['_TORQUEENABLESETTING']._serialized_start=1124 69 _globals['_TORQUEENABLESETTING']._serialized_end=1173 70 _globals['_IMUDATA']._serialized_start=1175 71 _globals['_IMUDATA']._serialized_end=1247 72 _globals['_VECTOR3']._serialized_start=1249 73 _globals['_VECTOR3']._serialized_end=1291 74 _globals['_AUDIOCHUNK']._serialized_start=1293 75 _globals['_AUDIOCHUNK']._serialized_end=1354 76 _globals['_UPLOADRESPONSE']._serialized_start=1356 77 _globals['_UPLOADRESPONSE']._serialized_end=1455 78 _globals['_PLAYREQUEST']._serialized_start=1457 79 _globals['_PLAYREQUEST']._serialized_end=1504 80 _globals['_RECORDINGCONFIG']._serialized_start=1506 81 _globals['_RECORDINGCONFIG']._serialized_end=1578 82 _globals['_CALIBRATIONREQUEST']._serialized_start=1580 83 _globals['_CALIBRATIONREQUEST']._serialized_end=1672 84 _globals['_SERVOCONTROL']._serialized_start=1675 85 _globals['_SERVOCONTROL']._serialized_end=2966 86# @@protoc_insertion_point(module_scope)
DESCRIPTOR =
<google._upb._message.FileDescriptor object>