@blueyerobotics/protocol-definitions 3.3.0-fe575d02 → 3.4.0-01d6bec3
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/README.npm.md +24 -0
- package/dist/aquatroll.js +113 -132
- package/dist/control.d.ts +32 -3
- package/dist/control.js +539 -399
- package/dist/google/protobuf/any.js +5 -8
- package/dist/google/protobuf/duration.js +5 -8
- package/dist/google/protobuf/timestamp.js +5 -8
- package/dist/index.blueye.d.ts +1 -1
- package/dist/index.blueye.js +1 -37
- package/dist/index.blueye.protocol.d.ts +6 -6
- package/dist/index.blueye.protocol.js +6 -22
- package/dist/index.d.ts +2 -2
- package/dist/index.google.d.ts +1 -1
- package/dist/index.google.js +1 -37
- package/dist/index.google.protobuf.d.ts +3 -3
- package/dist/index.google.protobuf.js +3 -19
- package/dist/index.js +2 -38
- package/dist/message_formats.d.ts +269 -8
- package/dist/message_formats.js +2672 -1096
- package/dist/mission_planning.d.ts +1 -1
- package/dist/mission_planning.js +208 -223
- package/dist/req_rep.d.ts +23 -3
- package/dist/req_rep.js +473 -296
- package/dist/telemetry.d.ts +45 -3
- package/dist/telemetry.js +930 -646
- package/package.json +13 -3
|
@@ -1,18 +1,15 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
2
|
// versions:
|
|
4
3
|
// protoc-gen-ts_proto v2.7.7
|
|
5
4
|
// protoc v3.21.12
|
|
6
5
|
// source: google/protobuf/any.proto
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.Any = void 0;
|
|
9
6
|
/* eslint-disable */
|
|
10
|
-
|
|
7
|
+
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
11
8
|
function createBaseAny() {
|
|
12
9
|
return { typeUrl: "", value: new Uint8Array(0) };
|
|
13
10
|
}
|
|
14
|
-
|
|
15
|
-
encode(message, writer = new
|
|
11
|
+
export const Any = {
|
|
12
|
+
encode(message, writer = new BinaryWriter()) {
|
|
16
13
|
if (message.typeUrl !== "") {
|
|
17
14
|
writer.uint32(10).string(message.typeUrl);
|
|
18
15
|
}
|
|
@@ -22,7 +19,7 @@ exports.Any = {
|
|
|
22
19
|
return writer;
|
|
23
20
|
},
|
|
24
21
|
decode(input, length) {
|
|
25
|
-
const reader = input instanceof
|
|
22
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
26
23
|
const end = length === undefined ? reader.len : reader.pos + length;
|
|
27
24
|
const message = createBaseAny();
|
|
28
25
|
while (reader.pos < end) {
|
|
@@ -67,7 +64,7 @@ exports.Any = {
|
|
|
67
64
|
return obj;
|
|
68
65
|
},
|
|
69
66
|
create(base) {
|
|
70
|
-
return
|
|
67
|
+
return Any.fromPartial(base ?? {});
|
|
71
68
|
},
|
|
72
69
|
fromPartial(object) {
|
|
73
70
|
const message = createBaseAny();
|
|
@@ -1,18 +1,15 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
2
|
// versions:
|
|
4
3
|
// protoc-gen-ts_proto v2.7.7
|
|
5
4
|
// protoc v3.21.12
|
|
6
5
|
// source: google/protobuf/duration.proto
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.Duration = void 0;
|
|
9
6
|
/* eslint-disable */
|
|
10
|
-
|
|
7
|
+
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
11
8
|
function createBaseDuration() {
|
|
12
9
|
return { seconds: 0, nanos: 0 };
|
|
13
10
|
}
|
|
14
|
-
|
|
15
|
-
encode(message, writer = new
|
|
11
|
+
export const Duration = {
|
|
12
|
+
encode(message, writer = new BinaryWriter()) {
|
|
16
13
|
if (message.seconds !== 0) {
|
|
17
14
|
writer.uint32(8).int64(message.seconds);
|
|
18
15
|
}
|
|
@@ -22,7 +19,7 @@ exports.Duration = {
|
|
|
22
19
|
return writer;
|
|
23
20
|
},
|
|
24
21
|
decode(input, length) {
|
|
25
|
-
const reader = input instanceof
|
|
22
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
26
23
|
const end = length === undefined ? reader.len : reader.pos + length;
|
|
27
24
|
const message = createBaseDuration();
|
|
28
25
|
while (reader.pos < end) {
|
|
@@ -67,7 +64,7 @@ exports.Duration = {
|
|
|
67
64
|
return obj;
|
|
68
65
|
},
|
|
69
66
|
create(base) {
|
|
70
|
-
return
|
|
67
|
+
return Duration.fromPartial(base ?? {});
|
|
71
68
|
},
|
|
72
69
|
fromPartial(object) {
|
|
73
70
|
const message = createBaseDuration();
|
|
@@ -1,18 +1,15 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
2
|
// versions:
|
|
4
3
|
// protoc-gen-ts_proto v2.7.7
|
|
5
4
|
// protoc v3.21.12
|
|
6
5
|
// source: google/protobuf/timestamp.proto
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.Timestamp = void 0;
|
|
9
6
|
/* eslint-disable */
|
|
10
|
-
|
|
7
|
+
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
11
8
|
function createBaseTimestamp() {
|
|
12
9
|
return { seconds: 0, nanos: 0 };
|
|
13
10
|
}
|
|
14
|
-
|
|
15
|
-
encode(message, writer = new
|
|
11
|
+
export const Timestamp = {
|
|
12
|
+
encode(message, writer = new BinaryWriter()) {
|
|
16
13
|
if (message.seconds !== 0) {
|
|
17
14
|
writer.uint32(8).int64(message.seconds);
|
|
18
15
|
}
|
|
@@ -22,7 +19,7 @@ exports.Timestamp = {
|
|
|
22
19
|
return writer;
|
|
23
20
|
},
|
|
24
21
|
decode(input, length) {
|
|
25
|
-
const reader = input instanceof
|
|
22
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
26
23
|
const end = length === undefined ? reader.len : reader.pos + length;
|
|
27
24
|
const message = createBaseTimestamp();
|
|
28
25
|
while (reader.pos < end) {
|
|
@@ -67,7 +64,7 @@ exports.Timestamp = {
|
|
|
67
64
|
return obj;
|
|
68
65
|
},
|
|
69
66
|
create(base) {
|
|
70
|
-
return
|
|
67
|
+
return Timestamp.fromPartial(base ?? {});
|
|
71
68
|
},
|
|
72
69
|
fromPartial(object) {
|
|
73
70
|
const message = createBaseTimestamp();
|
package/dist/index.blueye.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * as protocol from "./index.blueye.protocol";
|
|
1
|
+
export * as protocol from "./index.blueye.protocol.js";
|
package/dist/index.blueye.js
CHANGED
|
@@ -1,42 +1,6 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
2
|
// versions:
|
|
4
3
|
// protoc-gen-ts_proto v2.7.7
|
|
5
4
|
// protoc v3.21.12
|
|
6
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7
|
-
if (k2 === undefined) k2 = k;
|
|
8
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
9
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
10
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
11
|
-
}
|
|
12
|
-
Object.defineProperty(o, k2, desc);
|
|
13
|
-
}) : (function(o, m, k, k2) {
|
|
14
|
-
if (k2 === undefined) k2 = k;
|
|
15
|
-
o[k2] = m[k];
|
|
16
|
-
}));
|
|
17
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
18
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
19
|
-
}) : function(o, v) {
|
|
20
|
-
o["default"] = v;
|
|
21
|
-
});
|
|
22
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
23
|
-
var ownKeys = function(o) {
|
|
24
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
25
|
-
var ar = [];
|
|
26
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
27
|
-
return ar;
|
|
28
|
-
};
|
|
29
|
-
return ownKeys(o);
|
|
30
|
-
};
|
|
31
|
-
return function (mod) {
|
|
32
|
-
if (mod && mod.__esModule) return mod;
|
|
33
|
-
var result = {};
|
|
34
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
35
|
-
__setModuleDefault(result, mod);
|
|
36
|
-
return result;
|
|
37
|
-
};
|
|
38
|
-
})();
|
|
39
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
|
-
exports.protocol = void 0;
|
|
41
5
|
/* eslint-disable */
|
|
42
|
-
|
|
6
|
+
export * as protocol from "./index.blueye.protocol.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from "./aquatroll";
|
|
2
|
-
export * from "./message_formats";
|
|
3
|
-
export * from "./control";
|
|
4
|
-
export * from "./mission_planning";
|
|
5
|
-
export * from "./req_rep";
|
|
6
|
-
export * from "./telemetry";
|
|
1
|
+
export * from "./aquatroll.js";
|
|
2
|
+
export * from "./message_formats.js";
|
|
3
|
+
export * from "./control.js";
|
|
4
|
+
export * from "./mission_planning.js";
|
|
5
|
+
export * from "./req_rep.js";
|
|
6
|
+
export * from "./telemetry.js";
|
|
@@ -1,27 +1,11 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
2
|
// versions:
|
|
4
3
|
// protoc-gen-ts_proto v2.7.7
|
|
5
4
|
// protoc v3.21.12
|
|
6
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7
|
-
if (k2 === undefined) k2 = k;
|
|
8
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
9
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
10
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
11
|
-
}
|
|
12
|
-
Object.defineProperty(o, k2, desc);
|
|
13
|
-
}) : (function(o, m, k, k2) {
|
|
14
|
-
if (k2 === undefined) k2 = k;
|
|
15
|
-
o[k2] = m[k];
|
|
16
|
-
}));
|
|
17
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
18
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
19
|
-
};
|
|
20
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
5
|
/* eslint-disable */
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
6
|
+
export * from "./aquatroll.js";
|
|
7
|
+
export * from "./message_formats.js";
|
|
8
|
+
export * from "./control.js";
|
|
9
|
+
export * from "./mission_planning.js";
|
|
10
|
+
export * from "./req_rep.js";
|
|
11
|
+
export * from "./telemetry.js";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * as google from "./index.google";
|
|
2
|
-
export * as blueye from "./index.blueye";
|
|
1
|
+
export * as google from "./index.google.js";
|
|
2
|
+
export * as blueye from "./index.blueye.js";
|
package/dist/index.google.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * as protobuf from "./index.google.protobuf";
|
|
1
|
+
export * as protobuf from "./index.google.protobuf.js";
|
package/dist/index.google.js
CHANGED
|
@@ -1,42 +1,6 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
2
|
// versions:
|
|
4
3
|
// protoc-gen-ts_proto v2.7.7
|
|
5
4
|
// protoc v3.21.12
|
|
6
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7
|
-
if (k2 === undefined) k2 = k;
|
|
8
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
9
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
10
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
11
|
-
}
|
|
12
|
-
Object.defineProperty(o, k2, desc);
|
|
13
|
-
}) : (function(o, m, k, k2) {
|
|
14
|
-
if (k2 === undefined) k2 = k;
|
|
15
|
-
o[k2] = m[k];
|
|
16
|
-
}));
|
|
17
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
18
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
19
|
-
}) : function(o, v) {
|
|
20
|
-
o["default"] = v;
|
|
21
|
-
});
|
|
22
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
23
|
-
var ownKeys = function(o) {
|
|
24
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
25
|
-
var ar = [];
|
|
26
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
27
|
-
return ar;
|
|
28
|
-
};
|
|
29
|
-
return ownKeys(o);
|
|
30
|
-
};
|
|
31
|
-
return function (mod) {
|
|
32
|
-
if (mod && mod.__esModule) return mod;
|
|
33
|
-
var result = {};
|
|
34
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
35
|
-
__setModuleDefault(result, mod);
|
|
36
|
-
return result;
|
|
37
|
-
};
|
|
38
|
-
})();
|
|
39
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
|
-
exports.protobuf = void 0;
|
|
41
5
|
/* eslint-disable */
|
|
42
|
-
|
|
6
|
+
export * as protobuf from "./index.google.protobuf.js";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from "./google/protobuf/timestamp";
|
|
2
|
-
export * from "./google/protobuf/any";
|
|
3
|
-
export * from "./google/protobuf/duration";
|
|
1
|
+
export * from "./google/protobuf/timestamp.js";
|
|
2
|
+
export * from "./google/protobuf/any.js";
|
|
3
|
+
export * from "./google/protobuf/duration.js";
|
|
@@ -1,24 +1,8 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
2
|
// versions:
|
|
4
3
|
// protoc-gen-ts_proto v2.7.7
|
|
5
4
|
// protoc v3.21.12
|
|
6
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7
|
-
if (k2 === undefined) k2 = k;
|
|
8
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
9
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
10
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
11
|
-
}
|
|
12
|
-
Object.defineProperty(o, k2, desc);
|
|
13
|
-
}) : (function(o, m, k, k2) {
|
|
14
|
-
if (k2 === undefined) k2 = k;
|
|
15
|
-
o[k2] = m[k];
|
|
16
|
-
}));
|
|
17
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
18
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
19
|
-
};
|
|
20
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
5
|
/* eslint-disable */
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
6
|
+
export * from "./google/protobuf/timestamp.js";
|
|
7
|
+
export * from "./google/protobuf/any.js";
|
|
8
|
+
export * from "./google/protobuf/duration.js";
|
package/dist/index.js
CHANGED
|
@@ -1,43 +1,7 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
2
|
// versions:
|
|
4
3
|
// protoc-gen-ts_proto v2.7.7
|
|
5
4
|
// protoc v3.21.12
|
|
6
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7
|
-
if (k2 === undefined) k2 = k;
|
|
8
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
9
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
10
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
11
|
-
}
|
|
12
|
-
Object.defineProperty(o, k2, desc);
|
|
13
|
-
}) : (function(o, m, k, k2) {
|
|
14
|
-
if (k2 === undefined) k2 = k;
|
|
15
|
-
o[k2] = m[k];
|
|
16
|
-
}));
|
|
17
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
18
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
19
|
-
}) : function(o, v) {
|
|
20
|
-
o["default"] = v;
|
|
21
|
-
});
|
|
22
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
23
|
-
var ownKeys = function(o) {
|
|
24
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
25
|
-
var ar = [];
|
|
26
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
27
|
-
return ar;
|
|
28
|
-
};
|
|
29
|
-
return ownKeys(o);
|
|
30
|
-
};
|
|
31
|
-
return function (mod) {
|
|
32
|
-
if (mod && mod.__esModule) return mod;
|
|
33
|
-
var result = {};
|
|
34
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
35
|
-
__setModuleDefault(result, mod);
|
|
36
|
-
return result;
|
|
37
|
-
};
|
|
38
|
-
})();
|
|
39
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
|
-
exports.blueye = exports.google = void 0;
|
|
41
5
|
/* eslint-disable */
|
|
42
|
-
|
|
43
|
-
|
|
6
|
+
export * as google from "./index.google.js";
|
|
7
|
+
export * as blueye from "./index.blueye.js";
|