mavsdk-types 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (107) hide show
  1. package/README.md +24 -0
  2. package/action/ActionServiceClientPb.ts +985 -0
  3. package/action/action_pb.d.ts +875 -0
  4. package/action/action_pb.js +7317 -0
  5. package/action_server/Action_serverServiceClientPb.ts +408 -0
  6. package/action_server/action_server_pb.d.ts +571 -0
  7. package/action_server/action_server_pb.js +4624 -0
  8. package/calibration/CalibrationServiceClientPb.ts +192 -0
  9. package/calibration/calibration_pb.d.ts +306 -0
  10. package/calibration/calibration_pb.js +2501 -0
  11. package/camera/CameraServiceClientPb.ts +838 -0
  12. package/camera/camera_pb.d.ts +1260 -0
  13. package/camera/camera_pb.js +10338 -0
  14. package/camera_server/Camera_serverServiceClientPb.ts +818 -0
  15. package/camera_server/camera_server_pb.d.ts +1180 -0
  16. package/camera_server/camera_server_pb.js +9586 -0
  17. package/component_information/Component_informationServiceClientPb.ts +104 -0
  18. package/component_information/component_information_pb.d.ts +179 -0
  19. package/component_information/component_information_pb.js +1445 -0
  20. package/component_information_server/Component_information_serverServiceClientPb.ts +104 -0
  21. package/component_information_server/component_information_server_pb.d.ts +183 -0
  22. package/component_information_server/component_information_server_pb.js +1439 -0
  23. package/core/CoreServiceClientPb.ts +104 -0
  24. package/core/core_pb.d.ts +88 -0
  25. package/core/core_pb.js +748 -0
  26. package/failure/FailureServiceClientPb.ts +82 -0
  27. package/failure/failure_pb.d.ts +111 -0
  28. package/failure/failure_pb.js +646 -0
  29. package/follow_me/Follow_meServiceClientPb.ts +340 -0
  30. package/follow_me/follow_me_pb.d.ts +369 -0
  31. package/follow_me/follow_me_pb.js +2990 -0
  32. package/ftp/FtpServiceClientPb.ts +384 -0
  33. package/ftp/ftp_pb.d.ts +449 -0
  34. package/ftp/ftp_pb.js +3674 -0
  35. package/ftp_server/Ftp_serverServiceClientPb.ts +82 -0
  36. package/ftp_server/ftp_server_pb.d.ts +72 -0
  37. package/ftp_server/ftp_server_pb.js +545 -0
  38. package/geofence/GeofenceServiceClientPb.ts +125 -0
  39. package/geofence/geofence_pb.d.ts +216 -0
  40. package/geofence/geofence_pb.js +1737 -0
  41. package/gimbal/GimbalServiceClientPb.ts +362 -0
  42. package/gimbal/gimbal_pb.d.ts +398 -0
  43. package/gimbal/gimbal_pb.js +3233 -0
  44. package/gripper/GripperServiceClientPb.ts +125 -0
  45. package/gripper/gripper_pb.d.ts +116 -0
  46. package/gripper/gripper_pb.js +880 -0
  47. package/info/InfoServiceClientPb.ts +254 -0
  48. package/info/info_pb.d.ts +377 -0
  49. package/info/info_pb.js +3035 -0
  50. package/log_files/Log_filesServiceClientPb.ts +147 -0
  51. package/log_files/log_files_pb.d.ts +206 -0
  52. package/log_files/log_files_pb.js +1667 -0
  53. package/manual_control/Manual_controlServiceClientPb.ts +168 -0
  54. package/manual_control/manual_control_pb.d.ts +157 -0
  55. package/manual_control/manual_control_pb.js +1232 -0
  56. package/mavsdk_options_pb.d.ts +10 -0
  57. package/mavsdk_options_pb.js +141 -0
  58. package/mission/MissionServiceClientPb.ts +578 -0
  59. package/mission/mission_pb.d.ts +749 -0
  60. package/mission/mission_pb.js +6095 -0
  61. package/mission_raw/Mission_rawServiceClientPb.ts +599 -0
  62. package/mission_raw/mission_raw_pb.d.ts +691 -0
  63. package/mission_raw/mission_raw_pb.js +5766 -0
  64. package/mission_raw_server/Mission_raw_serverServiceClientPb.ts +148 -0
  65. package/mission_raw_server/mission_raw_server_pb.d.ts +285 -0
  66. package/mission_raw_server/mission_raw_server_pb.js +2269 -0
  67. package/mocap/MocapServiceClientPb.ts +168 -0
  68. package/mocap/mocap_pb.d.ts +445 -0
  69. package/mocap/mocap_pb.js +3637 -0
  70. package/offboard/OffboardServiceClientPb.ts +598 -0
  71. package/offboard/offboard_pb.d.ts +813 -0
  72. package/offboard/offboard_pb.js +6771 -0
  73. package/package.json +15 -0
  74. package/param/ParamServiceClientPb.ts +383 -0
  75. package/param/param_pb.d.ts +469 -0
  76. package/param/param_pb.js +3849 -0
  77. package/param_server/Param_serverServiceClientPb.ts +406 -0
  78. package/param_server/param_server_pb.d.ts +523 -0
  79. package/param_server/param_server_pb.js +4371 -0
  80. package/rtk/RtkServiceClientPb.ts +82 -0
  81. package/rtk/rtk_pb.d.ts +93 -0
  82. package/rtk/rtk_pb.js +719 -0
  83. package/server_utility/Server_utilityServiceClientPb.ts +82 -0
  84. package/server_utility/server_utility_pb.d.ts +87 -0
  85. package/server_utility/server_utility_pb.js +591 -0
  86. package/shell/ShellServiceClientPb.ts +104 -0
  87. package/shell/shell_pb.d.ts +106 -0
  88. package/shell/shell_pb.js +822 -0
  89. package/telemetry/TelemetryServiceClientPb.ts +1862 -0
  90. package/telemetry/telemetry_pb.d.ts +3201 -0
  91. package/telemetry/telemetry_pb.js +26682 -0
  92. package/telemetry_server/Telemetry_serverServiceClientPb.ts +684 -0
  93. package/telemetry_server/telemetry_server_pb.d.ts +1562 -0
  94. package/telemetry_server/telemetry_server_pb.js +12735 -0
  95. package/tracking_server/Tracking_serverServiceClientPb.ts +363 -0
  96. package/tracking_server/tracking_server_pb.d.ts +407 -0
  97. package/tracking_server/tracking_server_pb.js +3366 -0
  98. package/transponder/TransponderServiceClientPb.ts +104 -0
  99. package/transponder/transponder_pb.d.ts +196 -0
  100. package/transponder/transponder_pb.js +1360 -0
  101. package/tsconfig.json +9 -0
  102. package/tune/TuneServiceClientPb.ts +82 -0
  103. package/tune/tune_pb.d.ts +122 -0
  104. package/tune/tune_pb.js +804 -0
  105. package/winch/WinchServiceClientPb.ts +491 -0
  106. package/winch/winch_pb.d.ts +593 -0
  107. package/winch/winch_pb.js +4801 -0
