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.
- package/README.md +24 -0
- package/action/ActionServiceClientPb.ts +985 -0
- package/action/action_pb.d.ts +875 -0
- package/action/action_pb.js +7317 -0
- package/action_server/Action_serverServiceClientPb.ts +408 -0
- package/action_server/action_server_pb.d.ts +571 -0
- package/action_server/action_server_pb.js +4624 -0
- package/calibration/CalibrationServiceClientPb.ts +192 -0
- package/calibration/calibration_pb.d.ts +306 -0
- package/calibration/calibration_pb.js +2501 -0
- package/camera/CameraServiceClientPb.ts +838 -0
- package/camera/camera_pb.d.ts +1260 -0
- package/camera/camera_pb.js +10338 -0
- package/camera_server/Camera_serverServiceClientPb.ts +818 -0
- package/camera_server/camera_server_pb.d.ts +1180 -0
- package/camera_server/camera_server_pb.js +9586 -0
- package/component_information/Component_informationServiceClientPb.ts +104 -0
- package/component_information/component_information_pb.d.ts +179 -0
- package/component_information/component_information_pb.js +1445 -0
- package/component_information_server/Component_information_serverServiceClientPb.ts +104 -0
- package/component_information_server/component_information_server_pb.d.ts +183 -0
- package/component_information_server/component_information_server_pb.js +1439 -0
- package/core/CoreServiceClientPb.ts +104 -0
- package/core/core_pb.d.ts +88 -0
- package/core/core_pb.js +748 -0
- package/failure/FailureServiceClientPb.ts +82 -0
- package/failure/failure_pb.d.ts +111 -0
- package/failure/failure_pb.js +646 -0
- package/follow_me/Follow_meServiceClientPb.ts +340 -0
- package/follow_me/follow_me_pb.d.ts +369 -0
- package/follow_me/follow_me_pb.js +2990 -0
- package/ftp/FtpServiceClientPb.ts +384 -0
- package/ftp/ftp_pb.d.ts +449 -0
- package/ftp/ftp_pb.js +3674 -0
- package/ftp_server/Ftp_serverServiceClientPb.ts +82 -0
- package/ftp_server/ftp_server_pb.d.ts +72 -0
- package/ftp_server/ftp_server_pb.js +545 -0
- package/geofence/GeofenceServiceClientPb.ts +125 -0
- package/geofence/geofence_pb.d.ts +216 -0
- package/geofence/geofence_pb.js +1737 -0
- package/gimbal/GimbalServiceClientPb.ts +362 -0
- package/gimbal/gimbal_pb.d.ts +398 -0
- package/gimbal/gimbal_pb.js +3233 -0
- package/gripper/GripperServiceClientPb.ts +125 -0
- package/gripper/gripper_pb.d.ts +116 -0
- package/gripper/gripper_pb.js +880 -0
- package/info/InfoServiceClientPb.ts +254 -0
- package/info/info_pb.d.ts +377 -0
- package/info/info_pb.js +3035 -0
- package/log_files/Log_filesServiceClientPb.ts +147 -0
- package/log_files/log_files_pb.d.ts +206 -0
- package/log_files/log_files_pb.js +1667 -0
- package/manual_control/Manual_controlServiceClientPb.ts +168 -0
- package/manual_control/manual_control_pb.d.ts +157 -0
- package/manual_control/manual_control_pb.js +1232 -0
- package/mavsdk_options_pb.d.ts +10 -0
- package/mavsdk_options_pb.js +141 -0
- package/mission/MissionServiceClientPb.ts +578 -0
- package/mission/mission_pb.d.ts +749 -0
- package/mission/mission_pb.js +6095 -0
- package/mission_raw/Mission_rawServiceClientPb.ts +599 -0
- package/mission_raw/mission_raw_pb.d.ts +691 -0
- package/mission_raw/mission_raw_pb.js +5766 -0
- package/mission_raw_server/Mission_raw_serverServiceClientPb.ts +148 -0
- package/mission_raw_server/mission_raw_server_pb.d.ts +285 -0
- package/mission_raw_server/mission_raw_server_pb.js +2269 -0
- package/mocap/MocapServiceClientPb.ts +168 -0
- package/mocap/mocap_pb.d.ts +445 -0
- package/mocap/mocap_pb.js +3637 -0
- package/offboard/OffboardServiceClientPb.ts +598 -0
- package/offboard/offboard_pb.d.ts +813 -0
- package/offboard/offboard_pb.js +6771 -0
- package/package.json +15 -0
- package/param/ParamServiceClientPb.ts +383 -0
- package/param/param_pb.d.ts +469 -0
- package/param/param_pb.js +3849 -0
- package/param_server/Param_serverServiceClientPb.ts +406 -0
- package/param_server/param_server_pb.d.ts +523 -0
- package/param_server/param_server_pb.js +4371 -0
- package/rtk/RtkServiceClientPb.ts +82 -0
- package/rtk/rtk_pb.d.ts +93 -0
- package/rtk/rtk_pb.js +719 -0
- package/server_utility/Server_utilityServiceClientPb.ts +82 -0
- package/server_utility/server_utility_pb.d.ts +87 -0
- package/server_utility/server_utility_pb.js +591 -0
- package/shell/ShellServiceClientPb.ts +104 -0
- package/shell/shell_pb.d.ts +106 -0
- package/shell/shell_pb.js +822 -0
- package/telemetry/TelemetryServiceClientPb.ts +1862 -0
- package/telemetry/telemetry_pb.d.ts +3201 -0
- package/telemetry/telemetry_pb.js +26682 -0
- package/telemetry_server/Telemetry_serverServiceClientPb.ts +684 -0
- package/telemetry_server/telemetry_server_pb.d.ts +1562 -0
- package/telemetry_server/telemetry_server_pb.js +12735 -0
- package/tracking_server/Tracking_serverServiceClientPb.ts +363 -0
- package/tracking_server/tracking_server_pb.d.ts +407 -0
- package/tracking_server/tracking_server_pb.js +3366 -0
- package/transponder/TransponderServiceClientPb.ts +104 -0
- package/transponder/transponder_pb.d.ts +196 -0
- package/transponder/transponder_pb.js +1360 -0
- package/tsconfig.json +9 -0
- package/tune/TuneServiceClientPb.ts +82 -0
- package/tune/tune_pb.d.ts +122 -0
- package/tune/tune_pb.js +804 -0
- package/winch/WinchServiceClientPb.ts +491 -0
- package/winch/winch_pb.d.ts +593 -0
- package/winch/winch_pb.js +4801 -0
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview gRPC-Web generated client stub for mavsdk.rpc.component_information_server
|
|
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_server_component_information_server_pb from '../component_information_server/component_information_server_pb';
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
export class ComponentInformationServerServiceClient {
|
|
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
|
+
methodDescriptorProvideFloatParam = new grpcWeb.MethodDescriptor(
|
|
39
|
+
'/mavsdk.rpc.component_information_server.ComponentInformationServerService/ProvideFloatParam',
|
|
40
|
+
grpcWeb.MethodType.UNARY,
|
|
41
|
+
component_information_server_component_information_server_pb.ProvideFloatParamRequest,
|
|
42
|
+
component_information_server_component_information_server_pb.ProvideFloatParamResponse,
|
|
43
|
+
(request: component_information_server_component_information_server_pb.ProvideFloatParamRequest) => {
|
|
44
|
+
return request.serializeBinary();
|
|
45
|
+
},
|
|
46
|
+
component_information_server_component_information_server_pb.ProvideFloatParamResponse.deserializeBinary
|
|
47
|
+
);
|
|
48
|
+
|
|
49
|
+
provideFloatParam(
|
|
50
|
+
request: component_information_server_component_information_server_pb.ProvideFloatParamRequest,
|
|
51
|
+
metadata: grpcWeb.Metadata | null): Promise<component_information_server_component_information_server_pb.ProvideFloatParamResponse>;
|
|
52
|
+
|
|
53
|
+
provideFloatParam(
|
|
54
|
+
request: component_information_server_component_information_server_pb.ProvideFloatParamRequest,
|
|
55
|
+
metadata: grpcWeb.Metadata | null,
|
|
56
|
+
callback: (err: grpcWeb.RpcError,
|
|
57
|
+
response: component_information_server_component_information_server_pb.ProvideFloatParamResponse) => void): grpcWeb.ClientReadableStream<component_information_server_component_information_server_pb.ProvideFloatParamResponse>;
|
|
58
|
+
|
|
59
|
+
provideFloatParam(
|
|
60
|
+
request: component_information_server_component_information_server_pb.ProvideFloatParamRequest,
|
|
61
|
+
metadata: grpcWeb.Metadata | null,
|
|
62
|
+
callback?: (err: grpcWeb.RpcError,
|
|
63
|
+
response: component_information_server_component_information_server_pb.ProvideFloatParamResponse) => void) {
|
|
64
|
+
if (callback !== undefined) {
|
|
65
|
+
return this.client_.rpcCall(
|
|
66
|
+
this.hostname_ +
|
|
67
|
+
'/mavsdk.rpc.component_information_server.ComponentInformationServerService/ProvideFloatParam',
|
|
68
|
+
request,
|
|
69
|
+
metadata || {},
|
|
70
|
+
this.methodDescriptorProvideFloatParam,
|
|
71
|
+
callback);
|
|
72
|
+
}
|
|
73
|
+
return this.client_.unaryCall(
|
|
74
|
+
this.hostname_ +
|
|
75
|
+
'/mavsdk.rpc.component_information_server.ComponentInformationServerService/ProvideFloatParam',
|
|
76
|
+
request,
|
|
77
|
+
metadata || {},
|
|
78
|
+
this.methodDescriptorProvideFloatParam);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
methodDescriptorSubscribeFloatParam = new grpcWeb.MethodDescriptor(
|
|
82
|
+
'/mavsdk.rpc.component_information_server.ComponentInformationServerService/SubscribeFloatParam',
|
|
83
|
+
grpcWeb.MethodType.SERVER_STREAMING,
|
|
84
|
+
component_information_server_component_information_server_pb.SubscribeFloatParamRequest,
|
|
85
|
+
component_information_server_component_information_server_pb.FloatParamResponse,
|
|
86
|
+
(request: component_information_server_component_information_server_pb.SubscribeFloatParamRequest) => {
|
|
87
|
+
return request.serializeBinary();
|
|
88
|
+
},
|
|
89
|
+
component_information_server_component_information_server_pb.FloatParamResponse.deserializeBinary
|
|
90
|
+
);
|
|
91
|
+
|
|
92
|
+
subscribeFloatParam(
|
|
93
|
+
request: component_information_server_component_information_server_pb.SubscribeFloatParamRequest,
|
|
94
|
+
metadata?: grpcWeb.Metadata): grpcWeb.ClientReadableStream<component_information_server_component_information_server_pb.FloatParamResponse> {
|
|
95
|
+
return this.client_.serverStreaming(
|
|
96
|
+
this.hostname_ +
|
|
97
|
+
'/mavsdk.rpc.component_information_server.ComponentInformationServerService/SubscribeFloatParam',
|
|
98
|
+
request,
|
|
99
|
+
metadata || {},
|
|
100
|
+
this.methodDescriptorSubscribeFloatParam);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
}
|
|
104
|
+
|
|
@@ -0,0 +1,183 @@
|
|
|
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 ProvideFloatParamRequest extends jspb.Message {
|
|
57
|
+
getParam(): FloatParam | undefined;
|
|
58
|
+
setParam(value?: FloatParam): ProvideFloatParamRequest;
|
|
59
|
+
hasParam(): boolean;
|
|
60
|
+
clearParam(): ProvideFloatParamRequest;
|
|
61
|
+
|
|
62
|
+
serializeBinary(): Uint8Array;
|
|
63
|
+
toObject(includeInstance?: boolean): ProvideFloatParamRequest.AsObject;
|
|
64
|
+
static toObject(includeInstance: boolean, msg: ProvideFloatParamRequest): ProvideFloatParamRequest.AsObject;
|
|
65
|
+
static serializeBinaryToWriter(message: ProvideFloatParamRequest, writer: jspb.BinaryWriter): void;
|
|
66
|
+
static deserializeBinary(bytes: Uint8Array): ProvideFloatParamRequest;
|
|
67
|
+
static deserializeBinaryFromReader(message: ProvideFloatParamRequest, reader: jspb.BinaryReader): ProvideFloatParamRequest;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export namespace ProvideFloatParamRequest {
|
|
71
|
+
export type AsObject = {
|
|
72
|
+
param?: FloatParam.AsObject,
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export class ProvideFloatParamResponse extends jspb.Message {
|
|
77
|
+
getComponentInformationServerResult(): ComponentInformationServerResult | undefined;
|
|
78
|
+
setComponentInformationServerResult(value?: ComponentInformationServerResult): ProvideFloatParamResponse;
|
|
79
|
+
hasComponentInformationServerResult(): boolean;
|
|
80
|
+
clearComponentInformationServerResult(): ProvideFloatParamResponse;
|
|
81
|
+
|
|
82
|
+
serializeBinary(): Uint8Array;
|
|
83
|
+
toObject(includeInstance?: boolean): ProvideFloatParamResponse.AsObject;
|
|
84
|
+
static toObject(includeInstance: boolean, msg: ProvideFloatParamResponse): ProvideFloatParamResponse.AsObject;
|
|
85
|
+
static serializeBinaryToWriter(message: ProvideFloatParamResponse, writer: jspb.BinaryWriter): void;
|
|
86
|
+
static deserializeBinary(bytes: Uint8Array): ProvideFloatParamResponse;
|
|
87
|
+
static deserializeBinaryFromReader(message: ProvideFloatParamResponse, reader: jspb.BinaryReader): ProvideFloatParamResponse;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export namespace ProvideFloatParamResponse {
|
|
91
|
+
export type AsObject = {
|
|
92
|
+
componentInformationServerResult?: ComponentInformationServerResult.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 ComponentInformationServerResult extends jspb.Message {
|
|
153
|
+
getResult(): ComponentInformationServerResult.Result;
|
|
154
|
+
setResult(value: ComponentInformationServerResult.Result): ComponentInformationServerResult;
|
|
155
|
+
|
|
156
|
+
getResultStr(): string;
|
|
157
|
+
setResultStr(value: string): ComponentInformationServerResult;
|
|
158
|
+
|
|
159
|
+
serializeBinary(): Uint8Array;
|
|
160
|
+
toObject(includeInstance?: boolean): ComponentInformationServerResult.AsObject;
|
|
161
|
+
static toObject(includeInstance: boolean, msg: ComponentInformationServerResult): ComponentInformationServerResult.AsObject;
|
|
162
|
+
static serializeBinaryToWriter(message: ComponentInformationServerResult, writer: jspb.BinaryWriter): void;
|
|
163
|
+
static deserializeBinary(bytes: Uint8Array): ComponentInformationServerResult;
|
|
164
|
+
static deserializeBinaryFromReader(message: ComponentInformationServerResult, reader: jspb.BinaryReader): ComponentInformationServerResult;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
export namespace ComponentInformationServerResult {
|
|
168
|
+
export type AsObject = {
|
|
169
|
+
result: ComponentInformationServerResult.Result,
|
|
170
|
+
resultStr: string,
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
export enum Result {
|
|
174
|
+
RESULT_UNKNOWN = 0,
|
|
175
|
+
RESULT_SUCCESS = 1,
|
|
176
|
+
RESULT_DUPLICATE_PARAM = 2,
|
|
177
|
+
RESULT_INVALID_PARAM_START_VALUE = 3,
|
|
178
|
+
RESULT_INVALID_PARAM_DEFAULT_VALUE = 4,
|
|
179
|
+
RESULT_INVALID_PARAM_NAME = 5,
|
|
180
|
+
RESULT_NO_SYSTEM = 6,
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
|