@blueyerobotics/protocol-definitions 3.2.0-e9cac0e4 → 3.2.0-f44d95e9
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/LICENSE +165 -0
- package/README.npm.md +40 -0
- package/dist/control.d.ts +46 -1
- package/dist/control.js +331 -7
- package/dist/message_formats.d.ts +587 -14
- package/dist/message_formats.js +3824 -128
- package/dist/mission_planning.d.ts +54 -0
- package/dist/mission_planning.js +243 -1
- package/dist/req_rep.d.ts +46 -0
- package/dist/req_rep.js +398 -1
- package/dist/telemetry.d.ts +92 -3
- package/dist/telemetry.js +554 -11
- package/package.json +8 -6
package/dist/req_rep.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
// protoc v3.21.12
|
|
6
6
|
// source: req_rep.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.FlashEscSettingsRep = exports.FlashEscSettingsReq = exports.GetPersistentStorageSettingsRep = exports.GetPersistentStorageSettingsReq = exports.SetPersistentStorageSettingsRep = exports.SetPersistentStorageSettingsReq = exports.GetTelemetryRep = exports.GetTelemetryReq = exports.SetPubFrequencyRep = exports.SetPubFrequencyReq = exports.SetHeadingModeRep = exports.SetHeadingModeReq = exports.SetInstructionUpdateRep = exports.SetInstructionUpdateReq = exports.GetMissionRep = exports.GetMissionReq = exports.SetMissionRep = exports.SetMissionReq = exports.GetBatteryRep = exports.GetBatteryReq = exports.DisconnectClientRep = exports.DisconnectClientReq = exports.ConnectClientRep = exports.ConnectClientReq = exports.SetThicknessGaugeParametersRep = exports.SetThicknessGaugeParametersReq = exports.PingRep = exports.PingReq = exports.SyncTimeRep = exports.SyncTimeReq = exports.GetCameraParametersRep = exports.GetCameraParametersReq = exports.SetCameraParametersRep = exports.SetCameraParametersReq = exports.GetOverlayParametersRep = exports.GetOverlayParametersReq = exports.SetOverlayParametersRep = exports.SetOverlayParametersReq = void 0;
|
|
8
|
+
exports.GetLogStreamingStatusRep = exports.GetLogStreamingStatusReq = exports.GetIperfStatusRep = exports.GetIperfStatusReq = exports.SetIperfStatusRep = exports.SetIperfStatusReq = exports.FlashEscSettingsRep = exports.FlashEscSettingsReq = exports.GetPersistentStorageSettingsRep = exports.GetPersistentStorageSettingsReq = exports.SetPersistentStorageSettingsRep = exports.SetPersistentStorageSettingsReq = exports.GetTelemetryRep = exports.GetTelemetryReq = exports.SetLogFrequencyRep = exports.SetLogFrequencyReq = exports.SetPubFrequencyRep = exports.SetPubFrequencyReq = exports.SetHeadingModeRep = exports.SetHeadingModeReq = exports.SetInstructionUpdateRep = exports.SetInstructionUpdateReq = exports.GetMissionRep = exports.GetMissionReq = exports.SetMissionRep = exports.SetMissionReq = exports.GetBatteryRep = exports.GetBatteryReq = exports.DisconnectClientRep = exports.DisconnectClientReq = exports.ConnectClientRep = exports.ConnectClientReq = exports.SetThicknessGaugeParametersRep = exports.SetThicknessGaugeParametersReq = exports.PingRep = exports.PingReq = exports.SyncTimeRep = exports.SyncTimeReq = exports.GetCameraParametersRep = exports.GetCameraParametersReq = exports.SetCameraParametersRep = exports.SetCameraParametersReq = exports.GetOverlayParametersRep = exports.GetOverlayParametersReq = exports.SetOverlayParametersRep = exports.SetOverlayParametersReq = void 0;
|
|
9
9
|
/* eslint-disable */
|
|
10
10
|
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
11
11
|
const any_1 = require("./google/protobuf/any");
|
|
@@ -1489,6 +1489,125 @@ exports.SetPubFrequencyRep = {
|
|
|
1489
1489
|
return message;
|
|
1490
1490
|
},
|
|
1491
1491
|
};
|
|
1492
|
+
function createBaseSetLogFrequencyReq() {
|
|
1493
|
+
return { messageType: "", frequency: 0 };
|
|
1494
|
+
}
|
|
1495
|
+
exports.SetLogFrequencyReq = {
|
|
1496
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
1497
|
+
if (message.messageType !== "") {
|
|
1498
|
+
writer.uint32(10).string(message.messageType);
|
|
1499
|
+
}
|
|
1500
|
+
if (message.frequency !== 0) {
|
|
1501
|
+
writer.uint32(21).float(message.frequency);
|
|
1502
|
+
}
|
|
1503
|
+
return writer;
|
|
1504
|
+
},
|
|
1505
|
+
decode(input, length) {
|
|
1506
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1507
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1508
|
+
const message = createBaseSetLogFrequencyReq();
|
|
1509
|
+
while (reader.pos < end) {
|
|
1510
|
+
const tag = reader.uint32();
|
|
1511
|
+
switch (tag >>> 3) {
|
|
1512
|
+
case 1: {
|
|
1513
|
+
if (tag !== 10) {
|
|
1514
|
+
break;
|
|
1515
|
+
}
|
|
1516
|
+
message.messageType = reader.string();
|
|
1517
|
+
continue;
|
|
1518
|
+
}
|
|
1519
|
+
case 2: {
|
|
1520
|
+
if (tag !== 21) {
|
|
1521
|
+
break;
|
|
1522
|
+
}
|
|
1523
|
+
message.frequency = reader.float();
|
|
1524
|
+
continue;
|
|
1525
|
+
}
|
|
1526
|
+
}
|
|
1527
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1528
|
+
break;
|
|
1529
|
+
}
|
|
1530
|
+
reader.skip(tag & 7);
|
|
1531
|
+
}
|
|
1532
|
+
return message;
|
|
1533
|
+
},
|
|
1534
|
+
fromJSON(object) {
|
|
1535
|
+
return {
|
|
1536
|
+
messageType: isSet(object.messageType) ? gt.String(object.messageType) : "",
|
|
1537
|
+
frequency: isSet(object.frequency) ? gt.Number(object.frequency) : 0,
|
|
1538
|
+
};
|
|
1539
|
+
},
|
|
1540
|
+
toJSON(message) {
|
|
1541
|
+
const obj = {};
|
|
1542
|
+
if (message.messageType !== "") {
|
|
1543
|
+
obj.messageType = message.messageType;
|
|
1544
|
+
}
|
|
1545
|
+
if (message.frequency !== 0) {
|
|
1546
|
+
obj.frequency = message.frequency;
|
|
1547
|
+
}
|
|
1548
|
+
return obj;
|
|
1549
|
+
},
|
|
1550
|
+
create(base) {
|
|
1551
|
+
return exports.SetLogFrequencyReq.fromPartial(base ?? {});
|
|
1552
|
+
},
|
|
1553
|
+
fromPartial(object) {
|
|
1554
|
+
const message = createBaseSetLogFrequencyReq();
|
|
1555
|
+
message.messageType = object.messageType ?? "";
|
|
1556
|
+
message.frequency = object.frequency ?? 0;
|
|
1557
|
+
return message;
|
|
1558
|
+
},
|
|
1559
|
+
};
|
|
1560
|
+
function createBaseSetLogFrequencyRep() {
|
|
1561
|
+
return { success: false };
|
|
1562
|
+
}
|
|
1563
|
+
exports.SetLogFrequencyRep = {
|
|
1564
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
1565
|
+
if (message.success !== false) {
|
|
1566
|
+
writer.uint32(8).bool(message.success);
|
|
1567
|
+
}
|
|
1568
|
+
return writer;
|
|
1569
|
+
},
|
|
1570
|
+
decode(input, length) {
|
|
1571
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1572
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1573
|
+
const message = createBaseSetLogFrequencyRep();
|
|
1574
|
+
while (reader.pos < end) {
|
|
1575
|
+
const tag = reader.uint32();
|
|
1576
|
+
switch (tag >>> 3) {
|
|
1577
|
+
case 1: {
|
|
1578
|
+
if (tag !== 8) {
|
|
1579
|
+
break;
|
|
1580
|
+
}
|
|
1581
|
+
message.success = reader.bool();
|
|
1582
|
+
continue;
|
|
1583
|
+
}
|
|
1584
|
+
}
|
|
1585
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1586
|
+
break;
|
|
1587
|
+
}
|
|
1588
|
+
reader.skip(tag & 7);
|
|
1589
|
+
}
|
|
1590
|
+
return message;
|
|
1591
|
+
},
|
|
1592
|
+
fromJSON(object) {
|
|
1593
|
+
return { success: isSet(object.success) ? gt.Boolean(object.success) : false };
|
|
1594
|
+
},
|
|
1595
|
+
toJSON(message) {
|
|
1596
|
+
const obj = {};
|
|
1597
|
+
if (message.success !== false) {
|
|
1598
|
+
obj.success = message.success;
|
|
1599
|
+
}
|
|
1600
|
+
return obj;
|
|
1601
|
+
},
|
|
1602
|
+
create(base) {
|
|
1603
|
+
return exports.SetLogFrequencyRep.fromPartial(base ?? {});
|
|
1604
|
+
},
|
|
1605
|
+
fromPartial(object) {
|
|
1606
|
+
const message = createBaseSetLogFrequencyRep();
|
|
1607
|
+
message.success = object.success ?? false;
|
|
1608
|
+
return message;
|
|
1609
|
+
},
|
|
1610
|
+
};
|
|
1492
1611
|
function createBaseGetTelemetryReq() {
|
|
1493
1612
|
return { messageType: "" };
|
|
1494
1613
|
}
|
|
@@ -1899,6 +2018,284 @@ exports.FlashEscSettingsRep = {
|
|
|
1899
2018
|
return message;
|
|
1900
2019
|
},
|
|
1901
2020
|
};
|
|
2021
|
+
function createBaseSetIperfStatusReq() {
|
|
2022
|
+
return { enabled: false };
|
|
2023
|
+
}
|
|
2024
|
+
exports.SetIperfStatusReq = {
|
|
2025
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2026
|
+
if (message.enabled !== false) {
|
|
2027
|
+
writer.uint32(8).bool(message.enabled);
|
|
2028
|
+
}
|
|
2029
|
+
return writer;
|
|
2030
|
+
},
|
|
2031
|
+
decode(input, length) {
|
|
2032
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2033
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2034
|
+
const message = createBaseSetIperfStatusReq();
|
|
2035
|
+
while (reader.pos < end) {
|
|
2036
|
+
const tag = reader.uint32();
|
|
2037
|
+
switch (tag >>> 3) {
|
|
2038
|
+
case 1: {
|
|
2039
|
+
if (tag !== 8) {
|
|
2040
|
+
break;
|
|
2041
|
+
}
|
|
2042
|
+
message.enabled = reader.bool();
|
|
2043
|
+
continue;
|
|
2044
|
+
}
|
|
2045
|
+
}
|
|
2046
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2047
|
+
break;
|
|
2048
|
+
}
|
|
2049
|
+
reader.skip(tag & 7);
|
|
2050
|
+
}
|
|
2051
|
+
return message;
|
|
2052
|
+
},
|
|
2053
|
+
fromJSON(object) {
|
|
2054
|
+
return { enabled: isSet(object.enabled) ? gt.Boolean(object.enabled) : false };
|
|
2055
|
+
},
|
|
2056
|
+
toJSON(message) {
|
|
2057
|
+
const obj = {};
|
|
2058
|
+
if (message.enabled !== false) {
|
|
2059
|
+
obj.enabled = message.enabled;
|
|
2060
|
+
}
|
|
2061
|
+
return obj;
|
|
2062
|
+
},
|
|
2063
|
+
create(base) {
|
|
2064
|
+
return exports.SetIperfStatusReq.fromPartial(base ?? {});
|
|
2065
|
+
},
|
|
2066
|
+
fromPartial(object) {
|
|
2067
|
+
const message = createBaseSetIperfStatusReq();
|
|
2068
|
+
message.enabled = object.enabled ?? false;
|
|
2069
|
+
return message;
|
|
2070
|
+
},
|
|
2071
|
+
};
|
|
2072
|
+
function createBaseSetIperfStatusRep() {
|
|
2073
|
+
return { enabled: false };
|
|
2074
|
+
}
|
|
2075
|
+
exports.SetIperfStatusRep = {
|
|
2076
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2077
|
+
if (message.enabled !== false) {
|
|
2078
|
+
writer.uint32(8).bool(message.enabled);
|
|
2079
|
+
}
|
|
2080
|
+
return writer;
|
|
2081
|
+
},
|
|
2082
|
+
decode(input, length) {
|
|
2083
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2084
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2085
|
+
const message = createBaseSetIperfStatusRep();
|
|
2086
|
+
while (reader.pos < end) {
|
|
2087
|
+
const tag = reader.uint32();
|
|
2088
|
+
switch (tag >>> 3) {
|
|
2089
|
+
case 1: {
|
|
2090
|
+
if (tag !== 8) {
|
|
2091
|
+
break;
|
|
2092
|
+
}
|
|
2093
|
+
message.enabled = reader.bool();
|
|
2094
|
+
continue;
|
|
2095
|
+
}
|
|
2096
|
+
}
|
|
2097
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2098
|
+
break;
|
|
2099
|
+
}
|
|
2100
|
+
reader.skip(tag & 7);
|
|
2101
|
+
}
|
|
2102
|
+
return message;
|
|
2103
|
+
},
|
|
2104
|
+
fromJSON(object) {
|
|
2105
|
+
return { enabled: isSet(object.enabled) ? gt.Boolean(object.enabled) : false };
|
|
2106
|
+
},
|
|
2107
|
+
toJSON(message) {
|
|
2108
|
+
const obj = {};
|
|
2109
|
+
if (message.enabled !== false) {
|
|
2110
|
+
obj.enabled = message.enabled;
|
|
2111
|
+
}
|
|
2112
|
+
return obj;
|
|
2113
|
+
},
|
|
2114
|
+
create(base) {
|
|
2115
|
+
return exports.SetIperfStatusRep.fromPartial(base ?? {});
|
|
2116
|
+
},
|
|
2117
|
+
fromPartial(object) {
|
|
2118
|
+
const message = createBaseSetIperfStatusRep();
|
|
2119
|
+
message.enabled = object.enabled ?? false;
|
|
2120
|
+
return message;
|
|
2121
|
+
},
|
|
2122
|
+
};
|
|
2123
|
+
function createBaseGetIperfStatusReq() {
|
|
2124
|
+
return {};
|
|
2125
|
+
}
|
|
2126
|
+
exports.GetIperfStatusReq = {
|
|
2127
|
+
encode(_, writer = new wire_1.BinaryWriter()) {
|
|
2128
|
+
return writer;
|
|
2129
|
+
},
|
|
2130
|
+
decode(input, length) {
|
|
2131
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2132
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2133
|
+
const message = createBaseGetIperfStatusReq();
|
|
2134
|
+
while (reader.pos < end) {
|
|
2135
|
+
const tag = reader.uint32();
|
|
2136
|
+
switch (tag >>> 3) {
|
|
2137
|
+
}
|
|
2138
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2139
|
+
break;
|
|
2140
|
+
}
|
|
2141
|
+
reader.skip(tag & 7);
|
|
2142
|
+
}
|
|
2143
|
+
return message;
|
|
2144
|
+
},
|
|
2145
|
+
fromJSON(_) {
|
|
2146
|
+
return {};
|
|
2147
|
+
},
|
|
2148
|
+
toJSON(_) {
|
|
2149
|
+
const obj = {};
|
|
2150
|
+
return obj;
|
|
2151
|
+
},
|
|
2152
|
+
create(base) {
|
|
2153
|
+
return exports.GetIperfStatusReq.fromPartial(base ?? {});
|
|
2154
|
+
},
|
|
2155
|
+
fromPartial(_) {
|
|
2156
|
+
const message = createBaseGetIperfStatusReq();
|
|
2157
|
+
return message;
|
|
2158
|
+
},
|
|
2159
|
+
};
|
|
2160
|
+
function createBaseGetIperfStatusRep() {
|
|
2161
|
+
return { enabled: false };
|
|
2162
|
+
}
|
|
2163
|
+
exports.GetIperfStatusRep = {
|
|
2164
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2165
|
+
if (message.enabled !== false) {
|
|
2166
|
+
writer.uint32(8).bool(message.enabled);
|
|
2167
|
+
}
|
|
2168
|
+
return writer;
|
|
2169
|
+
},
|
|
2170
|
+
decode(input, length) {
|
|
2171
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2172
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2173
|
+
const message = createBaseGetIperfStatusRep();
|
|
2174
|
+
while (reader.pos < end) {
|
|
2175
|
+
const tag = reader.uint32();
|
|
2176
|
+
switch (tag >>> 3) {
|
|
2177
|
+
case 1: {
|
|
2178
|
+
if (tag !== 8) {
|
|
2179
|
+
break;
|
|
2180
|
+
}
|
|
2181
|
+
message.enabled = reader.bool();
|
|
2182
|
+
continue;
|
|
2183
|
+
}
|
|
2184
|
+
}
|
|
2185
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2186
|
+
break;
|
|
2187
|
+
}
|
|
2188
|
+
reader.skip(tag & 7);
|
|
2189
|
+
}
|
|
2190
|
+
return message;
|
|
2191
|
+
},
|
|
2192
|
+
fromJSON(object) {
|
|
2193
|
+
return { enabled: isSet(object.enabled) ? gt.Boolean(object.enabled) : false };
|
|
2194
|
+
},
|
|
2195
|
+
toJSON(message) {
|
|
2196
|
+
const obj = {};
|
|
2197
|
+
if (message.enabled !== false) {
|
|
2198
|
+
obj.enabled = message.enabled;
|
|
2199
|
+
}
|
|
2200
|
+
return obj;
|
|
2201
|
+
},
|
|
2202
|
+
create(base) {
|
|
2203
|
+
return exports.GetIperfStatusRep.fromPartial(base ?? {});
|
|
2204
|
+
},
|
|
2205
|
+
fromPartial(object) {
|
|
2206
|
+
const message = createBaseGetIperfStatusRep();
|
|
2207
|
+
message.enabled = object.enabled ?? false;
|
|
2208
|
+
return message;
|
|
2209
|
+
},
|
|
2210
|
+
};
|
|
2211
|
+
function createBaseGetLogStreamingStatusReq() {
|
|
2212
|
+
return {};
|
|
2213
|
+
}
|
|
2214
|
+
exports.GetLogStreamingStatusReq = {
|
|
2215
|
+
encode(_, writer = new wire_1.BinaryWriter()) {
|
|
2216
|
+
return writer;
|
|
2217
|
+
},
|
|
2218
|
+
decode(input, length) {
|
|
2219
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2220
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2221
|
+
const message = createBaseGetLogStreamingStatusReq();
|
|
2222
|
+
while (reader.pos < end) {
|
|
2223
|
+
const tag = reader.uint32();
|
|
2224
|
+
switch (tag >>> 3) {
|
|
2225
|
+
}
|
|
2226
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2227
|
+
break;
|
|
2228
|
+
}
|
|
2229
|
+
reader.skip(tag & 7);
|
|
2230
|
+
}
|
|
2231
|
+
return message;
|
|
2232
|
+
},
|
|
2233
|
+
fromJSON(_) {
|
|
2234
|
+
return {};
|
|
2235
|
+
},
|
|
2236
|
+
toJSON(_) {
|
|
2237
|
+
const obj = {};
|
|
2238
|
+
return obj;
|
|
2239
|
+
},
|
|
2240
|
+
create(base) {
|
|
2241
|
+
return exports.GetLogStreamingStatusReq.fromPartial(base ?? {});
|
|
2242
|
+
},
|
|
2243
|
+
fromPartial(_) {
|
|
2244
|
+
const message = createBaseGetLogStreamingStatusReq();
|
|
2245
|
+
return message;
|
|
2246
|
+
},
|
|
2247
|
+
};
|
|
2248
|
+
function createBaseGetLogStreamingStatusRep() {
|
|
2249
|
+
return { enabled: false };
|
|
2250
|
+
}
|
|
2251
|
+
exports.GetLogStreamingStatusRep = {
|
|
2252
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2253
|
+
if (message.enabled !== false) {
|
|
2254
|
+
writer.uint32(8).bool(message.enabled);
|
|
2255
|
+
}
|
|
2256
|
+
return writer;
|
|
2257
|
+
},
|
|
2258
|
+
decode(input, length) {
|
|
2259
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2260
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2261
|
+
const message = createBaseGetLogStreamingStatusRep();
|
|
2262
|
+
while (reader.pos < end) {
|
|
2263
|
+
const tag = reader.uint32();
|
|
2264
|
+
switch (tag >>> 3) {
|
|
2265
|
+
case 1: {
|
|
2266
|
+
if (tag !== 8) {
|
|
2267
|
+
break;
|
|
2268
|
+
}
|
|
2269
|
+
message.enabled = reader.bool();
|
|
2270
|
+
continue;
|
|
2271
|
+
}
|
|
2272
|
+
}
|
|
2273
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2274
|
+
break;
|
|
2275
|
+
}
|
|
2276
|
+
reader.skip(tag & 7);
|
|
2277
|
+
}
|
|
2278
|
+
return message;
|
|
2279
|
+
},
|
|
2280
|
+
fromJSON(object) {
|
|
2281
|
+
return { enabled: isSet(object.enabled) ? gt.Boolean(object.enabled) : false };
|
|
2282
|
+
},
|
|
2283
|
+
toJSON(message) {
|
|
2284
|
+
const obj = {};
|
|
2285
|
+
if (message.enabled !== false) {
|
|
2286
|
+
obj.enabled = message.enabled;
|
|
2287
|
+
}
|
|
2288
|
+
return obj;
|
|
2289
|
+
},
|
|
2290
|
+
create(base) {
|
|
2291
|
+
return exports.GetLogStreamingStatusRep.fromPartial(base ?? {});
|
|
2292
|
+
},
|
|
2293
|
+
fromPartial(object) {
|
|
2294
|
+
const message = createBaseGetLogStreamingStatusRep();
|
|
2295
|
+
message.enabled = object.enabled ?? false;
|
|
2296
|
+
return message;
|
|
2297
|
+
},
|
|
2298
|
+
};
|
|
1902
2299
|
const gt = (() => {
|
|
1903
2300
|
if (typeof globalThis !== "undefined") {
|
|
1904
2301
|
return globalThis;
|
package/dist/telemetry.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
2
|
import { AquaTrollProbeMetadata, AquaTrollSensorMetadataArray, AquaTrollSensorParametersArray } from "./aquatroll";
|
|
3
|
-
import { Altitude, Attitude, Battery, BatteryBQ40Z50, CalibrationState, CanisterHumidity, CanisterTemperature, ConnectedClient, ControlForce, ControllerHealth, ControlMode, CpProbe, CPUInfo, CPUTemperature, Depth, DiveTime, DroneInfo, DvlVelocity, ErrorFlags, ForwardDistance, GenericServo, GuestPortCurrent, Imu, IperfStatus, Laser, LatLongPosition, Lights, MagneticDeclination, MedusaSpectrometerData, MultibeamConfig, MultibeamDiscovery, MultibeamPing, MultibeamServo, Notification, NStreamers, PositionEstimate, RecordState, Reference, RemovableStorageDevice, StorageSpace, SurfaceUnitBatteryInfo, SurfaceUnitVersionInfo, SystemTime, ThicknessGauge, TiltAngle, TiltStabilizationState, TimeLapseState, WaterTemperature } from "./message_formats";
|
|
3
|
+
import { Altitude, Attitude, Battery, BatteryBQ40Z50, CalibrationState, CameraPanTiltZoom, CanisterHumidity, CanisterTemperature, ConnectedClient, ControlForce, ControllerHealth, ControlMode, CpProbe, CPUInfo, CPUTemperature, Depth, DiveTime, DroneInfo, DvlVelocity, ErrorFlags, FilterMessage, ForwardDistance, GenericServo, GuestPortCurrent, Imu, IperfStatus, KernelLogEntry, Laser, LaserDetection, LatLongPosition, Lights, LogEntry, MagneticDeclination, MedusaSpectrometerData, ModelDetections, MultibeamConfig, MultibeamDiscovery, MultibeamPing, MultibeamServo, Notification, NStreamers, PositionEstimate, RecordState, Reference, RemovableStorageDevice, SotState, StorageSpace, SurfaceUnitBatteryInfo, SurfaceUnitVersionInfo, SystemPerformanceInfo, SystemTime, ThicknessGauge, TiltAngle, TiltStabilizationState, TimeLapseState, WaterTemperature } from "./message_formats";
|
|
4
4
|
import { MissionStatus, ReferenceAutoPilot } from "./mission_planning";
|
|
5
5
|
/**
|
|
6
6
|
* Telemetry
|
|
@@ -86,6 +86,8 @@ export interface GuestPortLightsTel {
|
|
|
86
86
|
export interface LaserTel {
|
|
87
87
|
/** Laser status. */
|
|
88
88
|
laser: Laser | undefined;
|
|
89
|
+
/** Detection of the laser by the computer vision pipeline. Only */
|
|
90
|
+
laserDetection: LaserDetection | undefined;
|
|
89
91
|
}
|
|
90
92
|
/** Pilot position (originating from device GPS) for logging. */
|
|
91
93
|
export interface PilotGPSPositionTel {
|
|
@@ -102,18 +104,32 @@ export interface TimeLapseStateTel {
|
|
|
102
104
|
/** Time-lapse state. */
|
|
103
105
|
timeLapseState: TimeLapseState | undefined;
|
|
104
106
|
}
|
|
105
|
-
/**
|
|
107
|
+
/**
|
|
108
|
+
* Receive essential information about the battery status.
|
|
109
|
+
*
|
|
110
|
+
* On models with two batteries running in parallel (e.g. the X7), second_battery
|
|
111
|
+
* holds the essential information for the second battery. When only a single
|
|
112
|
+
* battery is used, second_battery is undefined (not set).
|
|
113
|
+
*/
|
|
106
114
|
export interface BatteryTel {
|
|
107
115
|
/** Essential battery information. */
|
|
108
116
|
battery: Battery | undefined;
|
|
117
|
+
/** Second battery, when present. Not set if only one battery is used. */
|
|
118
|
+
secondBattery: Battery | undefined;
|
|
109
119
|
}
|
|
110
120
|
/**
|
|
111
121
|
* Receive detailed information about a battery using the
|
|
112
122
|
* BQ40Z50 battery management system.
|
|
123
|
+
*
|
|
124
|
+
* On models with two batteries running in parallel (e.g. the X7), second_battery
|
|
125
|
+
* holds the detailed information for the second battery. When only a single
|
|
126
|
+
* battery is used, second_battery is undefined (not set).
|
|
113
127
|
*/
|
|
114
128
|
export interface BatteryBQ40Z50Tel {
|
|
115
129
|
/** Detailed battery information. */
|
|
116
130
|
battery: BatteryBQ40Z50 | undefined;
|
|
131
|
+
/** Second battery, when present. Not set if only one battery is used. */
|
|
132
|
+
secondBattery: BatteryBQ40Z50 | undefined;
|
|
117
133
|
}
|
|
118
134
|
/** Receive the dive time of the drone. */
|
|
119
135
|
export interface DiveTimeTel {
|
|
@@ -240,11 +256,15 @@ export interface ConnectedClientsTel {
|
|
|
240
256
|
export interface GenericServoTel {
|
|
241
257
|
/** Servo state. */
|
|
242
258
|
servo: GenericServo | undefined;
|
|
259
|
+
/** Servo set point (0..1). */
|
|
260
|
+
setPoint: number;
|
|
243
261
|
}
|
|
244
262
|
/** State of the servo installed in the multibeam. */
|
|
245
263
|
export interface MultibeamServoTel {
|
|
246
264
|
/** Multibeam servo state. */
|
|
247
265
|
servo: MultibeamServo | undefined;
|
|
266
|
+
/** Servo set point (-30..30). */
|
|
267
|
+
setPoint: number;
|
|
248
268
|
}
|
|
249
269
|
/** GuestPort current readings. */
|
|
250
270
|
export interface GuestPortCurrentTel {
|
|
@@ -266,6 +286,16 @@ export interface Imu2Tel {
|
|
|
266
286
|
/** Raw IMU data. */
|
|
267
287
|
imu: Imu | undefined;
|
|
268
288
|
}
|
|
289
|
+
/** Raw IMU data from High Precision IMU */
|
|
290
|
+
export interface ImuHpTel {
|
|
291
|
+
/** Raw High Precision IMU data (no magnetometer) */
|
|
292
|
+
imu: Imu | undefined;
|
|
293
|
+
}
|
|
294
|
+
/** Calibrated High Precision IMU data */
|
|
295
|
+
export interface CalibratedImuHpTel {
|
|
296
|
+
/** Calibrated High Precision IMU (no magnetometer) */
|
|
297
|
+
imu: Imu | undefined;
|
|
298
|
+
}
|
|
269
299
|
/** Medusa gamma ray sensor spectrometer data. */
|
|
270
300
|
export interface MedusaSpectrometerDataTel {
|
|
271
301
|
/** Medusa gamma ray sensor spectrometer data. */
|
|
@@ -286,11 +316,21 @@ export interface MultibeamDiscoveryTel {
|
|
|
286
316
|
/** Discovery data from a multibeam sonar. */
|
|
287
317
|
discovery: MultibeamDiscovery | undefined;
|
|
288
318
|
}
|
|
289
|
-
/** Information about
|
|
319
|
+
/** Information about CPU and memory usage (deprecated, use SystemPerformanceInfoTel instead). */
|
|
290
320
|
export interface CPUInfoTel {
|
|
291
321
|
/** CPU information. */
|
|
292
322
|
cpuInfo: CPUInfo | undefined;
|
|
293
323
|
}
|
|
324
|
+
/**
|
|
325
|
+
* System performance telemetry message.
|
|
326
|
+
*
|
|
327
|
+
* Comprehensive performance metrics including per-core CPU, GPU, DLA,
|
|
328
|
+
* memory, thermals, and video codec utilization.
|
|
329
|
+
*/
|
|
330
|
+
export interface SystemPerformanceInfoTel {
|
|
331
|
+
/** System performance information. */
|
|
332
|
+
systemPerformanceInfo: SystemPerformanceInfo | undefined;
|
|
333
|
+
}
|
|
294
334
|
/** Surface Unit telemetry message. */
|
|
295
335
|
export interface SurfaceUnitTel {
|
|
296
336
|
/** Battery information. */
|
|
@@ -298,6 +338,47 @@ export interface SurfaceUnitTel {
|
|
|
298
338
|
/** Version information. */
|
|
299
339
|
versionInfo: SurfaceUnitVersionInfo | undefined;
|
|
300
340
|
}
|
|
341
|
+
/** Log entry telemetry message. */
|
|
342
|
+
export interface LogEntryTel {
|
|
343
|
+
/** Blunux log entry. */
|
|
344
|
+
blunux?: LogEntry | undefined;
|
|
345
|
+
/** Kernel log entry. */
|
|
346
|
+
kernel?: KernelLogEntry | undefined;
|
|
347
|
+
}
|
|
348
|
+
/** Object detections from all active computer vision models. */
|
|
349
|
+
export interface ObjectDetectionsTel {
|
|
350
|
+
/** Per-model detection results. */
|
|
351
|
+
modelDetections: ModelDetections[];
|
|
352
|
+
}
|
|
353
|
+
/**
|
|
354
|
+
* Turbidity filter settings telemetry message.
|
|
355
|
+
*
|
|
356
|
+
* Message is published when the filter settings are changed.
|
|
357
|
+
*/
|
|
358
|
+
export interface TurbidityFilterTel {
|
|
359
|
+
/** Turbidity filter settings. */
|
|
360
|
+
turbidityFilter: FilterMessage | undefined;
|
|
361
|
+
}
|
|
362
|
+
/**
|
|
363
|
+
* Digital pan, tilt, and zoom telemetry from the main camera.
|
|
364
|
+
*
|
|
365
|
+
* Reports the actual pan, tilt, and zoom state of the camera.
|
|
366
|
+
* Only supported on X3 Ultra.
|
|
367
|
+
*/
|
|
368
|
+
export interface CameraPanTiltZoomTel {
|
|
369
|
+
/** Current pan, tilt, and zoom state. */
|
|
370
|
+
cameraPanTiltZoom: CameraPanTiltZoom | undefined;
|
|
371
|
+
}
|
|
372
|
+
/**
|
|
373
|
+
* Single-object tracking (SOT) state telemetry from the computer vision pipeline.
|
|
374
|
+
*
|
|
375
|
+
* Reports the current tracking state and the tracked bounding box when active.
|
|
376
|
+
* Published periodically while the SOT pipeline is running.
|
|
377
|
+
*/
|
|
378
|
+
export interface SotStateTel {
|
|
379
|
+
/** Current SOT state and bounding box. */
|
|
380
|
+
sotState: SotState | undefined;
|
|
381
|
+
}
|
|
301
382
|
export declare const AttitudeTel: MessageFns<AttitudeTel>;
|
|
302
383
|
export declare const MagneticDeclinationTel: MessageFns<MagneticDeclinationTel>;
|
|
303
384
|
export declare const AltitudeTel: MessageFns<AltitudeTel>;
|
|
@@ -348,12 +429,20 @@ export declare const GuestPortCurrentTel: MessageFns<GuestPortCurrentTel>;
|
|
|
348
429
|
export declare const CalibratedImuTel: MessageFns<CalibratedImuTel>;
|
|
349
430
|
export declare const Imu1Tel: MessageFns<Imu1Tel>;
|
|
350
431
|
export declare const Imu2Tel: MessageFns<Imu2Tel>;
|
|
432
|
+
export declare const ImuHpTel: MessageFns<ImuHpTel>;
|
|
433
|
+
export declare const CalibratedImuHpTel: MessageFns<CalibratedImuHpTel>;
|
|
351
434
|
export declare const MedusaSpectrometerDataTel: MessageFns<MedusaSpectrometerDataTel>;
|
|
352
435
|
export declare const MultibeamPingTel: MessageFns<MultibeamPingTel>;
|
|
353
436
|
export declare const MultibeamConfigTel: MessageFns<MultibeamConfigTel>;
|
|
354
437
|
export declare const MultibeamDiscoveryTel: MessageFns<MultibeamDiscoveryTel>;
|
|
355
438
|
export declare const CPUInfoTel: MessageFns<CPUInfoTel>;
|
|
439
|
+
export declare const SystemPerformanceInfoTel: MessageFns<SystemPerformanceInfoTel>;
|
|
356
440
|
export declare const SurfaceUnitTel: MessageFns<SurfaceUnitTel>;
|
|
441
|
+
export declare const LogEntryTel: MessageFns<LogEntryTel>;
|
|
442
|
+
export declare const ObjectDetectionsTel: MessageFns<ObjectDetectionsTel>;
|
|
443
|
+
export declare const TurbidityFilterTel: MessageFns<TurbidityFilterTel>;
|
|
444
|
+
export declare const CameraPanTiltZoomTel: MessageFns<CameraPanTiltZoomTel>;
|
|
445
|
+
export declare const SotStateTel: MessageFns<SotStateTel>;
|
|
357
446
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
358
447
|
type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
359
448
|
[K in keyof T]?: DeepPartial<T[K]>;
|