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.server_utility
|
|
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 server_utility_server_utility_pb from '../server_utility/server_utility_pb';
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
export class ServerUtilityServiceClient {
|
|
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
|
+
methodDescriptorSendStatusText = new grpcWeb.MethodDescriptor(
|
|
39
|
+
'/mavsdk.rpc.server_utility.ServerUtilityService/SendStatusText',
|
|
40
|
+
grpcWeb.MethodType.UNARY,
|
|
41
|
+
server_utility_server_utility_pb.SendStatusTextRequest,
|
|
42
|
+
server_utility_server_utility_pb.SendStatusTextResponse,
|
|
43
|
+
(request: server_utility_server_utility_pb.SendStatusTextRequest) => {
|
|
44
|
+
return request.serializeBinary();
|
|
45
|
+
},
|
|
46
|
+
server_utility_server_utility_pb.SendStatusTextResponse.deserializeBinary
|
|
47
|
+
);
|
|
48
|
+
|
|
49
|
+
sendStatusText(
|
|
50
|
+
request: server_utility_server_utility_pb.SendStatusTextRequest,
|
|
51
|
+
metadata: grpcWeb.Metadata | null): Promise<server_utility_server_utility_pb.SendStatusTextResponse>;
|
|
52
|
+
|
|
53
|
+
sendStatusText(
|
|
54
|
+
request: server_utility_server_utility_pb.SendStatusTextRequest,
|
|
55
|
+
metadata: grpcWeb.Metadata | null,
|
|
56
|
+
callback: (err: grpcWeb.RpcError,
|
|
57
|
+
response: server_utility_server_utility_pb.SendStatusTextResponse) => void): grpcWeb.ClientReadableStream<server_utility_server_utility_pb.SendStatusTextResponse>;
|
|
58
|
+
|
|
59
|
+
sendStatusText(
|
|
60
|
+
request: server_utility_server_utility_pb.SendStatusTextRequest,
|
|
61
|
+
metadata: grpcWeb.Metadata | null,
|
|
62
|
+
callback?: (err: grpcWeb.RpcError,
|
|
63
|
+
response: server_utility_server_utility_pb.SendStatusTextResponse) => void) {
|
|
64
|
+
if (callback !== undefined) {
|
|
65
|
+
return this.client_.rpcCall(
|
|
66
|
+
this.hostname_ +
|
|
67
|
+
'/mavsdk.rpc.server_utility.ServerUtilityService/SendStatusText',
|
|
68
|
+
request,
|
|
69
|
+
metadata || {},
|
|
70
|
+
this.methodDescriptorSendStatusText,
|
|
71
|
+
callback);
|
|
72
|
+
}
|
|
73
|
+
return this.client_.unaryCall(
|
|
74
|
+
this.hostname_ +
|
|
75
|
+
'/mavsdk.rpc.server_utility.ServerUtilityService/SendStatusText',
|
|
76
|
+
request,
|
|
77
|
+
metadata || {},
|
|
78
|
+
this.methodDescriptorSendStatusText);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
}
|
|
82
|
+
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import * as jspb from 'google-protobuf'
|
|
2
|
+
|
|
3
|
+
import * as mavsdk_options_pb from '../mavsdk_options_pb';
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class SendStatusTextRequest extends jspb.Message {
|
|
7
|
+
getType(): StatusTextType;
|
|
8
|
+
setType(value: StatusTextType): SendStatusTextRequest;
|
|
9
|
+
|
|
10
|
+
getText(): string;
|
|
11
|
+
setText(value: string): SendStatusTextRequest;
|
|
12
|
+
|
|
13
|
+
serializeBinary(): Uint8Array;
|
|
14
|
+
toObject(includeInstance?: boolean): SendStatusTextRequest.AsObject;
|
|
15
|
+
static toObject(includeInstance: boolean, msg: SendStatusTextRequest): SendStatusTextRequest.AsObject;
|
|
16
|
+
static serializeBinaryToWriter(message: SendStatusTextRequest, writer: jspb.BinaryWriter): void;
|
|
17
|
+
static deserializeBinary(bytes: Uint8Array): SendStatusTextRequest;
|
|
18
|
+
static deserializeBinaryFromReader(message: SendStatusTextRequest, reader: jspb.BinaryReader): SendStatusTextRequest;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export namespace SendStatusTextRequest {
|
|
22
|
+
export type AsObject = {
|
|
23
|
+
type: StatusTextType,
|
|
24
|
+
text: string,
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export class SendStatusTextResponse extends jspb.Message {
|
|
29
|
+
getServerUtilityResult(): ServerUtilityResult | undefined;
|
|
30
|
+
setServerUtilityResult(value?: ServerUtilityResult): SendStatusTextResponse;
|
|
31
|
+
hasServerUtilityResult(): boolean;
|
|
32
|
+
clearServerUtilityResult(): SendStatusTextResponse;
|
|
33
|
+
|
|
34
|
+
serializeBinary(): Uint8Array;
|
|
35
|
+
toObject(includeInstance?: boolean): SendStatusTextResponse.AsObject;
|
|
36
|
+
static toObject(includeInstance: boolean, msg: SendStatusTextResponse): SendStatusTextResponse.AsObject;
|
|
37
|
+
static serializeBinaryToWriter(message: SendStatusTextResponse, writer: jspb.BinaryWriter): void;
|
|
38
|
+
static deserializeBinary(bytes: Uint8Array): SendStatusTextResponse;
|
|
39
|
+
static deserializeBinaryFromReader(message: SendStatusTextResponse, reader: jspb.BinaryReader): SendStatusTextResponse;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export namespace SendStatusTextResponse {
|
|
43
|
+
export type AsObject = {
|
|
44
|
+
serverUtilityResult?: ServerUtilityResult.AsObject,
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export class ServerUtilityResult extends jspb.Message {
|
|
49
|
+
getResult(): ServerUtilityResult.Result;
|
|
50
|
+
setResult(value: ServerUtilityResult.Result): ServerUtilityResult;
|
|
51
|
+
|
|
52
|
+
getResultStr(): string;
|
|
53
|
+
setResultStr(value: string): ServerUtilityResult;
|
|
54
|
+
|
|
55
|
+
serializeBinary(): Uint8Array;
|
|
56
|
+
toObject(includeInstance?: boolean): ServerUtilityResult.AsObject;
|
|
57
|
+
static toObject(includeInstance: boolean, msg: ServerUtilityResult): ServerUtilityResult.AsObject;
|
|
58
|
+
static serializeBinaryToWriter(message: ServerUtilityResult, writer: jspb.BinaryWriter): void;
|
|
59
|
+
static deserializeBinary(bytes: Uint8Array): ServerUtilityResult;
|
|
60
|
+
static deserializeBinaryFromReader(message: ServerUtilityResult, reader: jspb.BinaryReader): ServerUtilityResult;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export namespace ServerUtilityResult {
|
|
64
|
+
export type AsObject = {
|
|
65
|
+
result: ServerUtilityResult.Result,
|
|
66
|
+
resultStr: string,
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export enum Result {
|
|
70
|
+
RESULT_UNKNOWN = 0,
|
|
71
|
+
RESULT_SUCCESS = 1,
|
|
72
|
+
RESULT_NO_SYSTEM = 2,
|
|
73
|
+
RESULT_CONNECTION_ERROR = 3,
|
|
74
|
+
RESULT_INVALID_ARGUMENT = 4,
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export enum StatusTextType {
|
|
79
|
+
STATUS_TEXT_TYPE_DEBUG = 0,
|
|
80
|
+
STATUS_TEXT_TYPE_INFO = 1,
|
|
81
|
+
STATUS_TEXT_TYPE_NOTICE = 2,
|
|
82
|
+
STATUS_TEXT_TYPE_WARNING = 3,
|
|
83
|
+
STATUS_TEXT_TYPE_ERROR = 4,
|
|
84
|
+
STATUS_TEXT_TYPE_CRITICAL = 5,
|
|
85
|
+
STATUS_TEXT_TYPE_ALERT = 6,
|
|
86
|
+
STATUS_TEXT_TYPE_EMERGENCY = 7,
|
|
87
|
+
}
|