@@ -0,0 +1,104 @@
1
+ /**
2
+ * @fileoverview gRPC-Web generated client stub for mavsdk.rpc.component_information
3
+ * @enhanceable
4
+ * @public
5
+ */
6
+
7
+ // GENERATED CODE -- DO NOT EDIT!
8
+
9
+
10
+ /* eslint-disable */
11
+ // @ts-nocheck
12
+
13
+
14
+ import * as grpcWeb from 'grpc-web';
15
+
16
+ import * as component_information_component_information_pb from '../component_information/component_information_pb';
17
+
18
+
19
+ export class ComponentInformationServiceClient {
20
+ client_: grpcWeb.AbstractClientBase;
21
+ hostname_: string;
22
+ credentials_: null | { [index: string]: string; };
23
+ options_: null | { [index: string]: any; };
24
+
25
+ constructor (hostname: string,
26
+ credentials?: null | { [index: string]: string; },
27
+ options?: null | { [index: string]: any; }) {
28
+ if (!options) options = {};
29
+ if (!credentials) credentials = {};
30
+ options['format'] = 'text';
31
+
32
+ this.client_ = new grpcWeb.GrpcWebClientBase(options);
33
+ this.hostname_ = hostname;
34
+ this.credentials_ = credentials;
35
+ this.options_ = options;
36
+ }
37
+
38
+ methodDescriptorAccessFloatParams = new grpcWeb.MethodDescriptor(
39
+ '/mavsdk.rpc.component_information.ComponentInformationService/AccessFloatParams',
40
+ grpcWeb.MethodType.UNARY,
41
+ component_information_component_information_pb.AccessFloatParamsRequest,
42
+ component_information_component_information_pb.AccessFloatParamsResponse,
43
+ (request: component_information_component_information_pb.AccessFloatParamsRequest) => {
44
+ return request.serializeBinary();
45
+ },
46
+ component_information_component_information_pb.AccessFloatParamsResponse.deserializeBinary
47
+ );
48
+
49
+ accessFloatParams(
50
+ request: component_information_component_information_pb.AccessFloatParamsRequest,
51
+ metadata: grpcWeb.Metadata | null): Promise<component_information_component_information_pb.AccessFloatParamsResponse>;
52
+
53
+ accessFloatParams(
54
+ request: component_information_component_information_pb.AccessFloatParamsRequest,
55
+ metadata: grpcWeb.Metadata | null,
56
+ callback: (err: grpcWeb.RpcError,
57
+ response: component_information_component_information_pb.AccessFloatParamsResponse) => void): grpcWeb.ClientReadableStream<component_information_component_information_pb.AccessFloatParamsResponse>;
58
+
59
+ accessFloatParams(
60
+ request: component_information_component_information_pb.AccessFloatParamsRequest,
61
+ metadata: grpcWeb.Metadata | null,
62
+ callback?: (err: grpcWeb.RpcError,
63
+ response: component_information_component_information_pb.AccessFloatParamsResponse) => void) {
64
+ if (callback !== undefined) {
65
+ return this.client_.rpcCall(
66
+ this.hostname_ +
67
+ '/mavsdk.rpc.component_information.ComponentInformationService/AccessFloatParams',
68
+ request,
69
+ metadata || {},
70
+ this.methodDescriptorAccessFloatParams,
71
+ callback);
72
+ }
73
+ return this.client_.unaryCall(
74
+ this.hostname_ +
75
+ '/mavsdk.rpc.component_information.ComponentInformationService/AccessFloatParams',
76
+ request,
77
+ metadata || {},
78
+ this.methodDescriptorAccessFloatParams);
79
+ }
80
+
81
+ methodDescriptorSubscribeFloatParam = new grpcWeb.MethodDescriptor(
82
+ '/mavsdk.rpc.component_information.ComponentInformationService/SubscribeFloatParam',
83
+ grpcWeb.MethodType.SERVER_STREAMING,
84
+ component_information_component_information_pb.SubscribeFloatParamRequest,
85
+ component_information_component_information_pb.FloatParamResponse,
86
+ (request: component_information_component_information_pb.SubscribeFloatParamRequest) => {
87
+ return request.serializeBinary();
88
+ },
89
+ component_information_component_information_pb.FloatParamResponse.deserializeBinary
90
+ );
91
+
92
+ subscribeFloatParam(
93
+ request: component_information_component_information_pb.SubscribeFloatParamRequest,
94
+ metadata?: grpcWeb.Metadata): grpcWeb.ClientReadableStream<component_information_component_information_pb.FloatParamResponse> {
95
+ return this.client_.serverStreaming(
96
+ this.hostname_ +
97
+ '/mavsdk.rpc.component_information.ComponentInformationService/SubscribeFloatParam',
98
+ request,
99
+ metadata || {},
100
+ this.methodDescriptorSubscribeFloatParam);
101
+ }
102
+
103
+ }
104
+
@@ -0,0 +1,179 @@
1
+ import * as jspb from 'google-protobuf'
2
+
3
+ import * as mavsdk_options_pb from '../mavsdk_options_pb';
4
+
5
+
6
+ export class FloatParam extends jspb.Message {
7
+ getName(): string;
8
+ setName(value: string): FloatParam;
9
+
10
+ getShortDescription(): string;
11
+ setShortDescription(value: string): FloatParam;
12
+
13
+ getLongDescription(): string;
14
+ setLongDescription(value: string): FloatParam;
15
+
16
+ getUnit(): string;
17
+ setUnit(value: string): FloatParam;
18
+
19
+ getDecimalPlaces(): number;
20
+ setDecimalPlaces(value: number): FloatParam;
21
+
22
+ getStartValue(): number;
23
+ setStartValue(value: number): FloatParam;
24
+
25
+ getDefaultValue(): number;
26
+ setDefaultValue(value: number): FloatParam;
27
+
28
+ getMinValue(): number;
29
+ setMinValue(value: number): FloatParam;
30
+
31
+ getMaxValue(): number;
32
+ setMaxValue(value: number): FloatParam;
33
+
34
+ serializeBinary(): Uint8Array;
35
+ toObject(includeInstance?: boolean): FloatParam.AsObject;
36
+ static toObject(includeInstance: boolean, msg: FloatParam): FloatParam.AsObject;
37
+ static serializeBinaryToWriter(message: FloatParam, writer: jspb.BinaryWriter): void;
38
+ static deserializeBinary(bytes: Uint8Array): FloatParam;
39
+ static deserializeBinaryFromReader(message: FloatParam, reader: jspb.BinaryReader): FloatParam;
40
+ }
41
+
42
+ export namespace FloatParam {
43
+ export type AsObject = {
44
+ name: string,
45
+ shortDescription: string,
46
+ longDescription: string,
47
+ unit: string,
48
+ decimalPlaces: number,
49
+ startValue: number,
50
+ defaultValue: number,
51
+ minValue: number,
52
+ maxValue: number,
53
+ }
54
+ }
55
+
56
+ export class AccessFloatParamsRequest extends jspb.Message {
57
+ serializeBinary(): Uint8Array;
58
+ toObject(includeInstance?: boolean): AccessFloatParamsRequest.AsObject;
59
+ static toObject(includeInstance: boolean, msg: AccessFloatParamsRequest): AccessFloatParamsRequest.AsObject;
60
+ static serializeBinaryToWriter(message: AccessFloatParamsRequest, writer: jspb.BinaryWriter): void;
61
+ static deserializeBinary(bytes: Uint8Array): AccessFloatParamsRequest;
62
+ static deserializeBinaryFromReader(message: AccessFloatParamsRequest, reader: jspb.BinaryReader): AccessFloatParamsRequest;
63
+ }
64
+
65
+ export namespace AccessFloatParamsRequest {
66
+ export type AsObject = {
67
+ }
68
+ }
69
+
70
+ export class AccessFloatParamsResponse extends jspb.Message {
71
+ getComponentInformationResult(): ComponentInformationResult | undefined;
72
+ setComponentInformationResult(value?: ComponentInformationResult): AccessFloatParamsResponse;
73
+ hasComponentInformationResult(): boolean;
74
+ clearComponentInformationResult(): AccessFloatParamsResponse;
75
+
76
+ getParamsList(): Array<FloatParam>;
77
+ setParamsList(value: Array<FloatParam>): AccessFloatParamsResponse;
78
+ clearParamsList(): AccessFloatParamsResponse;
79
+ addParams(value?: FloatParam, index?: number): FloatParam;
80
+
81
+ serializeBinary(): Uint8Array;
82
+ toObject(includeInstance?: boolean): AccessFloatParamsResponse.AsObject;
83
+ static toObject(includeInstance: boolean, msg: AccessFloatParamsResponse): AccessFloatParamsResponse.AsObject;
84
+ static serializeBinaryToWriter(message: AccessFloatParamsResponse, writer: jspb.BinaryWriter): void;
85
+ static deserializeBinary(bytes: Uint8Array): AccessFloatParamsResponse;
86
+ static deserializeBinaryFromReader(message: AccessFloatParamsResponse, reader: jspb.BinaryReader): AccessFloatParamsResponse;
87
+ }
88
+
89
+ export namespace AccessFloatParamsResponse {
90
+ export type AsObject = {
91
+ componentInformationResult?: ComponentInformationResult.AsObject,
92
+ paramsList: Array<FloatParam.AsObject>,
93
+ }
94
+ }
95
+
96
+ export class FloatParamUpdate extends jspb.Message {
97
+ getName(): string;
98
+ setName(value: string): FloatParamUpdate;
99
+
100
+ getValue(): number;
101
+ setValue(value: number): FloatParamUpdate;
102
+
103
+ serializeBinary(): Uint8Array;
104
+ toObject(includeInstance?: boolean): FloatParamUpdate.AsObject;
105
+ static toObject(includeInstance: boolean, msg: FloatParamUpdate): FloatParamUpdate.AsObject;
106
+ static serializeBinaryToWriter(message: FloatParamUpdate, writer: jspb.BinaryWriter): void;
107
+ static deserializeBinary(bytes: Uint8Array): FloatParamUpdate;
108
+ static deserializeBinaryFromReader(message: FloatParamUpdate, reader: jspb.BinaryReader): FloatParamUpdate;
109
+ }
110
+
111
+ export namespace FloatParamUpdate {
112
+ export type AsObject = {
113
+ name: string,
114
+ value: number,
115
+ }
116
+ }
117
+
118
+ export class SubscribeFloatParamRequest extends jspb.Message {
119
+ serializeBinary(): Uint8Array;
120
+ toObject(includeInstance?: boolean): SubscribeFloatParamRequest.AsObject;
121
+ static toObject(includeInstance: boolean, msg: SubscribeFloatParamRequest): SubscribeFloatParamRequest.AsObject;
122
+ static serializeBinaryToWriter(message: SubscribeFloatParamRequest, writer: jspb.BinaryWriter): void;
123
+ static deserializeBinary(bytes: Uint8Array): SubscribeFloatParamRequest;
124
+ static deserializeBinaryFromReader(message: SubscribeFloatParamRequest, reader: jspb.BinaryReader): SubscribeFloatParamRequest;
125
+ }
126
+
127
+ export namespace SubscribeFloatParamRequest {
128
+ export type AsObject = {
129
+ }
130
+ }
131
+
132
+ export class FloatParamResponse extends jspb.Message {
133
+ getParamUpdate(): FloatParamUpdate | undefined;
134
+ setParamUpdate(value?: FloatParamUpdate): FloatParamResponse;
135
+ hasParamUpdate(): boolean;
136
+ clearParamUpdate(): FloatParamResponse;
137
+
138
+ serializeBinary(): Uint8Array;
139
+ toObject(includeInstance?: boolean): FloatParamResponse.AsObject;
140
+ static toObject(includeInstance: boolean, msg: FloatParamResponse): FloatParamResponse.AsObject;
141
+ static serializeBinaryToWriter(message: FloatParamResponse, writer: jspb.BinaryWriter): void;
142
+ static deserializeBinary(bytes: Uint8Array): FloatParamResponse;
143
+ static deserializeBinaryFromReader(message: FloatParamResponse, reader: jspb.BinaryReader): FloatParamResponse;
144
+ }
145
+
146
+ export namespace FloatParamResponse {
147
+ export type AsObject = {
148
+ paramUpdate?: FloatParamUpdate.AsObject,
149
+ }
150
+ }
151
+
152
+ export class ComponentInformationResult extends jspb.Message {
153
+ getResult(): ComponentInformationResult.Result;
154
+ setResult(value: ComponentInformationResult.Result): ComponentInformationResult;
155
+
156
+ getResultStr(): string;
157
+ setResultStr(value: string): ComponentInformationResult;
158
+
159
+ serializeBinary(): Uint8Array;
160
+ toObject(includeInstance?: boolean): ComponentInformationResult.AsObject;
161
+ static toObject(includeInstance: boolean, msg: ComponentInformationResult): ComponentInformationResult.AsObject;
162
+ static serializeBinaryToWriter(message: ComponentInformationResult, writer: jspb.BinaryWriter): void;
163
+ static deserializeBinary(bytes: Uint8Array): ComponentInformationResult;
164
+ static deserializeBinaryFromReader(message: ComponentInformationResult, reader: jspb.BinaryReader): ComponentInformationResult;
165
+ }
166
+
167
+ export namespace ComponentInformationResult {
168
+ export type AsObject = {
169
+ result: ComponentInformationResult.Result,
170
+ resultStr: string,
171
+ }
172
+
173
+ export enum Result {
174
+ RESULT_UNKNOWN = 0,
175
+ RESULT_SUCCESS = 1,
176
+ RESULT_NO_SYSTEM = 3,
177
+ }
178
+ }
179
+