mavsdk-types 1.0.0 → 2.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 +4 -12
- package/action/ActionServiceClientPb.ts +51 -47
- package/action/action_pb.d.ts +1 -1
- package/action/action_pb.js +1 -10
- package/action_server/Action_serverServiceClientPb.ts +17 -13
- package/action_server/action_server_pb.d.ts +1 -1
- package/action_server/action_server_pb.js +1 -10
- package/calibration/CalibrationServiceClientPb.ts +9 -5
- package/calibration/calibration_pb.d.ts +1 -1
- package/calibration/calibration_pb.js +1 -10
- package/camera/CameraServiceClientPb.ts +37 -33
- package/camera/camera_pb.d.ts +1 -1
- package/camera/camera_pb.js +1 -10
- package/camera_server/Camera_serverServiceClientPb.ts +33 -29
- package/camera_server/camera_server_pb.d.ts +1 -1
- package/camera_server/camera_server_pb.js +1 -10
- package/component_information/Component_informationServiceClientPb.ts +9 -5
- package/component_information/component_information_pb.d.ts +1 -1
- package/component_information/component_information_pb.js +1 -10
- package/component_information_server/Component_information_serverServiceClientPb.ts +9 -5
- package/component_information_server/component_information_server_pb.d.ts +1 -1
- package/component_information_server/component_information_server_pb.js +1 -10
- package/core/CoreServiceClientPb.ts +9 -5
- package/core/core_pb.js +1 -10
- package/failure/FailureServiceClientPb.ts +9 -5
- package/failure/failure_pb.d.ts +1 -1
- package/failure/failure_pb.js +1 -10
- package/follow_me/Follow_meServiceClientPb.ts +21 -17
- package/follow_me/follow_me_pb.d.ts +1 -1
- package/follow_me/follow_me_pb.js +1 -10
- package/ftp/FtpServiceClientPb.ts +21 -17
- package/ftp/ftp_pb.d.ts +1 -1
- package/ftp/ftp_pb.js +1 -10
- package/ftp_server/Ftp_serverServiceClientPb.ts +9 -5
- package/ftp_server/ftp_server_pb.d.ts +1 -1
- package/ftp_server/ftp_server_pb.js +1 -10
- package/geofence/GeofenceServiceClientPb.ts +11 -7
- package/geofence/geofence_pb.d.ts +1 -1
- package/geofence/geofence_pb.js +1 -10
- package/gimbal/GimbalServiceClientPb.ts +21 -17
- package/gimbal/gimbal_pb.js +1 -10
- package/gripper/GripperServiceClientPb.ts +11 -7
- package/gripper/gripper_pb.js +1 -10
- package/info/InfoServiceClientPb.ts +17 -13
- package/info/info_pb.d.ts +1 -1
- package/info/info_pb.js +1 -10
- package/log_files/Log_filesServiceClientPb.ts +11 -7
- package/log_files/log_files_pb.d.ts +1 -1
- package/log_files/log_files_pb.js +1 -10
- package/manual_control/Manual_controlServiceClientPb.ts +13 -9
- package/manual_control/manual_control_pb.d.ts +1 -1
- package/manual_control/manual_control_pb.js +1 -10
- package/mavsdk_options_pb.d.ts +1 -1
- package/mavsdk_options_pb.js +1 -10
- package/mission/MissionServiceClientPb.ts +29 -25
- package/mission/mission_pb.d.ts +1 -1
- package/mission/mission_pb.js +1 -10
- package/mission_raw/Mission_rawServiceClientPb.ts +31 -27
- package/mission_raw/mission_raw_pb.d.ts +1 -1
- package/mission_raw/mission_raw_pb.js +1 -10
- package/mission_raw_server/Mission_raw_serverServiceClientPb.ts +9 -5
- package/mission_raw_server/mission_raw_server_pb.d.ts +1 -1
- package/mission_raw_server/mission_raw_server_pb.js +1 -10
- package/mocap/MocapServiceClientPb.ts +13 -9
- package/mocap/mocap_pb.d.ts +1 -1
- package/mocap/mocap_pb.js +3 -14
- package/offboard/OffboardServiceClientPb.ts +33 -29
- package/offboard/offboard_pb.d.ts +1 -1
- package/offboard/offboard_pb.js +3 -14
- package/package.json +5 -7
- package/param/ParamServiceClientPb.ts +23 -19
- package/param/param_pb.d.ts +1 -1
- package/param/param_pb.js +1 -10
- package/param_server/Param_serverServiceClientPb.ts +21 -17
- package/param_server/param_server_pb.d.ts +1 -1
- package/param_server/param_server_pb.js +1 -10
- package/rtk/RtkServiceClientPb.ts +9 -5
- package/rtk/rtk_pb.d.ts +1 -1
- package/rtk/rtk_pb.js +1 -10
- package/server_utility/Server_utilityServiceClientPb.ts +9 -5
- package/server_utility/server_utility_pb.d.ts +1 -1
- package/server_utility/server_utility_pb.js +1 -10
- package/shell/ShellServiceClientPb.ts +9 -5
- package/shell/shell_pb.d.ts +1 -1
- package/shell/shell_pb.js +1 -10
- package/telemetry/TelemetryServiceClientPb.ts +57 -53
- package/telemetry/telemetry_pb.d.ts +1 -1
- package/telemetry/telemetry_pb.js +7 -22
- package/telemetry_server/Telemetry_serverServiceClientPb.ts +37 -33
- package/telemetry_server/telemetry_server_pb.d.ts +1 -1
- package/telemetry_server/telemetry_server_pb.js +7 -22
- package/tracking_server/Tracking_serverServiceClientPb.ts +19 -15
- package/tracking_server/tracking_server_pb.d.ts +1 -1
- package/tracking_server/tracking_server_pb.js +1 -10
- package/transponder/TransponderServiceClientPb.ts +9 -5
- package/transponder/transponder_pb.js +1 -10
- package/tune/TuneServiceClientPb.ts +9 -5
- package/tune/tune_pb.js +3 -14
- package/winch/WinchServiceClientPb.ts +27 -23
- package/winch/winch_pb.d.ts +1 -1
- package/winch/winch_pb.js +1 -10
package/ftp/ftp_pb.js
CHANGED
|
@@ -3,24 +3,15 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* @fileoverview
|
|
5
5
|
* @enhanceable
|
|
6
|
-
* @suppress {missingRequire} reports error on implicit type usages.
|
|
7
6
|
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
|
8
7
|
* field starts with 'MSG_' and isn't a translatable message.
|
|
9
8
|
* @public
|
|
10
9
|
*/
|
|
11
10
|
// GENERATED CODE -- DO NOT EDIT!
|
|
12
|
-
/* eslint-disable */
|
|
13
|
-
// @ts-nocheck
|
|
14
11
|
|
|
15
12
|
var jspb = require('google-protobuf');
|
|
16
13
|
var goog = jspb;
|
|
17
|
-
var global = (
|
|
18
|
-
if (this) { return this; }
|
|
19
|
-
if (typeof window !== 'undefined') { return window; }
|
|
20
|
-
if (typeof global !== 'undefined') { return global; }
|
|
21
|
-
if (typeof self !== 'undefined') { return self; }
|
|
22
|
-
return Function('return this')();
|
|
23
|
-
}.call(null));
|
|
14
|
+
var global = Function('return this')();
|
|
24
15
|
|
|
25
16
|
var mavsdk_options_pb = require('../mavsdk_options_pb.js');
|
|
26
17
|
goog.object.extend(proto, mavsdk_options_pb);
|
|
@@ -4,7 +4,11 @@
|
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
//
|
|
7
|
+
// Code generated by protoc-gen-grpc-web. DO NOT EDIT.
|
|
8
|
+
// versions:
|
|
9
|
+
// protoc-gen-grpc-web v1.5.0
|
|
10
|
+
// protoc v3.12.4
|
|
11
|
+
// source: ftp_server/ftp_server.proto
|
|
8
12
|
|
|
9
13
|
|
|
10
14
|
/* eslint-disable */
|
|
@@ -13,7 +17,7 @@
|
|
|
13
17
|
|
|
14
18
|
import * as grpcWeb from 'grpc-web';
|
|
15
19
|
|
|
16
|
-
import * as ftp_server_ftp_server_pb from '../ftp_server/ftp_server_pb';
|
|
20
|
+
import * as ftp_server_ftp_server_pb from '../ftp_server/ftp_server_pb'; // proto import: "ftp_server/ftp_server.proto"
|
|
17
21
|
|
|
18
22
|
|
|
19
23
|
export class FtpServerServiceClient {
|
|
@@ -30,7 +34,7 @@ export class FtpServerServiceClient {
|
|
|
30
34
|
options['format'] = 'text';
|
|
31
35
|
|
|
32
36
|
this.client_ = new grpcWeb.GrpcWebClientBase(options);
|
|
33
|
-
this.hostname_ = hostname;
|
|
37
|
+
this.hostname_ = hostname.replace(/\/+$/, '');
|
|
34
38
|
this.credentials_ = credentials;
|
|
35
39
|
this.options_ = options;
|
|
36
40
|
}
|
|
@@ -48,7 +52,7 @@ export class FtpServerServiceClient {
|
|
|
48
52
|
|
|
49
53
|
setRootDir(
|
|
50
54
|
request: ftp_server_ftp_server_pb.SetRootDirRequest,
|
|
51
|
-
metadata
|
|
55
|
+
metadata?: grpcWeb.Metadata | null): Promise<ftp_server_ftp_server_pb.SetRootDirResponse>;
|
|
52
56
|
|
|
53
57
|
setRootDir(
|
|
54
58
|
request: ftp_server_ftp_server_pb.SetRootDirRequest,
|
|
@@ -58,7 +62,7 @@ export class FtpServerServiceClient {
|
|
|
58
62
|
|
|
59
63
|
setRootDir(
|
|
60
64
|
request: ftp_server_ftp_server_pb.SetRootDirRequest,
|
|
61
|
-
metadata
|
|
65
|
+
metadata?: grpcWeb.Metadata | null,
|
|
62
66
|
callback?: (err: grpcWeb.RpcError,
|
|
63
67
|
response: ftp_server_ftp_server_pb.SetRootDirResponse) => void) {
|
|
64
68
|
if (callback !== undefined) {
|
|
@@ -3,24 +3,15 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* @fileoverview
|
|
5
5
|
* @enhanceable
|
|
6
|
-
* @suppress {missingRequire} reports error on implicit type usages.
|
|
7
6
|
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
|
8
7
|
* field starts with 'MSG_' and isn't a translatable message.
|
|
9
8
|
* @public
|
|
10
9
|
*/
|
|
11
10
|
// GENERATED CODE -- DO NOT EDIT!
|
|
12
|
-
/* eslint-disable */
|
|
13
|
-
// @ts-nocheck
|
|
14
11
|
|
|
15
12
|
var jspb = require('google-protobuf');
|
|
16
13
|
var goog = jspb;
|
|
17
|
-
var global = (
|
|
18
|
-
if (this) { return this; }
|
|
19
|
-
if (typeof window !== 'undefined') { return window; }
|
|
20
|
-
if (typeof global !== 'undefined') { return global; }
|
|
21
|
-
if (typeof self !== 'undefined') { return self; }
|
|
22
|
-
return Function('return this')();
|
|
23
|
-
}.call(null));
|
|
14
|
+
var global = Function('return this')();
|
|
24
15
|
|
|
25
16
|
var mavsdk_options_pb = require('../mavsdk_options_pb.js');
|
|
26
17
|
goog.object.extend(proto, mavsdk_options_pb);
|
|
@@ -4,7 +4,11 @@
|
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
//
|
|
7
|
+
// Code generated by protoc-gen-grpc-web. DO NOT EDIT.
|
|
8
|
+
// versions:
|
|
9
|
+
// protoc-gen-grpc-web v1.5.0
|
|
10
|
+
// protoc v3.12.4
|
|
11
|
+
// source: geofence/geofence.proto
|
|
8
12
|
|
|
9
13
|
|
|
10
14
|
/* eslint-disable */
|
|
@@ -13,7 +17,7 @@
|
|
|
13
17
|
|
|
14
18
|
import * as grpcWeb from 'grpc-web';
|
|
15
19
|
|
|
16
|
-
import * as geofence_geofence_pb from '../geofence/geofence_pb';
|
|
20
|
+
import * as geofence_geofence_pb from '../geofence/geofence_pb'; // proto import: "geofence/geofence.proto"
|
|
17
21
|
|
|
18
22
|
|
|
19
23
|
export class GeofenceServiceClient {
|
|
@@ -30,7 +34,7 @@ export class GeofenceServiceClient {
|
|
|
30
34
|
options['format'] = 'text';
|
|
31
35
|
|
|
32
36
|
this.client_ = new grpcWeb.GrpcWebClientBase(options);
|
|
33
|
-
this.hostname_ = hostname;
|
|
37
|
+
this.hostname_ = hostname.replace(/\/+$/, '');
|
|
34
38
|
this.credentials_ = credentials;
|
|
35
39
|
this.options_ = options;
|
|
36
40
|
}
|
|
@@ -48,7 +52,7 @@ export class GeofenceServiceClient {
|
|
|
48
52
|
|
|
49
53
|
uploadGeofence(
|
|
50
54
|
request: geofence_geofence_pb.UploadGeofenceRequest,
|
|
51
|
-
metadata
|
|
55
|
+
metadata?: grpcWeb.Metadata | null): Promise<geofence_geofence_pb.UploadGeofenceResponse>;
|
|
52
56
|
|
|
53
57
|
uploadGeofence(
|
|
54
58
|
request: geofence_geofence_pb.UploadGeofenceRequest,
|
|
@@ -58,7 +62,7 @@ export class GeofenceServiceClient {
|
|
|
58
62
|
|
|
59
63
|
uploadGeofence(
|
|
60
64
|
request: geofence_geofence_pb.UploadGeofenceRequest,
|
|
61
|
-
metadata
|
|
65
|
+
metadata?: grpcWeb.Metadata | null,
|
|
62
66
|
callback?: (err: grpcWeb.RpcError,
|
|
63
67
|
response: geofence_geofence_pb.UploadGeofenceResponse) => void) {
|
|
64
68
|
if (callback !== undefined) {
|
|
@@ -91,7 +95,7 @@ export class GeofenceServiceClient {
|
|
|
91
95
|
|
|
92
96
|
clearGeofence(
|
|
93
97
|
request: geofence_geofence_pb.ClearGeofenceRequest,
|
|
94
|
-
metadata
|
|
98
|
+
metadata?: grpcWeb.Metadata | null): Promise<geofence_geofence_pb.ClearGeofenceResponse>;
|
|
95
99
|
|
|
96
100
|
clearGeofence(
|
|
97
101
|
request: geofence_geofence_pb.ClearGeofenceRequest,
|
|
@@ -101,7 +105,7 @@ export class GeofenceServiceClient {
|
|
|
101
105
|
|
|
102
106
|
clearGeofence(
|
|
103
107
|
request: geofence_geofence_pb.ClearGeofenceRequest,
|
|
104
|
-
metadata
|
|
108
|
+
metadata?: grpcWeb.Metadata | null,
|
|
105
109
|
callback?: (err: grpcWeb.RpcError,
|
|
106
110
|
response: geofence_geofence_pb.ClearGeofenceResponse) => void) {
|
|
107
111
|
if (callback !== undefined) {
|
package/geofence/geofence_pb.js
CHANGED
|
@@ -3,24 +3,15 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* @fileoverview
|
|
5
5
|
* @enhanceable
|
|
6
|
-
* @suppress {missingRequire} reports error on implicit type usages.
|
|
7
6
|
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
|
8
7
|
* field starts with 'MSG_' and isn't a translatable message.
|
|
9
8
|
* @public
|
|
10
9
|
*/
|
|
11
10
|
// GENERATED CODE -- DO NOT EDIT!
|
|
12
|
-
/* eslint-disable */
|
|
13
|
-
// @ts-nocheck
|
|
14
11
|
|
|
15
12
|
var jspb = require('google-protobuf');
|
|
16
13
|
var goog = jspb;
|
|
17
|
-
var global = (
|
|
18
|
-
if (this) { return this; }
|
|
19
|
-
if (typeof window !== 'undefined') { return window; }
|
|
20
|
-
if (typeof global !== 'undefined') { return global; }
|
|
21
|
-
if (typeof self !== 'undefined') { return self; }
|
|
22
|
-
return Function('return this')();
|
|
23
|
-
}.call(null));
|
|
14
|
+
var global = Function('return this')();
|
|
24
15
|
|
|
25
16
|
var mavsdk_options_pb = require('../mavsdk_options_pb.js');
|
|
26
17
|
goog.object.extend(proto, mavsdk_options_pb);
|
|
@@ -4,7 +4,11 @@
|
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
//
|
|
7
|
+
// Code generated by protoc-gen-grpc-web. DO NOT EDIT.
|
|
8
|
+
// versions:
|
|
9
|
+
// protoc-gen-grpc-web v1.5.0
|
|
10
|
+
// protoc v3.12.4
|
|
11
|
+
// source: gimbal/gimbal.proto
|
|
8
12
|
|
|
9
13
|
|
|
10
14
|
/* eslint-disable */
|
|
@@ -13,7 +17,7 @@
|
|
|
13
17
|
|
|
14
18
|
import * as grpcWeb from 'grpc-web';
|
|
15
19
|
|
|
16
|
-
import * as gimbal_gimbal_pb from '../gimbal/gimbal_pb';
|
|
20
|
+
import * as gimbal_gimbal_pb from '../gimbal/gimbal_pb'; // proto import: "gimbal/gimbal.proto"
|
|
17
21
|
|
|
18
22
|
|
|
19
23
|
export class GimbalServiceClient {
|
|
@@ -30,7 +34,7 @@ export class GimbalServiceClient {
|
|
|
30
34
|
options['format'] = 'text';
|
|
31
35
|
|
|
32
36
|
this.client_ = new grpcWeb.GrpcWebClientBase(options);
|
|
33
|
-
this.hostname_ = hostname;
|
|
37
|
+
this.hostname_ = hostname.replace(/\/+$/, '');
|
|
34
38
|
this.credentials_ = credentials;
|
|
35
39
|
this.options_ = options;
|
|
36
40
|
}
|
|
@@ -48,7 +52,7 @@ export class GimbalServiceClient {
|
|
|
48
52
|
|
|
49
53
|
setAngles(
|
|
50
54
|
request: gimbal_gimbal_pb.SetAnglesRequest,
|
|
51
|
-
metadata
|
|
55
|
+
metadata?: grpcWeb.Metadata | null): Promise<gimbal_gimbal_pb.SetAnglesResponse>;
|
|
52
56
|
|
|
53
57
|
setAngles(
|
|
54
58
|
request: gimbal_gimbal_pb.SetAnglesRequest,
|
|
@@ -58,7 +62,7 @@ export class GimbalServiceClient {
|
|
|
58
62
|
|
|
59
63
|
setAngles(
|
|
60
64
|
request: gimbal_gimbal_pb.SetAnglesRequest,
|
|
61
|
-
metadata
|
|
65
|
+
metadata?: grpcWeb.Metadata | null,
|
|
62
66
|
callback?: (err: grpcWeb.RpcError,
|
|
63
67
|
response: gimbal_gimbal_pb.SetAnglesResponse) => void) {
|
|
64
68
|
if (callback !== undefined) {
|
|
@@ -91,7 +95,7 @@ export class GimbalServiceClient {
|
|
|
91
95
|
|
|
92
96
|
setPitchAndYaw(
|
|
93
97
|
request: gimbal_gimbal_pb.SetPitchAndYawRequest,
|
|
94
|
-
metadata
|
|
98
|
+
metadata?: grpcWeb.Metadata | null): Promise<gimbal_gimbal_pb.SetPitchAndYawResponse>;
|
|
95
99
|
|
|
96
100
|
setPitchAndYaw(
|
|
97
101
|
request: gimbal_gimbal_pb.SetPitchAndYawRequest,
|
|
@@ -101,7 +105,7 @@ export class GimbalServiceClient {
|
|
|
101
105
|
|
|
102
106
|
setPitchAndYaw(
|
|
103
107
|
request: gimbal_gimbal_pb.SetPitchAndYawRequest,
|
|
104
|
-
metadata
|
|
108
|
+
metadata?: grpcWeb.Metadata | null,
|
|
105
109
|
callback?: (err: grpcWeb.RpcError,
|
|
106
110
|
response: gimbal_gimbal_pb.SetPitchAndYawResponse) => void) {
|
|
107
111
|
if (callback !== undefined) {
|
|
@@ -134,7 +138,7 @@ export class GimbalServiceClient {
|
|
|
134
138
|
|
|
135
139
|
setPitchRateAndYawRate(
|
|
136
140
|
request: gimbal_gimbal_pb.SetPitchRateAndYawRateRequest,
|
|
137
|
-
metadata
|
|
141
|
+
metadata?: grpcWeb.Metadata | null): Promise<gimbal_gimbal_pb.SetPitchRateAndYawRateResponse>;
|
|
138
142
|
|
|
139
143
|
setPitchRateAndYawRate(
|
|
140
144
|
request: gimbal_gimbal_pb.SetPitchRateAndYawRateRequest,
|
|
@@ -144,7 +148,7 @@ export class GimbalServiceClient {
|
|
|
144
148
|
|
|
145
149
|
setPitchRateAndYawRate(
|
|
146
150
|
request: gimbal_gimbal_pb.SetPitchRateAndYawRateRequest,
|
|
147
|
-
metadata
|
|
151
|
+
metadata?: grpcWeb.Metadata | null,
|
|
148
152
|
callback?: (err: grpcWeb.RpcError,
|
|
149
153
|
response: gimbal_gimbal_pb.SetPitchRateAndYawRateResponse) => void) {
|
|
150
154
|
if (callback !== undefined) {
|
|
@@ -177,7 +181,7 @@ export class GimbalServiceClient {
|
|
|
177
181
|
|
|
178
182
|
setMode(
|
|
179
183
|
request: gimbal_gimbal_pb.SetModeRequest,
|
|
180
|
-
metadata
|
|
184
|
+
metadata?: grpcWeb.Metadata | null): Promise<gimbal_gimbal_pb.SetModeResponse>;
|
|
181
185
|
|
|
182
186
|
setMode(
|
|
183
187
|
request: gimbal_gimbal_pb.SetModeRequest,
|
|
@@ -187,7 +191,7 @@ export class GimbalServiceClient {
|
|
|
187
191
|
|
|
188
192
|
setMode(
|
|
189
193
|
request: gimbal_gimbal_pb.SetModeRequest,
|
|
190
|
-
metadata
|
|
194
|
+
metadata?: grpcWeb.Metadata | null,
|
|
191
195
|
callback?: (err: grpcWeb.RpcError,
|
|
192
196
|
response: gimbal_gimbal_pb.SetModeResponse) => void) {
|
|
193
197
|
if (callback !== undefined) {
|
|
@@ -220,7 +224,7 @@ export class GimbalServiceClient {
|
|
|
220
224
|
|
|
221
225
|
setRoiLocation(
|
|
222
226
|
request: gimbal_gimbal_pb.SetRoiLocationRequest,
|
|
223
|
-
metadata
|
|
227
|
+
metadata?: grpcWeb.Metadata | null): Promise<gimbal_gimbal_pb.SetRoiLocationResponse>;
|
|
224
228
|
|
|
225
229
|
setRoiLocation(
|
|
226
230
|
request: gimbal_gimbal_pb.SetRoiLocationRequest,
|
|
@@ -230,7 +234,7 @@ export class GimbalServiceClient {
|
|
|
230
234
|
|
|
231
235
|
setRoiLocation(
|
|
232
236
|
request: gimbal_gimbal_pb.SetRoiLocationRequest,
|
|
233
|
-
metadata
|
|
237
|
+
metadata?: grpcWeb.Metadata | null,
|
|
234
238
|
callback?: (err: grpcWeb.RpcError,
|
|
235
239
|
response: gimbal_gimbal_pb.SetRoiLocationResponse) => void) {
|
|
236
240
|
if (callback !== undefined) {
|
|
@@ -263,7 +267,7 @@ export class GimbalServiceClient {
|
|
|
263
267
|
|
|
264
268
|
takeControl(
|
|
265
269
|
request: gimbal_gimbal_pb.TakeControlRequest,
|
|
266
|
-
metadata
|
|
270
|
+
metadata?: grpcWeb.Metadata | null): Promise<gimbal_gimbal_pb.TakeControlResponse>;
|
|
267
271
|
|
|
268
272
|
takeControl(
|
|
269
273
|
request: gimbal_gimbal_pb.TakeControlRequest,
|
|
@@ -273,7 +277,7 @@ export class GimbalServiceClient {
|
|
|
273
277
|
|
|
274
278
|
takeControl(
|
|
275
279
|
request: gimbal_gimbal_pb.TakeControlRequest,
|
|
276
|
-
metadata
|
|
280
|
+
metadata?: grpcWeb.Metadata | null,
|
|
277
281
|
callback?: (err: grpcWeb.RpcError,
|
|
278
282
|
response: gimbal_gimbal_pb.TakeControlResponse) => void) {
|
|
279
283
|
if (callback !== undefined) {
|
|
@@ -306,7 +310,7 @@ export class GimbalServiceClient {
|
|
|
306
310
|
|
|
307
311
|
releaseControl(
|
|
308
312
|
request: gimbal_gimbal_pb.ReleaseControlRequest,
|
|
309
|
-
metadata
|
|
313
|
+
metadata?: grpcWeb.Metadata | null): Promise<gimbal_gimbal_pb.ReleaseControlResponse>;
|
|
310
314
|
|
|
311
315
|
releaseControl(
|
|
312
316
|
request: gimbal_gimbal_pb.ReleaseControlRequest,
|
|
@@ -316,7 +320,7 @@ export class GimbalServiceClient {
|
|
|
316
320
|
|
|
317
321
|
releaseControl(
|
|
318
322
|
request: gimbal_gimbal_pb.ReleaseControlRequest,
|
|
319
|
-
metadata
|
|
323
|
+
metadata?: grpcWeb.Metadata | null,
|
|
320
324
|
callback?: (err: grpcWeb.RpcError,
|
|
321
325
|
response: gimbal_gimbal_pb.ReleaseControlResponse) => void) {
|
|
322
326
|
if (callback !== undefined) {
|
package/gimbal/gimbal_pb.js
CHANGED
|
@@ -3,24 +3,15 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* @fileoverview
|
|
5
5
|
* @enhanceable
|
|
6
|
-
* @suppress {missingRequire} reports error on implicit type usages.
|
|
7
6
|
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
|
8
7
|
* field starts with 'MSG_' and isn't a translatable message.
|
|
9
8
|
* @public
|
|
10
9
|
*/
|
|
11
10
|
// GENERATED CODE -- DO NOT EDIT!
|
|
12
|
-
/* eslint-disable */
|
|
13
|
-
// @ts-nocheck
|
|
14
11
|
|
|
15
12
|
var jspb = require('google-protobuf');
|
|
16
13
|
var goog = jspb;
|
|
17
|
-
var global = (
|
|
18
|
-
if (this) { return this; }
|
|
19
|
-
if (typeof window !== 'undefined') { return window; }
|
|
20
|
-
if (typeof global !== 'undefined') { return global; }
|
|
21
|
-
if (typeof self !== 'undefined') { return self; }
|
|
22
|
-
return Function('return this')();
|
|
23
|
-
}.call(null));
|
|
14
|
+
var global = Function('return this')();
|
|
24
15
|
|
|
25
16
|
goog.exportSymbol('proto.mavsdk.rpc.gimbal.ControlMode', null, global);
|
|
26
17
|
goog.exportSymbol('proto.mavsdk.rpc.gimbal.ControlResponse', null, global);
|
|
@@ -4,7 +4,11 @@
|
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
//
|
|
7
|
+
// Code generated by protoc-gen-grpc-web. DO NOT EDIT.
|
|
8
|
+
// versions:
|
|
9
|
+
// protoc-gen-grpc-web v1.5.0
|
|
10
|
+
// protoc v3.12.4
|
|
11
|
+
// source: gripper/gripper.proto
|
|
8
12
|
|
|
9
13
|
|
|
10
14
|
/* eslint-disable */
|
|
@@ -13,7 +17,7 @@
|
|
|
13
17
|
|
|
14
18
|
import * as grpcWeb from 'grpc-web';
|
|
15
19
|
|
|
16
|
-
import * as gripper_gripper_pb from '../gripper/gripper_pb';
|
|
20
|
+
import * as gripper_gripper_pb from '../gripper/gripper_pb'; // proto import: "gripper/gripper.proto"
|
|
17
21
|
|
|
18
22
|
|
|
19
23
|
export class GripperServiceClient {
|
|
@@ -30,7 +34,7 @@ export class GripperServiceClient {
|
|
|
30
34
|
options['format'] = 'text';
|
|
31
35
|
|
|
32
36
|
this.client_ = new grpcWeb.GrpcWebClientBase(options);
|
|
33
|
-
this.hostname_ = hostname;
|
|
37
|
+
this.hostname_ = hostname.replace(/\/+$/, '');
|
|
34
38
|
this.credentials_ = credentials;
|
|
35
39
|
this.options_ = options;
|
|
36
40
|
}
|
|
@@ -48,7 +52,7 @@ export class GripperServiceClient {
|
|
|
48
52
|
|
|
49
53
|
grab(
|
|
50
54
|
request: gripper_gripper_pb.GrabRequest,
|
|
51
|
-
metadata
|
|
55
|
+
metadata?: grpcWeb.Metadata | null): Promise<gripper_gripper_pb.GrabResponse>;
|
|
52
56
|
|
|
53
57
|
grab(
|
|
54
58
|
request: gripper_gripper_pb.GrabRequest,
|
|
@@ -58,7 +62,7 @@ export class GripperServiceClient {
|
|
|
58
62
|
|
|
59
63
|
grab(
|
|
60
64
|
request: gripper_gripper_pb.GrabRequest,
|
|
61
|
-
metadata
|
|
65
|
+
metadata?: grpcWeb.Metadata | null,
|
|
62
66
|
callback?: (err: grpcWeb.RpcError,
|
|
63
67
|
response: gripper_gripper_pb.GrabResponse) => void) {
|
|
64
68
|
if (callback !== undefined) {
|
|
@@ -91,7 +95,7 @@ export class GripperServiceClient {
|
|
|
91
95
|
|
|
92
96
|
release(
|
|
93
97
|
request: gripper_gripper_pb.ReleaseRequest,
|
|
94
|
-
metadata
|
|
98
|
+
metadata?: grpcWeb.Metadata | null): Promise<gripper_gripper_pb.ReleaseResponse>;
|
|
95
99
|
|
|
96
100
|
release(
|
|
97
101
|
request: gripper_gripper_pb.ReleaseRequest,
|
|
@@ -101,7 +105,7 @@ export class GripperServiceClient {
|
|
|
101
105
|
|
|
102
106
|
release(
|
|
103
107
|
request: gripper_gripper_pb.ReleaseRequest,
|
|
104
|
-
metadata
|
|
108
|
+
metadata?: grpcWeb.Metadata | null,
|
|
105
109
|
callback?: (err: grpcWeb.RpcError,
|
|
106
110
|
response: gripper_gripper_pb.ReleaseResponse) => void) {
|
|
107
111
|
if (callback !== undefined) {
|
package/gripper/gripper_pb.js
CHANGED
|
@@ -3,24 +3,15 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* @fileoverview
|
|
5
5
|
* @enhanceable
|
|
6
|
-
* @suppress {missingRequire} reports error on implicit type usages.
|
|
7
6
|
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
|
8
7
|
* field starts with 'MSG_' and isn't a translatable message.
|
|
9
8
|
* @public
|
|
10
9
|
*/
|
|
11
10
|
// GENERATED CODE -- DO NOT EDIT!
|
|
12
|
-
/* eslint-disable */
|
|
13
|
-
// @ts-nocheck
|
|
14
11
|
|
|
15
12
|
var jspb = require('google-protobuf');
|
|
16
13
|
var goog = jspb;
|
|
17
|
-
var global = (
|
|
18
|
-
if (this) { return this; }
|
|
19
|
-
if (typeof window !== 'undefined') { return window; }
|
|
20
|
-
if (typeof global !== 'undefined') { return global; }
|
|
21
|
-
if (typeof self !== 'undefined') { return self; }
|
|
22
|
-
return Function('return this')();
|
|
23
|
-
}.call(null));
|
|
14
|
+
var global = Function('return this')();
|
|
24
15
|
|
|
25
16
|
goog.exportSymbol('proto.mavsdk.rpc.gripper.GrabRequest', null, global);
|
|
26
17
|
goog.exportSymbol('proto.mavsdk.rpc.gripper.GrabResponse', null, global);
|
|
@@ -4,7 +4,11 @@
|
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
//
|
|
7
|
+
// Code generated by protoc-gen-grpc-web. DO NOT EDIT.
|
|
8
|
+
// versions:
|
|
9
|
+
// protoc-gen-grpc-web v1.5.0
|
|
10
|
+
// protoc v3.12.4
|
|
11
|
+
// source: info/info.proto
|
|
8
12
|
|
|
9
13
|
|
|
10
14
|
/* eslint-disable */
|
|
@@ -13,7 +17,7 @@
|
|
|
13
17
|
|
|
14
18
|
import * as grpcWeb from 'grpc-web';
|
|
15
19
|
|
|
16
|
-
import * as info_info_pb from '../info/info_pb';
|
|
20
|
+
import * as info_info_pb from '../info/info_pb'; // proto import: "info/info.proto"
|
|
17
21
|
|
|
18
22
|
|
|
19
23
|
export class InfoServiceClient {
|
|
@@ -30,7 +34,7 @@ export class InfoServiceClient {
|
|
|
30
34
|
options['format'] = 'text';
|
|
31
35
|
|
|
32
36
|
this.client_ = new grpcWeb.GrpcWebClientBase(options);
|
|
33
|
-
this.hostname_ = hostname;
|
|
37
|
+
this.hostname_ = hostname.replace(/\/+$/, '');
|
|
34
38
|
this.credentials_ = credentials;
|
|
35
39
|
this.options_ = options;
|
|
36
40
|
}
|
|
@@ -48,7 +52,7 @@ export class InfoServiceClient {
|
|
|
48
52
|
|
|
49
53
|
getFlightInformation(
|
|
50
54
|
request: info_info_pb.GetFlightInformationRequest,
|
|
51
|
-
metadata
|
|
55
|
+
metadata?: grpcWeb.Metadata | null): Promise<info_info_pb.GetFlightInformationResponse>;
|
|
52
56
|
|
|
53
57
|
getFlightInformation(
|
|
54
58
|
request: info_info_pb.GetFlightInformationRequest,
|
|
@@ -58,7 +62,7 @@ export class InfoServiceClient {
|
|
|
58
62
|
|
|
59
63
|
getFlightInformation(
|
|
60
64
|
request: info_info_pb.GetFlightInformationRequest,
|
|
61
|
-
metadata
|
|
65
|
+
metadata?: grpcWeb.Metadata | null,
|
|
62
66
|
callback?: (err: grpcWeb.RpcError,
|
|
63
67
|
response: info_info_pb.GetFlightInformationResponse) => void) {
|
|
64
68
|
if (callback !== undefined) {
|
|
@@ -91,7 +95,7 @@ export class InfoServiceClient {
|
|
|
91
95
|
|
|
92
96
|
getIdentification(
|
|
93
97
|
request: info_info_pb.GetIdentificationRequest,
|
|
94
|
-
metadata
|
|
98
|
+
metadata?: grpcWeb.Metadata | null): Promise<info_info_pb.GetIdentificationResponse>;
|
|
95
99
|
|
|
96
100
|
getIdentification(
|
|
97
101
|
request: info_info_pb.GetIdentificationRequest,
|
|
@@ -101,7 +105,7 @@ export class InfoServiceClient {
|
|
|
101
105
|
|
|
102
106
|
getIdentification(
|
|
103
107
|
request: info_info_pb.GetIdentificationRequest,
|
|
104
|
-
metadata
|
|
108
|
+
metadata?: grpcWeb.Metadata | null,
|
|
105
109
|
callback?: (err: grpcWeb.RpcError,
|
|
106
110
|
response: info_info_pb.GetIdentificationResponse) => void) {
|
|
107
111
|
if (callback !== undefined) {
|
|
@@ -134,7 +138,7 @@ export class InfoServiceClient {
|
|
|
134
138
|
|
|
135
139
|
getProduct(
|
|
136
140
|
request: info_info_pb.GetProductRequest,
|
|
137
|
-
metadata
|
|
141
|
+
metadata?: grpcWeb.Metadata | null): Promise<info_info_pb.GetProductResponse>;
|
|
138
142
|
|
|
139
143
|
getProduct(
|
|
140
144
|
request: info_info_pb.GetProductRequest,
|
|
@@ -144,7 +148,7 @@ export class InfoServiceClient {
|
|
|
144
148
|
|
|
145
149
|
getProduct(
|
|
146
150
|
request: info_info_pb.GetProductRequest,
|
|
147
|
-
metadata
|
|
151
|
+
metadata?: grpcWeb.Metadata | null,
|
|
148
152
|
callback?: (err: grpcWeb.RpcError,
|
|
149
153
|
response: info_info_pb.GetProductResponse) => void) {
|
|
150
154
|
if (callback !== undefined) {
|
|
@@ -177,7 +181,7 @@ export class InfoServiceClient {
|
|
|
177
181
|
|
|
178
182
|
getVersion(
|
|
179
183
|
request: info_info_pb.GetVersionRequest,
|
|
180
|
-
metadata
|
|
184
|
+
metadata?: grpcWeb.Metadata | null): Promise<info_info_pb.GetVersionResponse>;
|
|
181
185
|
|
|
182
186
|
getVersion(
|
|
183
187
|
request: info_info_pb.GetVersionRequest,
|
|
@@ -187,7 +191,7 @@ export class InfoServiceClient {
|
|
|
187
191
|
|
|
188
192
|
getVersion(
|
|
189
193
|
request: info_info_pb.GetVersionRequest,
|
|
190
|
-
metadata
|
|
194
|
+
metadata?: grpcWeb.Metadata | null,
|
|
191
195
|
callback?: (err: grpcWeb.RpcError,
|
|
192
196
|
response: info_info_pb.GetVersionResponse) => void) {
|
|
193
197
|
if (callback !== undefined) {
|
|
@@ -220,7 +224,7 @@ export class InfoServiceClient {
|
|
|
220
224
|
|
|
221
225
|
getSpeedFactor(
|
|
222
226
|
request: info_info_pb.GetSpeedFactorRequest,
|
|
223
|
-
metadata
|
|
227
|
+
metadata?: grpcWeb.Metadata | null): Promise<info_info_pb.GetSpeedFactorResponse>;
|
|
224
228
|
|
|
225
229
|
getSpeedFactor(
|
|
226
230
|
request: info_info_pb.GetSpeedFactorRequest,
|
|
@@ -230,7 +234,7 @@ export class InfoServiceClient {
|
|
|
230
234
|
|
|
231
235
|
getSpeedFactor(
|
|
232
236
|
request: info_info_pb.GetSpeedFactorRequest,
|
|
233
|
-
metadata
|
|
237
|
+
metadata?: grpcWeb.Metadata | null,
|
|
234
238
|
callback?: (err: grpcWeb.RpcError,
|
|
235
239
|
response: info_info_pb.GetSpeedFactorResponse) => void) {
|
|
236
240
|
if (callback !== undefined) {
|
package/info/info_pb.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as jspb from 'google-protobuf'
|
|
2
2
|
|
|
3
|
-
import * as mavsdk_options_pb from '../mavsdk_options_pb';
|
|
3
|
+
import * as mavsdk_options_pb from '../mavsdk_options_pb'; // proto import: "mavsdk_options.proto"
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
export class GetFlightInformationRequest extends jspb.Message {
|
package/info/info_pb.js
CHANGED
|
@@ -3,24 +3,15 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* @fileoverview
|
|
5
5
|
* @enhanceable
|
|
6
|
-
* @suppress {missingRequire} reports error on implicit type usages.
|
|
7
6
|
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
|
8
7
|
* field starts with 'MSG_' and isn't a translatable message.
|
|
9
8
|
* @public
|
|
10
9
|
*/
|
|
11
10
|
// GENERATED CODE -- DO NOT EDIT!
|
|
12
|
-
/* eslint-disable */
|
|
13
|
-
// @ts-nocheck
|
|
14
11
|
|
|
15
12
|
var jspb = require('google-protobuf');
|
|
16
13
|
var goog = jspb;
|
|
17
|
-
var global = (
|
|
18
|
-
if (this) { return this; }
|
|
19
|
-
if (typeof window !== 'undefined') { return window; }
|
|
20
|
-
if (typeof global !== 'undefined') { return global; }
|
|
21
|
-
if (typeof self !== 'undefined') { return self; }
|
|
22
|
-
return Function('return this')();
|
|
23
|
-
}.call(null));
|
|
14
|
+
var global = Function('return this')();
|
|
24
15
|
|
|
25
16
|
var mavsdk_options_pb = require('../mavsdk_options_pb.js');
|
|
26
17
|
goog.object.extend(proto, mavsdk_options_pb);
|