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,82 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview gRPC-Web generated client stub for mavsdk.rpc.rtk
|
|
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 rtk_rtk_pb from '../rtk/rtk_pb';
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
export class RtkServiceClient {
|
|
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
|
+
methodDescriptorSendRtcmData = new grpcWeb.MethodDescriptor(
|
|
39
|
+
'/mavsdk.rpc.rtk.RtkService/SendRtcmData',
|
|
40
|
+
grpcWeb.MethodType.UNARY,
|
|
41
|
+
rtk_rtk_pb.SendRtcmDataRequest,
|
|
42
|
+
rtk_rtk_pb.SendRtcmDataResponse,
|
|
43
|
+
(request: rtk_rtk_pb.SendRtcmDataRequest) => {
|
|
44
|
+
return request.serializeBinary();
|
|
45
|
+
},
|
|
46
|
+
rtk_rtk_pb.SendRtcmDataResponse.deserializeBinary
|
|
47
|
+
);
|
|
48
|
+
|
|
49
|
+
sendRtcmData(
|
|
50
|
+
request: rtk_rtk_pb.SendRtcmDataRequest,
|
|
51
|
+
metadata: grpcWeb.Metadata | null): Promise<rtk_rtk_pb.SendRtcmDataResponse>;
|
|
52
|
+
|
|
53
|
+
sendRtcmData(
|
|
54
|
+
request: rtk_rtk_pb.SendRtcmDataRequest,
|
|
55
|
+
metadata: grpcWeb.Metadata | null,
|
|
56
|
+
callback: (err: grpcWeb.RpcError,
|
|
57
|
+
response: rtk_rtk_pb.SendRtcmDataResponse) => void): grpcWeb.ClientReadableStream<rtk_rtk_pb.SendRtcmDataResponse>;
|
|
58
|
+
|
|
59
|
+
sendRtcmData(
|
|
60
|
+
request: rtk_rtk_pb.SendRtcmDataRequest,
|
|
61
|
+
metadata: grpcWeb.Metadata | null,
|
|
62
|
+
callback?: (err: grpcWeb.RpcError,
|
|
63
|
+
response: rtk_rtk_pb.SendRtcmDataResponse) => void) {
|
|
64
|
+
if (callback !== undefined) {
|
|
65
|
+
return this.client_.rpcCall(
|
|
66
|
+
this.hostname_ +
|
|
67
|
+
'/mavsdk.rpc.rtk.RtkService/SendRtcmData',
|
|
68
|
+
request,
|
|
69
|
+
metadata || {},
|
|
70
|
+
this.methodDescriptorSendRtcmData,
|
|
71
|
+
callback);
|
|
72
|
+
}
|
|
73
|
+
return this.client_.unaryCall(
|
|
74
|
+
this.hostname_ +
|
|
75
|
+
'/mavsdk.rpc.rtk.RtkService/SendRtcmData',
|
|
76
|
+
request,
|
|
77
|
+
metadata || {},
|
|
78
|
+
this.methodDescriptorSendRtcmData);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
}
|
|
82
|
+
|
package/rtk/rtk_pb.d.ts
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import * as jspb from 'google-protobuf'
|
|
2
|
+
|
|
3
|
+
import * as mavsdk_options_pb from '../mavsdk_options_pb';
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class RtcmData extends jspb.Message {
|
|
7
|
+
getData(): string;
|
|
8
|
+
setData(value: string): RtcmData;
|
|
9
|
+
|
|
10
|
+
serializeBinary(): Uint8Array;
|
|
11
|
+
toObject(includeInstance?: boolean): RtcmData.AsObject;
|
|
12
|
+
static toObject(includeInstance: boolean, msg: RtcmData): RtcmData.AsObject;
|
|
13
|
+
static serializeBinaryToWriter(message: RtcmData, writer: jspb.BinaryWriter): void;
|
|
14
|
+
static deserializeBinary(bytes: Uint8Array): RtcmData;
|
|
15
|
+
static deserializeBinaryFromReader(message: RtcmData, reader: jspb.BinaryReader): RtcmData;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export namespace RtcmData {
|
|
19
|
+
export type AsObject = {
|
|
20
|
+
data: string,
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export class SendRtcmDataRequest extends jspb.Message {
|
|
25
|
+
getRtcmData(): RtcmData | undefined;
|
|
26
|
+
setRtcmData(value?: RtcmData): SendRtcmDataRequest;
|
|
27
|
+
hasRtcmData(): boolean;
|
|
28
|
+
clearRtcmData(): SendRtcmDataRequest;
|
|
29
|
+
|
|
30
|
+
serializeBinary(): Uint8Array;
|
|
31
|
+
toObject(includeInstance?: boolean): SendRtcmDataRequest.AsObject;
|
|
32
|
+
static toObject(includeInstance: boolean, msg: SendRtcmDataRequest): SendRtcmDataRequest.AsObject;
|
|
33
|
+
static serializeBinaryToWriter(message: SendRtcmDataRequest, writer: jspb.BinaryWriter): void;
|
|
34
|
+
static deserializeBinary(bytes: Uint8Array): SendRtcmDataRequest;
|
|
35
|
+
static deserializeBinaryFromReader(message: SendRtcmDataRequest, reader: jspb.BinaryReader): SendRtcmDataRequest;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export namespace SendRtcmDataRequest {
|
|
39
|
+
export type AsObject = {
|
|
40
|
+
rtcmData?: RtcmData.AsObject,
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export class SendRtcmDataResponse extends jspb.Message {
|
|
45
|
+
getRtkResult(): RtkResult | undefined;
|
|
46
|
+
setRtkResult(value?: RtkResult): SendRtcmDataResponse;
|
|
47
|
+
hasRtkResult(): boolean;
|
|
48
|
+
clearRtkResult(): SendRtcmDataResponse;
|
|
49
|
+
|
|
50
|
+
serializeBinary(): Uint8Array;
|
|
51
|
+
toObject(includeInstance?: boolean): SendRtcmDataResponse.AsObject;
|
|
52
|
+
static toObject(includeInstance: boolean, msg: SendRtcmDataResponse): SendRtcmDataResponse.AsObject;
|
|
53
|
+
static serializeBinaryToWriter(message: SendRtcmDataResponse, writer: jspb.BinaryWriter): void;
|
|
54
|
+
static deserializeBinary(bytes: Uint8Array): SendRtcmDataResponse;
|
|
55
|
+
static deserializeBinaryFromReader(message: SendRtcmDataResponse, reader: jspb.BinaryReader): SendRtcmDataResponse;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export namespace SendRtcmDataResponse {
|
|
59
|
+
export type AsObject = {
|
|
60
|
+
rtkResult?: RtkResult.AsObject,
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export class RtkResult extends jspb.Message {
|
|
65
|
+
getResult(): RtkResult.Result;
|
|
66
|
+
setResult(value: RtkResult.Result): RtkResult;
|
|
67
|
+
|
|
68
|
+
getResultStr(): string;
|
|
69
|
+
setResultStr(value: string): RtkResult;
|
|
70
|
+
|
|
71
|
+
serializeBinary(): Uint8Array;
|
|
72
|
+
toObject(includeInstance?: boolean): RtkResult.AsObject;
|
|
73
|
+
static toObject(includeInstance: boolean, msg: RtkResult): RtkResult.AsObject;
|
|
74
|
+
static serializeBinaryToWriter(message: RtkResult, writer: jspb.BinaryWriter): void;
|
|
75
|
+
static deserializeBinary(bytes: Uint8Array): RtkResult;
|
|
76
|
+
static deserializeBinaryFromReader(message: RtkResult, reader: jspb.BinaryReader): RtkResult;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export namespace RtkResult {
|
|
80
|
+
export type AsObject = {
|
|
81
|
+
result: RtkResult.Result,
|
|
82
|
+
resultStr: string,
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export enum Result {
|
|
86
|
+
RESULT_UNKNOWN = 0,
|
|
87
|
+
RESULT_SUCCESS = 1,
|
|
88
|
+
RESULT_TOO_LONG = 2,
|
|
89
|
+
RESULT_NO_SYSTEM = 5,
|
|
90
|
+
RESULT_CONNECTION_ERROR = 6,
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|