@blueyerobotics/protocol-definitions 3.3.0-fe575d02 → 3.4.0-618bf0b0
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 +151 -8
- package/dist/message_formats.js +1843 -1087
- 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 +27 -3
- package/dist/telemetry.js +820 -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";
|
|
@@ -1,11 +1,37 @@
|
|
|
1
1
|
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
|
-
import { Any } from "./google/protobuf/any";
|
|
3
|
-
import { Duration } from "./google/protobuf/duration";
|
|
2
|
+
import { Any } from "./google/protobuf/any.js";
|
|
3
|
+
import { Duration } from "./google/protobuf/duration.js";
|
|
4
4
|
/**
|
|
5
5
|
* Common messages
|
|
6
6
|
*
|
|
7
7
|
* These are used for logging as well as building requests and responses.
|
|
8
8
|
*/
|
|
9
|
+
/** How the arm input of the last command was read, as reported in telemetry. */
|
|
10
|
+
export declare enum ManipulatorControlMode {
|
|
11
|
+
/** MANIPULATOR_CONTROL_MODE_UNSPECIFIED - No arm input. */
|
|
12
|
+
MANIPULATOR_CONTROL_MODE_UNSPECIFIED = 0,
|
|
13
|
+
/** MANIPULATOR_CONTROL_MODE_CYLINDRICAL - CylindricalManipulatorInput. */
|
|
14
|
+
MANIPULATOR_CONTROL_MODE_CYLINDRICAL = 1,
|
|
15
|
+
/** MANIPULATOR_CONTROL_MODE_CARTESIAN - CartesianManipulatorInput. */
|
|
16
|
+
MANIPULATOR_CONTROL_MODE_CARTESIAN = 2,
|
|
17
|
+
/** MANIPULATOR_CONTROL_MODE_KNOWN_POSE - KnownPoseManipulatorInput. */
|
|
18
|
+
MANIPULATOR_CONTROL_MODE_KNOWN_POSE = 3,
|
|
19
|
+
UNRECOGNIZED = -1
|
|
20
|
+
}
|
|
21
|
+
export declare function manipulatorControlModeFromJSON(object: any): ManipulatorControlMode;
|
|
22
|
+
export declare function manipulatorControlModeToJSON(object: ManipulatorControlMode): string;
|
|
23
|
+
/** Named manipulator poses. */
|
|
24
|
+
export declare enum ManipulatorPose {
|
|
25
|
+
/** MANIPULATOR_POSE_UNSPECIFIED - No pose. */
|
|
26
|
+
MANIPULATOR_POSE_UNSPECIFIED = 0,
|
|
27
|
+
/** MANIPULATOR_POSE_STOWED - Folded for transport, launch and recovery. */
|
|
28
|
+
MANIPULATOR_POSE_STOWED = 1,
|
|
29
|
+
/** MANIPULATOR_POSE_DEPLOYED - Unfolded and ready to work. */
|
|
30
|
+
MANIPULATOR_POSE_DEPLOYED = 2,
|
|
31
|
+
UNRECOGNIZED = -1
|
|
32
|
+
}
|
|
33
|
+
export declare function manipulatorPoseFromJSON(object: any): ManipulatorPose;
|
|
34
|
+
export declare function manipulatorPoseToJSON(object: ManipulatorPose): string;
|
|
9
35
|
/** Interval type for time-lapse photos. */
|
|
10
36
|
export declare enum IntervalType {
|
|
11
37
|
/** INTERVAL_TYPE_UNSPECIFIED - Unspecified. */
|
|
@@ -252,17 +278,19 @@ export declare function resolutionToJSON(object: Resolution): string;
|
|
|
252
278
|
* Available camera frame rates.
|
|
253
279
|
*
|
|
254
280
|
* If the requested frame rate is higher than what is supported at the current resolution,
|
|
255
|
-
* the frame rate will be reduced while the resolution is respected.
|
|
281
|
+
* the frame rate will be reduced while the resolution is respected: 60 to 30 and 50 to 25.
|
|
256
282
|
*/
|
|
257
283
|
export declare enum Framerate {
|
|
258
284
|
/** FRAMERATE_UNSPECIFIED - Framerate not specified. */
|
|
259
285
|
FRAMERATE_UNSPECIFIED = 0,
|
|
260
286
|
/** FRAMERATE_FPS_30 - 30 frames per second. */
|
|
261
287
|
FRAMERATE_FPS_30 = 1,
|
|
262
|
-
/** FRAMERATE_FPS_25 - 25 frames per second.
|
|
288
|
+
/** FRAMERATE_FPS_25 - 25 frames per second. */
|
|
263
289
|
FRAMERATE_FPS_25 = 2,
|
|
264
290
|
/** FRAMERATE_FPS_60 - 60 frames per second. (Only supported on X3 Ultra at QHD, 1080p and 720p) */
|
|
265
291
|
FRAMERATE_FPS_60 = 3,
|
|
292
|
+
/** FRAMERATE_FPS_50 - 50 frames per second. (Only supported on X3 Ultra at QHD, 1080p and 720p) */
|
|
293
|
+
FRAMERATE_FPS_50 = 4,
|
|
266
294
|
UNRECOGNIZED = -1
|
|
267
295
|
}
|
|
268
296
|
export declare function framerateFromJSON(object: any): Framerate;
|
|
@@ -354,7 +382,10 @@ export declare function thicknessUnitFromJSON(object: any): ThicknessUnit;
|
|
|
354
382
|
export declare function thicknessUnitToJSON(object: ThicknessUnit): string;
|
|
355
383
|
/** Available font sizes for overlay text elements. */
|
|
356
384
|
export declare enum FontSize {
|
|
357
|
-
/**
|
|
385
|
+
/**
|
|
386
|
+
* FONT_SIZE_UNSPECIFIED - Font size and margins derived from the recording resolution (Blunux >= 5.2).
|
|
387
|
+
* Older firmware defaults to 25px.
|
|
388
|
+
*/
|
|
358
389
|
FONT_SIZE_UNSPECIFIED = 0,
|
|
359
390
|
/** FONT_SIZE_PX15 - 15 px. */
|
|
360
391
|
FONT_SIZE_PX15 = 1,
|
|
@@ -481,6 +512,10 @@ export declare enum GuestPortDeviceID {
|
|
|
481
512
|
GUEST_PORT_DEVICE_ID_CYGNUS_MINI_ROV_THICKNESS_GAUGE_RS232 = 49,
|
|
482
513
|
/** GUEST_PORT_DEVICE_ID_WATERLINKED_DVL_A100 - Waterlinked DVL A100. */
|
|
483
514
|
GUEST_PORT_DEVICE_ID_WATERLINKED_DVL_A100 = 50,
|
|
515
|
+
/** GUEST_PORT_DEVICE_ID_OUTLAND_TECHNOLOGY_MP200 - Outland Technology MP-200 Manipulator. */
|
|
516
|
+
GUEST_PORT_DEVICE_ID_OUTLAND_TECHNOLOGY_MP200 = 51,
|
|
517
|
+
/** GUEST_PORT_DEVICE_ID_REACH_ROBOTICS_REACH_ALPHA_5 - Reach Robotics Reach Alpha 5 Manipulator. */
|
|
518
|
+
GUEST_PORT_DEVICE_ID_REACH_ROBOTICS_REACH_ALPHA_5 = 52,
|
|
484
519
|
UNRECOGNIZED = -1
|
|
485
520
|
}
|
|
486
521
|
export declare function guestPortDeviceIDFromJSON(object: any): GuestPortDeviceID;
|
|
@@ -999,6 +1034,63 @@ export interface GripperVelocities {
|
|
|
999
1034
|
/** The rotating velocity (-1.0..1.0). */
|
|
1000
1035
|
rotateVelocity: number;
|
|
1001
1036
|
}
|
|
1037
|
+
/**
|
|
1038
|
+
* Cartesian velocity of the end of a manipulator arm, in the drone body frame.
|
|
1039
|
+
*
|
|
1040
|
+
* Each value is normalized (-1.0..1.0) and scaled by the drone to its configured maximum speed.
|
|
1041
|
+
*/
|
|
1042
|
+
export interface CartesianManipulatorInput {
|
|
1043
|
+
/** Forward (positive) and backward (negative). */
|
|
1044
|
+
x: number;
|
|
1045
|
+
/** Right (positive) and left (negative). */
|
|
1046
|
+
y: number;
|
|
1047
|
+
/** Down (positive) and up (negative). */
|
|
1048
|
+
z: number;
|
|
1049
|
+
}
|
|
1050
|
+
/**
|
|
1051
|
+
* Cylindrical velocity of the end of a manipulator arm, about the axis of the arm's base joint.
|
|
1052
|
+
*
|
|
1053
|
+
* Each value is normalized (-1.0..1.0) and scaled by the drone to its configured maximum speed.
|
|
1054
|
+
*/
|
|
1055
|
+
export interface CylindricalManipulatorInput {
|
|
1056
|
+
/** Out from the base axis (positive) and in towards it (negative). */
|
|
1057
|
+
radial: number;
|
|
1058
|
+
/** Along the base axis: down (positive) and up (negative), as in the drone body frame. */
|
|
1059
|
+
vertical: number;
|
|
1060
|
+
/** Swing about the base axis: clockwise seen from above (positive). */
|
|
1061
|
+
azimuth: number;
|
|
1062
|
+
}
|
|
1063
|
+
/**
|
|
1064
|
+
* Movement of a manipulator arm towards a named pose, along a path the drone chooses.
|
|
1065
|
+
*
|
|
1066
|
+
* Hold-to-run: the arm moves only while the velocity is above zero, and resumes from wherever it
|
|
1067
|
+
* stopped.
|
|
1068
|
+
*/
|
|
1069
|
+
export interface KnownPoseManipulatorInput {
|
|
1070
|
+
/** The pose to move towards. */
|
|
1071
|
+
pose: ManipulatorPose;
|
|
1072
|
+
/** Speed along the path (0.0..1.0): 0 holds the arm where it is. */
|
|
1073
|
+
velocity: number;
|
|
1074
|
+
}
|
|
1075
|
+
/** Gripper state: of its arm too, when the gripper is a manipulator arm. */
|
|
1076
|
+
export interface Gripper {
|
|
1077
|
+
/** How the arm input of the last command was read. */
|
|
1078
|
+
mode: ManipulatorControlMode;
|
|
1079
|
+
/** Joint positions from the jaws to the base: jaws opening (m), then joint angles (rad). */
|
|
1080
|
+
jointPositions: number[];
|
|
1081
|
+
/** Position of the base of the jaws in the drone body frame (m). */
|
|
1082
|
+
endPosition: Vector3 | undefined;
|
|
1083
|
+
/** A joint at the end of its range keeps the arm from going further. */
|
|
1084
|
+
atLimit: boolean;
|
|
1085
|
+
/** The arm stopped itself short of an obstacle or of itself. */
|
|
1086
|
+
collision: boolean;
|
|
1087
|
+
/** The jaws closed on something. */
|
|
1088
|
+
holding: boolean;
|
|
1089
|
+
/** A joint reports a hardware fault. */
|
|
1090
|
+
fault: boolean;
|
|
1091
|
+
/** Named pose the arm is moving towards, if any. */
|
|
1092
|
+
movingTo: ManipulatorPose;
|
|
1093
|
+
}
|
|
1002
1094
|
/** Information about a remote client. */
|
|
1003
1095
|
export interface ClientInfo {
|
|
1004
1096
|
/** The type of client (such as Blueye App, Observer App, SDK, etc). */
|
|
@@ -1117,6 +1209,20 @@ export interface CanisterHumidity {
|
|
|
1117
1209
|
/** Air humidity (%). */
|
|
1118
1210
|
humidity: number;
|
|
1119
1211
|
}
|
|
1212
|
+
/** Sensor readings inside the X7 power canister. */
|
|
1213
|
+
export interface PowerCanister {
|
|
1214
|
+
/** Front ESC board; absent when no recent reading is available. */
|
|
1215
|
+
frontEsc: PowerCanister_Sensors | undefined;
|
|
1216
|
+
/** Rear ESC board; absent when no recent reading is available. */
|
|
1217
|
+
rearEsc: PowerCanister_Sensors | undefined;
|
|
1218
|
+
}
|
|
1219
|
+
/** Sensor readings from an ESC board. */
|
|
1220
|
+
export interface PowerCanister_Sensors {
|
|
1221
|
+
/** Temperature (°C). */
|
|
1222
|
+
temperature: number;
|
|
1223
|
+
/** Relative humidity (%). */
|
|
1224
|
+
humidity: number;
|
|
1225
|
+
}
|
|
1120
1226
|
/** Essential battery information. */
|
|
1121
1227
|
export interface Battery {
|
|
1122
1228
|
/** Battery voltage (V). */
|
|
@@ -1942,6 +2048,14 @@ export interface ErrorFlags {
|
|
|
1942
2048
|
videoUrbError: boolean;
|
|
1943
2049
|
/** Hardware not supported on current blunux version. */
|
|
1944
2050
|
hardwareNotSupported: boolean;
|
|
2051
|
+
/** MPU 1 unavailable at observer startup. */
|
|
2052
|
+
imu1: boolean;
|
|
2053
|
+
/** MPU 2 unavailable at observer startup. */
|
|
2054
|
+
imu2: boolean;
|
|
2055
|
+
/** HP IMU unavailable on X3 Ultra or X7. */
|
|
2056
|
+
imuHp: boolean;
|
|
2057
|
+
/** No attitude source: manual body-frame control only. */
|
|
2058
|
+
imuAttitude: boolean;
|
|
1945
2059
|
}
|
|
1946
2060
|
/** Camera parameters. */
|
|
1947
2061
|
export interface CameraParameters {
|
|
@@ -2041,11 +2155,14 @@ export interface OverlayParameters {
|
|
|
2041
2155
|
thicknessUnit: ThicknessUnit;
|
|
2042
2156
|
/** Timezone offset from UTC (min). */
|
|
2043
2157
|
timezoneOffset: number;
|
|
2044
|
-
/** Horizontal margins of text elements (px). */
|
|
2158
|
+
/** Horizontal margins of text elements (px). Ignored when font_size is FONT_SIZE_UNSPECIFIED (Blunux >= 5.2). */
|
|
2045
2159
|
marginWidth: number;
|
|
2046
|
-
/** Vertical margins of text elements (px). */
|
|
2160
|
+
/** Vertical margins of text elements (px). Ignored when font_size is FONT_SIZE_UNSPECIFIED (Blunux >= 5.2). */
|
|
2047
2161
|
marginHeight: number;
|
|
2048
|
-
/**
|
|
2162
|
+
/**
|
|
2163
|
+
* Font size of text elements. FONT_SIZE_UNSPECIFIED derives font size and margins from the
|
|
2164
|
+
* recording resolution (Blunux >= 5.2). Older firmware defaults to 25px.
|
|
2165
|
+
*/
|
|
2049
2166
|
fontSize: FontSize;
|
|
2050
2167
|
/** Optional title. */
|
|
2051
2168
|
title: string;
|
|
@@ -2451,6 +2568,17 @@ export interface MultibeamDiscovery {
|
|
|
2451
2568
|
/** Error flags specific for the connected multibeam device. */
|
|
2452
2569
|
errorFlags: MultibeamErrorFlags | undefined;
|
|
2453
2570
|
}
|
|
2571
|
+
/**
|
|
2572
|
+
* Color filter used to render the multibeam sonar fan.
|
|
2573
|
+
*
|
|
2574
|
+
* The fan renderer maps each echo intensity (0..255) to a color through this
|
|
2575
|
+
* lookup table. The drone keeps the last filter received in memory and applies
|
|
2576
|
+
* it to the sonar RTSP stream; grayscale is used until one is set.
|
|
2577
|
+
*/
|
|
2578
|
+
export interface MultibeamColorFilter {
|
|
2579
|
+
/** 768 bytes: 256 consecutive R,G,B triplets, indexed by echo intensity. */
|
|
2580
|
+
rgb: Uint8Array;
|
|
2581
|
+
}
|
|
2454
2582
|
/** Error flags for multibeam sonar devices. */
|
|
2455
2583
|
export interface MultibeamErrorFlags {
|
|
2456
2584
|
/**
|
|
@@ -2805,6 +2933,13 @@ export interface FilterMessage {
|
|
|
2805
2933
|
/** Intensity of the filter (0..1). */
|
|
2806
2934
|
intensity: number;
|
|
2807
2935
|
}
|
|
2936
|
+
/** Frames that the marine snow filter compares each frame with. */
|
|
2937
|
+
export interface MarineSnowFilterFrames {
|
|
2938
|
+
/** Past frames to compare with (1..4). */
|
|
2939
|
+
pastFrames: number;
|
|
2940
|
+
/** Future frames to compare with (0..2). Each one delays the video by 33 to 40 ms. */
|
|
2941
|
+
futureFrames: number;
|
|
2942
|
+
}
|
|
2808
2943
|
/**
|
|
2809
2944
|
* Digital pan, tilt, and zoom state for the main camera.
|
|
2810
2945
|
*
|
|
@@ -2927,6 +3062,10 @@ export declare const ControlMode: MessageFns<ControlMode>;
|
|
|
2927
3062
|
export declare const TiltStabilizationState: MessageFns<TiltStabilizationState>;
|
|
2928
3063
|
export declare const SystemTime: MessageFns<SystemTime>;
|
|
2929
3064
|
export declare const GripperVelocities: MessageFns<GripperVelocities>;
|
|
3065
|
+
export declare const CartesianManipulatorInput: MessageFns<CartesianManipulatorInput>;
|
|
3066
|
+
export declare const CylindricalManipulatorInput: MessageFns<CylindricalManipulatorInput>;
|
|
3067
|
+
export declare const KnownPoseManipulatorInput: MessageFns<KnownPoseManipulatorInput>;
|
|
3068
|
+
export declare const Gripper: MessageFns<Gripper>;
|
|
2930
3069
|
export declare const ClientInfo: MessageFns<ClientInfo>;
|
|
2931
3070
|
export declare const ConnectedClient: MessageFns<ConnectedClient>;
|
|
2932
3071
|
export declare const RecordState: MessageFns<RecordState>;
|
|
@@ -2937,6 +3076,8 @@ export declare const WaterTemperature: MessageFns<WaterTemperature>;
|
|
|
2937
3076
|
export declare const CPUTemperature: MessageFns<CPUTemperature>;
|
|
2938
3077
|
export declare const CanisterTemperature: MessageFns<CanisterTemperature>;
|
|
2939
3078
|
export declare const CanisterHumidity: MessageFns<CanisterHumidity>;
|
|
3079
|
+
export declare const PowerCanister: MessageFns<PowerCanister>;
|
|
3080
|
+
export declare const PowerCanister_Sensors: MessageFns<PowerCanister_Sensors>;
|
|
2940
3081
|
export declare const Battery: MessageFns<Battery>;
|
|
2941
3082
|
export declare const BatteryBQ40Z50: MessageFns<BatteryBQ40Z50>;
|
|
2942
3083
|
export declare const BatteryBQ40Z50_Voltage: MessageFns<BatteryBQ40Z50_Voltage>;
|
|
@@ -2995,6 +3136,7 @@ export declare const MedusaSpectrometerData: MessageFns<MedusaSpectrometerData>;
|
|
|
2995
3136
|
export declare const MultibeamPing: MessageFns<MultibeamPing>;
|
|
2996
3137
|
export declare const MultibeamConfig: MessageFns<MultibeamConfig>;
|
|
2997
3138
|
export declare const MultibeamDiscovery: MessageFns<MultibeamDiscovery>;
|
|
3139
|
+
export declare const MultibeamColorFilter: MessageFns<MultibeamColorFilter>;
|
|
2998
3140
|
export declare const MultibeamErrorFlags: MessageFns<MultibeamErrorFlags>;
|
|
2999
3141
|
export declare const MultibeamFrameOffset: MessageFns<MultibeamFrameOffset>;
|
|
3000
3142
|
export declare const MutltibeamRecordingIndex: MessageFns<MutltibeamRecordingIndex>;
|
|
@@ -3015,6 +3157,7 @@ export declare const SegmentationMask: MessageFns<SegmentationMask>;
|
|
|
3015
3157
|
export declare const ObjectDetection: MessageFns<ObjectDetection>;
|
|
3016
3158
|
export declare const ModelDetections: MessageFns<ModelDetections>;
|
|
3017
3159
|
export declare const FilterMessage: MessageFns<FilterMessage>;
|
|
3160
|
+
export declare const MarineSnowFilterFrames: MessageFns<MarineSnowFilterFrames>;
|
|
3018
3161
|
export declare const CameraPanTiltZoom: MessageFns<CameraPanTiltZoom>;
|
|
3019
3162
|
export declare const OperatorInfo: MessageFns<OperatorInfo>;
|
|
3020
3163
|
export declare const SotState: MessageFns<SotState>;
|