@blueyerobotics/protocol-definitions 3.3.0-c6f3225a → 3.3.0-fe575d02
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/dist/message_formats.d.ts +4 -0
- package/dist/message_formats.js +23 -0
- package/package.json +1 -1
|
@@ -138,6 +138,8 @@ export declare enum NotificationType {
|
|
|
138
138
|
NOTIFICATION_TYPE_DVL_THERMAL_PROTECTION_MODE_DETECTED = 32,
|
|
139
139
|
/** NOTIFICATION_TYPE_VIDEO_PARTITION_NOT_MOUNTED - Video partition not mounted. */
|
|
140
140
|
NOTIFICATION_TYPE_VIDEO_PARTITION_NOT_MOUNTED = 33,
|
|
141
|
+
/** NOTIFICATION_TYPE_DVL_PROTOCOL_UNSUPPORTED - DVL firmware speaks a protocol version Blunux does not support. */
|
|
142
|
+
NOTIFICATION_TYPE_DVL_PROTOCOL_UNSUPPORTED = 34,
|
|
141
143
|
UNRECOGNIZED = -1
|
|
142
144
|
}
|
|
143
145
|
export declare function notificationTypeFromJSON(object: any): NotificationType;
|
|
@@ -1932,6 +1934,8 @@ export interface ErrorFlags {
|
|
|
1932
1934
|
dvlThermalProtectionMode: boolean;
|
|
1933
1935
|
/** GP protection has been triggered at boot or faulty DVL. */
|
|
1934
1936
|
dvlNoPower: boolean;
|
|
1937
|
+
/** DVL firmware speaks a protocol version Blunux does not support. */
|
|
1938
|
+
dvlProtocolUnsupported: boolean;
|
|
1935
1939
|
/** USB disconnect. */
|
|
1936
1940
|
usbDisconnect: boolean;
|
|
1937
1941
|
/** Video URB error. */
|
package/dist/message_formats.js
CHANGED
|
@@ -390,6 +390,8 @@ var NotificationType;
|
|
|
390
390
|
NotificationType[NotificationType["NOTIFICATION_TYPE_DVL_THERMAL_PROTECTION_MODE_DETECTED"] = 32] = "NOTIFICATION_TYPE_DVL_THERMAL_PROTECTION_MODE_DETECTED";
|
|
391
391
|
/** NOTIFICATION_TYPE_VIDEO_PARTITION_NOT_MOUNTED - Video partition not mounted. */
|
|
392
392
|
NotificationType[NotificationType["NOTIFICATION_TYPE_VIDEO_PARTITION_NOT_MOUNTED"] = 33] = "NOTIFICATION_TYPE_VIDEO_PARTITION_NOT_MOUNTED";
|
|
393
|
+
/** NOTIFICATION_TYPE_DVL_PROTOCOL_UNSUPPORTED - DVL firmware speaks a protocol version Blunux does not support. */
|
|
394
|
+
NotificationType[NotificationType["NOTIFICATION_TYPE_DVL_PROTOCOL_UNSUPPORTED"] = 34] = "NOTIFICATION_TYPE_DVL_PROTOCOL_UNSUPPORTED";
|
|
393
395
|
NotificationType[NotificationType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
394
396
|
})(NotificationType || (exports.NotificationType = NotificationType = {}));
|
|
395
397
|
function notificationTypeFromJSON(object) {
|
|
@@ -496,6 +498,9 @@ function notificationTypeFromJSON(object) {
|
|
|
496
498
|
case 33:
|
|
497
499
|
case "NOTIFICATION_TYPE_VIDEO_PARTITION_NOT_MOUNTED":
|
|
498
500
|
return NotificationType.NOTIFICATION_TYPE_VIDEO_PARTITION_NOT_MOUNTED;
|
|
501
|
+
case 34:
|
|
502
|
+
case "NOTIFICATION_TYPE_DVL_PROTOCOL_UNSUPPORTED":
|
|
503
|
+
return NotificationType.NOTIFICATION_TYPE_DVL_PROTOCOL_UNSUPPORTED;
|
|
499
504
|
case -1:
|
|
500
505
|
case "UNRECOGNIZED":
|
|
501
506
|
default:
|
|
@@ -572,6 +577,8 @@ function notificationTypeToJSON(object) {
|
|
|
572
577
|
return "NOTIFICATION_TYPE_DVL_THERMAL_PROTECTION_MODE_DETECTED";
|
|
573
578
|
case NotificationType.NOTIFICATION_TYPE_VIDEO_PARTITION_NOT_MOUNTED:
|
|
574
579
|
return "NOTIFICATION_TYPE_VIDEO_PARTITION_NOT_MOUNTED";
|
|
580
|
+
case NotificationType.NOTIFICATION_TYPE_DVL_PROTOCOL_UNSUPPORTED:
|
|
581
|
+
return "NOTIFICATION_TYPE_DVL_PROTOCOL_UNSUPPORTED";
|
|
575
582
|
case NotificationType.UNRECOGNIZED:
|
|
576
583
|
default:
|
|
577
584
|
return "UNRECOGNIZED";
|
|
@@ -10849,6 +10856,7 @@ function createBaseErrorFlags() {
|
|
|
10849
10856
|
gp65vCurrent: false,
|
|
10850
10857
|
dvlThermalProtectionMode: false,
|
|
10851
10858
|
dvlNoPower: false,
|
|
10859
|
+
dvlProtocolUnsupported: false,
|
|
10852
10860
|
usbDisconnect: false,
|
|
10853
10861
|
videoUrbError: false,
|
|
10854
10862
|
hardwareNotSupported: false,
|
|
@@ -11096,6 +11104,9 @@ exports.ErrorFlags = {
|
|
|
11096
11104
|
if (message.dvlNoPower !== false) {
|
|
11097
11105
|
writer.uint32(352).bool(message.dvlNoPower);
|
|
11098
11106
|
}
|
|
11107
|
+
if (message.dvlProtocolUnsupported !== false) {
|
|
11108
|
+
writer.uint32(672).bool(message.dvlProtocolUnsupported);
|
|
11109
|
+
}
|
|
11099
11110
|
if (message.usbDisconnect !== false) {
|
|
11100
11111
|
writer.uint32(360).bool(message.usbDisconnect);
|
|
11101
11112
|
}
|
|
@@ -11674,6 +11685,13 @@ exports.ErrorFlags = {
|
|
|
11674
11685
|
message.dvlNoPower = reader.bool();
|
|
11675
11686
|
continue;
|
|
11676
11687
|
}
|
|
11688
|
+
case 84: {
|
|
11689
|
+
if (tag !== 672) {
|
|
11690
|
+
break;
|
|
11691
|
+
}
|
|
11692
|
+
message.dvlProtocolUnsupported = reader.bool();
|
|
11693
|
+
continue;
|
|
11694
|
+
}
|
|
11677
11695
|
case 45: {
|
|
11678
11696
|
if (tag !== 360) {
|
|
11679
11697
|
break;
|
|
@@ -11791,6 +11809,7 @@ exports.ErrorFlags = {
|
|
|
11791
11809
|
? gt.Boolean(object.dvlThermalProtectionMode)
|
|
11792
11810
|
: false,
|
|
11793
11811
|
dvlNoPower: isSet(object.dvlNoPower) ? gt.Boolean(object.dvlNoPower) : false,
|
|
11812
|
+
dvlProtocolUnsupported: isSet(object.dvlProtocolUnsupported) ? gt.Boolean(object.dvlProtocolUnsupported) : false,
|
|
11794
11813
|
usbDisconnect: isSet(object.usbDisconnect) ? gt.Boolean(object.usbDisconnect) : false,
|
|
11795
11814
|
videoUrbError: isSet(object.videoUrbError) ? gt.Boolean(object.videoUrbError) : false,
|
|
11796
11815
|
hardwareNotSupported: isSet(object.hardwareNotSupported) ? gt.Boolean(object.hardwareNotSupported) : false,
|
|
@@ -12038,6 +12057,9 @@ exports.ErrorFlags = {
|
|
|
12038
12057
|
if (message.dvlNoPower !== false) {
|
|
12039
12058
|
obj.dvlNoPower = message.dvlNoPower;
|
|
12040
12059
|
}
|
|
12060
|
+
if (message.dvlProtocolUnsupported !== false) {
|
|
12061
|
+
obj.dvlProtocolUnsupported = message.dvlProtocolUnsupported;
|
|
12062
|
+
}
|
|
12041
12063
|
if (message.usbDisconnect !== false) {
|
|
12042
12064
|
obj.usbDisconnect = message.usbDisconnect;
|
|
12043
12065
|
}
|
|
@@ -12134,6 +12156,7 @@ exports.ErrorFlags = {
|
|
|
12134
12156
|
message.gp65vCurrent = object.gp65vCurrent ?? false;
|
|
12135
12157
|
message.dvlThermalProtectionMode = object.dvlThermalProtectionMode ?? false;
|
|
12136
12158
|
message.dvlNoPower = object.dvlNoPower ?? false;
|
|
12159
|
+
message.dvlProtocolUnsupported = object.dvlProtocolUnsupported ?? false;
|
|
12137
12160
|
message.usbDisconnect = object.usbDisconnect ?? false;
|
|
12138
12161
|
message.videoUrbError = object.videoUrbError ?? false;
|
|
12139
12162
|
message.hardwareNotSupported = object.hardwareNotSupported ?? false;
|