@blueyerobotics/protocol-definitions 3.3.0-e472bef2 → 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.
@@ -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;
@@ -552,6 +554,36 @@ export declare enum NavigationSensorID {
552
554
  }
553
555
  export declare function navigationSensorIDFromJSON(object: any): NavigationSensorID;
554
556
  export declare function navigationSensorIDToJSON(object: NavigationSensorID): string;
557
+ /** Position fix mode reported by the NMEA GSA sentence. */
558
+ export declare enum GnssFixMode {
559
+ /** GNSS_FIX_MODE_UNSPECIFIED - No GSA sentence has been received. */
560
+ GNSS_FIX_MODE_UNSPECIFIED = 0,
561
+ /** GNSS_FIX_MODE_NO_FIX - The receiver has no position fix. */
562
+ GNSS_FIX_MODE_NO_FIX = 1,
563
+ /** GNSS_FIX_MODE_2D - Horizontal fix only, no usable altitude. */
564
+ GNSS_FIX_MODE_2D = 2,
565
+ /** GNSS_FIX_MODE_3D - Full three dimensional fix. */
566
+ GNSS_FIX_MODE_3D = 3,
567
+ UNRECOGNIZED = -1
568
+ }
569
+ export declare function gnssFixModeFromJSON(object: any): GnssFixMode;
570
+ export declare function gnssFixModeToJSON(object: GnssFixMode): string;
571
+ /** GNSS constellation a satellite belongs to. */
572
+ export declare enum GnssConstellation {
573
+ /** GNSS_CONSTELLATION_UNSPECIFIED - Unspecified. */
574
+ GNSS_CONSTELLATION_UNSPECIFIED = 0,
575
+ /** GNSS_CONSTELLATION_GPS - GPS. */
576
+ GNSS_CONSTELLATION_GPS = 1,
577
+ /** GNSS_CONSTELLATION_GLONASS - GLONASS. */
578
+ GNSS_CONSTELLATION_GLONASS = 2,
579
+ /** GNSS_CONSTELLATION_GALILEO - Galileo. */
580
+ GNSS_CONSTELLATION_GALILEO = 3,
581
+ /** GNSS_CONSTELLATION_BEIDOU - BeiDou. */
582
+ GNSS_CONSTELLATION_BEIDOU = 4,
583
+ UNRECOGNIZED = -1
584
+ }
585
+ export declare function gnssConstellationFromJSON(object: any): GnssConstellation;
586
+ export declare function gnssConstellationToJSON(object: GnssConstellation): string;
555
587
  /** Status for guest port devices that can be attached and detached. */
556
588
  export declare enum GuestPortDetachStatus {
557
589
  /** GUEST_PORT_DETACH_STATUS_UNSPECIFIED - Unspecified (Default for non-detachable devices). */
@@ -752,7 +784,7 @@ export interface MotionInput {
752
784
  roll: number;
753
785
  /** Pitch down (negative) or up (positive). (-1..1). */
754
786
  pitch: number;
755
- /** Left (positive) and right (negative) movement (-1..1). */
787
+ /** Clockwise (positive) and counter-clockwise (negative) rotation (-1..1). */
756
788
  yaw: number;
757
789
  /** Modifier used to reduce the speed of the motion (0..1). */
758
790
  slow: number;
@@ -1902,6 +1934,8 @@ export interface ErrorFlags {
1902
1934
  dvlThermalProtectionMode: boolean;
1903
1935
  /** GP protection has been triggered at boot or faulty DVL. */
1904
1936
  dvlNoPower: boolean;
1937
+ /** DVL firmware speaks a protocol version Blunux does not support. */
1938
+ dvlProtocolUnsupported: boolean;
1905
1939
  /** USB disconnect. */
1906
1940
  usbDisconnect: boolean;
1907
1941
  /** Video URB error. */
@@ -2041,6 +2075,86 @@ export interface NavigationSensorStatus {
2041
2075
  /** Global position from sensor. */
2042
2076
  globalPosition: LatLongPosition | undefined;
2043
2077
  }
2078
+ /** Satellite tracked by the Blueye GNSS receiver. */
2079
+ export interface GnssSatellite {
2080
+ /** Constellation the satellite belongs to. */
2081
+ constellation: GnssConstellation;
2082
+ /** Satellite id within the constellation. */
2083
+ satelliteId: number;
2084
+ /** Carrier to noise ratio (dB-Hz). */
2085
+ snr: number;
2086
+ /** Elevation above the horizon (°, 0..90), or -1 when the receiver did not report it. */
2087
+ elevation: number;
2088
+ /** Azimuth clockwise from true north (°, 0..359), or -1 when the receiver did not report it. */
2089
+ azimuth: number;
2090
+ /** Whether GSA lists the satellite as used in the fix. Only meaningful if is_used_in_fix_valid. */
2091
+ usedInFix: boolean;
2092
+ }
2093
+ /** Status of the onboard Blueye GNSS receiver and its driver. */
2094
+ export interface GnssStatus {
2095
+ /** True when the receiver is connected and producing NMEA sentences. */
2096
+ receiverConnected: boolean;
2097
+ /** NMEA GGA fix quality indicator (0 = no fix). */
2098
+ fixQuality: number;
2099
+ /** True when the receiver reports a usable position fix. */
2100
+ isValid: boolean;
2101
+ /** Number of satellites used in the position fix. */
2102
+ satellitesUsed: number;
2103
+ /** Satellites in the satellites list: those with a signal in the latest GSV burst. */
2104
+ satellitesTracked: number;
2105
+ /** Satellites predicted above the horizon, over all constellations; needs no signal. */
2106
+ satellitesInView: number;
2107
+ /** True when GSA could be attributed to a constellation, making used_in_fix usable. */
2108
+ isUsedInFixValid: boolean;
2109
+ /** Fix mode from GSA (2D/3D). */
2110
+ fixMode: GnssFixMode;
2111
+ /** Horizontal dilution of precision. */
2112
+ hdop: number;
2113
+ /** Position (3D) dilution of precision, from GSA. */
2114
+ pdop: number;
2115
+ /** Vertical dilution of precision, from GSA. */
2116
+ vdop: number;
2117
+ /** Reported global position. */
2118
+ globalPosition: LatLongPosition | undefined;
2119
+ /** Altitude above mean sea level (m), from GGA. */
2120
+ altitude: number;
2121
+ /** Standard deviation of the latitude (m). Meaningless unless is_accuracy_valid. */
2122
+ stddevLatitude: number;
2123
+ /** Standard deviation of the longitude (m). Meaningless unless is_accuracy_valid. */
2124
+ stddevLongitude: number;
2125
+ /** Standard deviation of the altitude (m). Meaningless unless is_accuracy_valid. */
2126
+ stddevAltitude: number;
2127
+ /** Semi-major axis of the horizontal error ellipse (m). */
2128
+ stddevSemiMajor: number;
2129
+ /** Semi-minor axis of the horizontal error ellipse (m). */
2130
+ stddevSemiMinor: number;
2131
+ /** Orientation of the semi-major axis, clockwise from true north (°). */
2132
+ errorEllipseOrientation: number;
2133
+ /** RMS of the range residuals (m), from GST. */
2134
+ rangeRms: number;
2135
+ /** True once the receiver has reported a GST sentence to derive the deviations from. */
2136
+ isAccuracyValid: boolean;
2137
+ /** Course over ground (°). Meaningless unless is_course_valid. */
2138
+ courseOverGround: number;
2139
+ /** True when the fix is valid and the receiver actually reported a course. */
2140
+ isCourseValid: boolean;
2141
+ /** Speed over ground (m/s). */
2142
+ speedOverGround: number;
2143
+ /** Age of the differential corrections (s), or -1 without DGPS/RTK. */
2144
+ differentialAge: number;
2145
+ /** Id of the station supplying the differential corrections, or -1 when absent. */
2146
+ differentialStation: number;
2147
+ /** Serial baud rate in use (bit/s). */
2148
+ baudRate: number;
2149
+ /** Times the driver has reconnected to the receiver since boot. */
2150
+ reconnectCount: number;
2151
+ /** Receive errors seen by the driver since boot. */
2152
+ receiveErrorCount: number;
2153
+ /** Time since the last NMEA sentence was received (s). */
2154
+ timeSinceLastSentence: number;
2155
+ /** Satellites currently tracked with signal strength. */
2156
+ satellites: GnssSatellite[];
2157
+ }
2044
2158
  /** Information about a device connected to one of the guest ports. */
2045
2159
  export interface GuestPortDevice {
2046
2160
  /** Blueye device identifier. */
@@ -2632,12 +2746,19 @@ export interface BoundingBox {
2632
2746
  height: number;
2633
2747
  }
2634
2748
  /**
2635
- * RLE-encoded binary segmentation mask relative to the bounding box.
2749
+ * RLE-encoded binary segmentation mask with its own anchor box.
2636
2750
  *
2637
2751
  * The mask bitmap has dimensions (mask_width x mask_height) covering the
2638
- * detection's bounding box area. The counts field stores run-length encoded
2639
- * data as packed uint16 little-endian: alternating background/foreground
2640
- * pixel runs starting with background.
2752
+ * mask_box region of the camera image. The counts field stores run-length
2753
+ * encoded data as packed uint16 little-endian: alternating
2754
+ * background/foreground pixel runs starting with background. Runs longer
2755
+ * than 65535 pixels are split by inserting a zero-length run of the
2756
+ * opposite class (e.g. 70000 becomes 65535, 0, 4465), so decoders need no
2757
+ * special handling — a zero-length run just toggles the class.
2758
+ *
2759
+ * Scale the mask to mask_box, not to the detection's bounding_box: the
2760
+ * bounding box may be smoothed by tracking, while mask_box is pinned to the
2761
+ * raw detection position, so the mask stays on the actual object pixels.
2641
2762
  */
2642
2763
  export interface SegmentationMask {
2643
2764
  /** Width of the RLE bitmap. */
@@ -2646,10 +2767,12 @@ export interface SegmentationMask {
2646
2767
  maskHeight: number;
2647
2768
  /** RLE counts as packed uint16 little-endian. */
2648
2769
  counts: Uint8Array;
2770
+ /** Image region the mask bitmap covers (raw detection position, never smoothed). */
2771
+ maskBox: BoundingBox | undefined;
2649
2772
  }
2650
2773
  /** A single object detection from a computer vision model. */
2651
2774
  export interface ObjectDetection {
2652
- /** Bounding box of the detected object. */
2775
+ /** Bounding box of the detected object (may be smoothed by tracking). */
2653
2776
  boundingBox: BoundingBox | undefined;
2654
2777
  /** Detection confidence score (0..1). */
2655
2778
  confidence: number;
@@ -2854,6 +2977,8 @@ export declare const ErrorFlags: MessageFns<ErrorFlags>;
2854
2977
  export declare const CameraParameters: MessageFns<CameraParameters>;
2855
2978
  export declare const OverlayParameters: MessageFns<OverlayParameters>;
2856
2979
  export declare const NavigationSensorStatus: MessageFns<NavigationSensorStatus>;
2980
+ export declare const GnssSatellite: MessageFns<GnssSatellite>;
2981
+ export declare const GnssStatus: MessageFns<GnssStatus>;
2857
2982
  export declare const GuestPortDevice: MessageFns<GuestPortDevice>;
2858
2983
  export declare const GuestPortDeviceList: MessageFns<GuestPortDeviceList>;
2859
2984
  export declare const GuestPortConnectorInfo: MessageFns<GuestPortConnectorInfo>;
@@ -5,10 +5,10 @@
5
5
  // protoc v3.21.12
6
6
  // source: message_formats.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.Point2D = exports.Laser = exports.Lights = exports.MotionInput = exports.KernelLogEntry_KeyValuePair = exports.KernelLogEntry = exports.LogEntry = exports.BinlogRecord = exports.SotState_State = exports.SurfaceUnitBatteryInfo_ChargeStatus = exports.MultibeamConfig_MaximumNumberOfBeams = exports.MultibeamConfig_PingRate = exports.CvModelInfo_State = exports.CvModelInfo_ModelType = exports.CalibrationState_Status = exports.RemovableStorageDevice_Status = exports.BatteryBQ40Z50_BatteryStatus_BatteryError = exports.PingerConfiguration_MountingDirection = exports.KernelLogEntry_KernelLogLevel = exports.LogEntry_LogLevel = exports.AnnotationSource = exports.ThermalZoneId = exports.MultibeamFrequencyMode = exports.GuestPortError = exports.GuestPortDetachStatus = exports.NavigationSensorID = exports.GuestPortCapability = exports.GuestPortNumber = exports.GuestPortDeviceID = exports.FontSize = exports.ThicknessUnit = exports.DepthUnit = exports.LogoType = exports.TemperatureUnit = exports.RecordingCodec = exports.StreamingProtocol = exports.Camera = exports.Framerate = exports.Resolution = exports.PowerSource = exports.PressureSensorType = exports.Model = exports.StorageLocation = exports.NotificationLevel = exports.NotificationType = exports.ResetCoordinateSource = exports.HeadingMode = exports.HeadingSource = exports.LocationSource = exports.IntervalType = void 0;
9
- exports.ControllerHealth = exports.ControlForce = exports.Notification = exports.Reference = exports.Depth = exports.DvlVelocity = exports.DvlTransducer = exports.ResetPositionSettings = exports.PositionEstimate = exports.ForwardDistance = exports.Altitude = exports.MagneticDeclination = exports.Attitude = exports.BatteryBQ40Z50_BatteryChargingEvents = exports.BatteryBQ40Z50_BatterySafetyEvents = exports.BatteryBQ40Z50_BatteryLifetimes_CellVoltages = exports.BatteryBQ40Z50_BatteryLifetimes = exports.BatteryBQ40Z50_BatteryStatus = exports.BatteryBQ40Z50_Temperature = exports.BatteryBQ40Z50_Voltage = exports.BatteryBQ40Z50 = exports.Battery = exports.CanisterHumidity = exports.CanisterTemperature = exports.CPUTemperature = exports.WaterTemperature = exports.PingerConfiguration = exports.WaterDensity = exports.TimeLapseState = exports.RecordState = exports.ConnectedClient = exports.ClientInfo = exports.GripperVelocities = exports.SystemTime = exports.TiltStabilizationState = exports.ControlMode = exports.VisionTrackingState = exports.OrbitState = exports.ActiveTrackState = exports.SpotlightState = exports.AutoPilotHeaveState = exports.AutoPilotSurgeYawState = exports.WeatherVaningState = exports.StationKeepingState = exports.AutoAltitudeState = exports.AutoDepthState = exports.AutoHeadingState = exports.ConnectionDuration = exports.LatLongPosition = exports.LaserDetection = void 0;
10
- exports.BoundingBox = exports.SurfaceUnitVersionInfo = exports.SurfaceUnitBatteryInfo = exports.SystemPerformanceInfo = exports.NvmeInfo = exports.VideoCodecInfo = exports.ThermalZone = exports.MemoryInfo = exports.DlaInfo = exports.GpuInfo = exports.CpuCoreLoad = exports.CPUInfo = exports.PersistentStorageSettings = exports.MutltibeamRecordingIndex = exports.MultibeamFrameOffset = exports.MultibeamErrorFlags = exports.MultibeamDiscovery = exports.MultibeamConfig = exports.MultibeamPing = exports.MedusaSpectrometerData = exports.Imu = exports.Vector3 = exports.GuestPortCurrent = exports.MultibeamServo = exports.GenericServo = exports.CpProbe = exports.ThicknessGauge = exports.GuestPortRestartInfo = exports.GuestPortInfo = exports.GuestPortConnectorInfo = exports.GuestPortDeviceList = exports.GuestPortDevice = exports.NavigationSensorStatus = exports.OverlayParameters = exports.CameraParameters = exports.ErrorFlags = exports.DroneInfo = exports.CameraCalibration = exports.CvModelInfo = exports.TiltVelocity = exports.TiltAngle = exports.NStreamers = exports.IperfStatus = exports.CalibrationState = exports.RemovableStorageErrorFlags = exports.RemovableStorageDevice = exports.StoragePartition = exports.StorageSpace = exports.RecordOn = exports.DiveTime = void 0;
11
- exports.Annotation = exports.SotState = exports.OperatorInfo = exports.CameraPanTiltZoom = exports.FilterMessage = exports.ModelDetections = exports.ObjectDetection = exports.SegmentationMask = void 0;
8
+ exports.Lights = exports.MotionInput = exports.KernelLogEntry_KeyValuePair = exports.KernelLogEntry = exports.LogEntry = exports.BinlogRecord = exports.SotState_State = exports.SurfaceUnitBatteryInfo_ChargeStatus = exports.MultibeamConfig_MaximumNumberOfBeams = exports.MultibeamConfig_PingRate = exports.CvModelInfo_State = exports.CvModelInfo_ModelType = exports.CalibrationState_Status = exports.RemovableStorageDevice_Status = exports.BatteryBQ40Z50_BatteryStatus_BatteryError = exports.PingerConfiguration_MountingDirection = exports.KernelLogEntry_KernelLogLevel = exports.LogEntry_LogLevel = exports.AnnotationSource = exports.ThermalZoneId = exports.MultibeamFrequencyMode = exports.GuestPortError = exports.GuestPortDetachStatus = exports.GnssConstellation = exports.GnssFixMode = exports.NavigationSensorID = exports.GuestPortCapability = exports.GuestPortNumber = exports.GuestPortDeviceID = exports.FontSize = exports.ThicknessUnit = exports.DepthUnit = exports.LogoType = exports.TemperatureUnit = exports.RecordingCodec = exports.StreamingProtocol = exports.Camera = exports.Framerate = exports.Resolution = exports.PowerSource = exports.PressureSensorType = exports.Model = exports.StorageLocation = exports.NotificationLevel = exports.NotificationType = exports.ResetCoordinateSource = exports.HeadingMode = exports.HeadingSource = exports.LocationSource = exports.IntervalType = void 0;
9
+ exports.Notification = exports.Reference = exports.Depth = exports.DvlVelocity = exports.DvlTransducer = exports.ResetPositionSettings = exports.PositionEstimate = exports.ForwardDistance = exports.Altitude = exports.MagneticDeclination = exports.Attitude = exports.BatteryBQ40Z50_BatteryChargingEvents = exports.BatteryBQ40Z50_BatterySafetyEvents = exports.BatteryBQ40Z50_BatteryLifetimes_CellVoltages = exports.BatteryBQ40Z50_BatteryLifetimes = exports.BatteryBQ40Z50_BatteryStatus = exports.BatteryBQ40Z50_Temperature = exports.BatteryBQ40Z50_Voltage = exports.BatteryBQ40Z50 = exports.Battery = exports.CanisterHumidity = exports.CanisterTemperature = exports.CPUTemperature = exports.WaterTemperature = exports.PingerConfiguration = exports.WaterDensity = exports.TimeLapseState = exports.RecordState = exports.ConnectedClient = exports.ClientInfo = exports.GripperVelocities = exports.SystemTime = exports.TiltStabilizationState = exports.ControlMode = exports.VisionTrackingState = exports.OrbitState = exports.ActiveTrackState = exports.SpotlightState = exports.AutoPilotHeaveState = exports.AutoPilotSurgeYawState = exports.WeatherVaningState = exports.StationKeepingState = exports.AutoAltitudeState = exports.AutoDepthState = exports.AutoHeadingState = exports.ConnectionDuration = exports.LatLongPosition = exports.LaserDetection = exports.Point2D = exports.Laser = void 0;
10
+ exports.NvmeInfo = exports.VideoCodecInfo = exports.ThermalZone = exports.MemoryInfo = exports.DlaInfo = exports.GpuInfo = exports.CpuCoreLoad = exports.CPUInfo = exports.PersistentStorageSettings = exports.MutltibeamRecordingIndex = exports.MultibeamFrameOffset = exports.MultibeamErrorFlags = exports.MultibeamDiscovery = exports.MultibeamConfig = exports.MultibeamPing = exports.MedusaSpectrometerData = exports.Imu = exports.Vector3 = exports.GuestPortCurrent = exports.MultibeamServo = exports.GenericServo = exports.CpProbe = exports.ThicknessGauge = exports.GuestPortRestartInfo = exports.GuestPortInfo = exports.GuestPortConnectorInfo = exports.GuestPortDeviceList = exports.GuestPortDevice = exports.GnssStatus = exports.GnssSatellite = exports.NavigationSensorStatus = exports.OverlayParameters = exports.CameraParameters = exports.ErrorFlags = exports.DroneInfo = exports.CameraCalibration = exports.CvModelInfo = exports.TiltVelocity = exports.TiltAngle = exports.NStreamers = exports.IperfStatus = exports.CalibrationState = exports.RemovableStorageErrorFlags = exports.RemovableStorageDevice = exports.StoragePartition = exports.StorageSpace = exports.RecordOn = exports.DiveTime = exports.ControllerHealth = exports.ControlForce = void 0;
11
+ exports.Annotation = exports.SotState = exports.OperatorInfo = exports.CameraPanTiltZoom = exports.FilterMessage = exports.ModelDetections = exports.ObjectDetection = exports.SegmentationMask = exports.BoundingBox = exports.SurfaceUnitVersionInfo = exports.SurfaceUnitBatteryInfo = exports.SystemPerformanceInfo = void 0;
12
12
  exports.intervalTypeFromJSON = intervalTypeFromJSON;
13
13
  exports.intervalTypeToJSON = intervalTypeToJSON;
14
14
  exports.locationSourceFromJSON = locationSourceFromJSON;
@@ -59,6 +59,10 @@ exports.guestPortCapabilityFromJSON = guestPortCapabilityFromJSON;
59
59
  exports.guestPortCapabilityToJSON = guestPortCapabilityToJSON;
60
60
  exports.navigationSensorIDFromJSON = navigationSensorIDFromJSON;
61
61
  exports.navigationSensorIDToJSON = navigationSensorIDToJSON;
62
+ exports.gnssFixModeFromJSON = gnssFixModeFromJSON;
63
+ exports.gnssFixModeToJSON = gnssFixModeToJSON;
64
+ exports.gnssConstellationFromJSON = gnssConstellationFromJSON;
65
+ exports.gnssConstellationToJSON = gnssConstellationToJSON;
62
66
  exports.guestPortDetachStatusFromJSON = guestPortDetachStatusFromJSON;
63
67
  exports.guestPortDetachStatusToJSON = guestPortDetachStatusToJSON;
64
68
  exports.guestPortErrorFromJSON = guestPortErrorFromJSON;
@@ -386,6 +390,8 @@ var NotificationType;
386
390
  NotificationType[NotificationType["NOTIFICATION_TYPE_DVL_THERMAL_PROTECTION_MODE_DETECTED"] = 32] = "NOTIFICATION_TYPE_DVL_THERMAL_PROTECTION_MODE_DETECTED";
387
391
  /** NOTIFICATION_TYPE_VIDEO_PARTITION_NOT_MOUNTED - Video partition not mounted. */
388
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";
389
395
  NotificationType[NotificationType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
390
396
  })(NotificationType || (exports.NotificationType = NotificationType = {}));
391
397
  function notificationTypeFromJSON(object) {
@@ -492,6 +498,9 @@ function notificationTypeFromJSON(object) {
492
498
  case 33:
493
499
  case "NOTIFICATION_TYPE_VIDEO_PARTITION_NOT_MOUNTED":
494
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;
495
504
  case -1:
496
505
  case "UNRECOGNIZED":
497
506
  default:
@@ -568,6 +577,8 @@ function notificationTypeToJSON(object) {
568
577
  return "NOTIFICATION_TYPE_DVL_THERMAL_PROTECTION_MODE_DETECTED";
569
578
  case NotificationType.NOTIFICATION_TYPE_VIDEO_PARTITION_NOT_MOUNTED:
570
579
  return "NOTIFICATION_TYPE_VIDEO_PARTITION_NOT_MOUNTED";
580
+ case NotificationType.NOTIFICATION_TYPE_DVL_PROTOCOL_UNSUPPORTED:
581
+ return "NOTIFICATION_TYPE_DVL_PROTOCOL_UNSUPPORTED";
571
582
  case NotificationType.UNRECOGNIZED:
572
583
  default:
573
584
  return "UNRECOGNIZED";
@@ -1934,6 +1945,109 @@ function navigationSensorIDToJSON(object) {
1934
1945
  return "UNRECOGNIZED";
1935
1946
  }
1936
1947
  }
1948
+ /** Position fix mode reported by the NMEA GSA sentence. */
1949
+ var GnssFixMode;
1950
+ (function (GnssFixMode) {
1951
+ /** GNSS_FIX_MODE_UNSPECIFIED - No GSA sentence has been received. */
1952
+ GnssFixMode[GnssFixMode["GNSS_FIX_MODE_UNSPECIFIED"] = 0] = "GNSS_FIX_MODE_UNSPECIFIED";
1953
+ /** GNSS_FIX_MODE_NO_FIX - The receiver has no position fix. */
1954
+ GnssFixMode[GnssFixMode["GNSS_FIX_MODE_NO_FIX"] = 1] = "GNSS_FIX_MODE_NO_FIX";
1955
+ /** GNSS_FIX_MODE_2D - Horizontal fix only, no usable altitude. */
1956
+ GnssFixMode[GnssFixMode["GNSS_FIX_MODE_2D"] = 2] = "GNSS_FIX_MODE_2D";
1957
+ /** GNSS_FIX_MODE_3D - Full three dimensional fix. */
1958
+ GnssFixMode[GnssFixMode["GNSS_FIX_MODE_3D"] = 3] = "GNSS_FIX_MODE_3D";
1959
+ GnssFixMode[GnssFixMode["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
1960
+ })(GnssFixMode || (exports.GnssFixMode = GnssFixMode = {}));
1961
+ function gnssFixModeFromJSON(object) {
1962
+ switch (object) {
1963
+ case 0:
1964
+ case "GNSS_FIX_MODE_UNSPECIFIED":
1965
+ return GnssFixMode.GNSS_FIX_MODE_UNSPECIFIED;
1966
+ case 1:
1967
+ case "GNSS_FIX_MODE_NO_FIX":
1968
+ return GnssFixMode.GNSS_FIX_MODE_NO_FIX;
1969
+ case 2:
1970
+ case "GNSS_FIX_MODE_2D":
1971
+ return GnssFixMode.GNSS_FIX_MODE_2D;
1972
+ case 3:
1973
+ case "GNSS_FIX_MODE_3D":
1974
+ return GnssFixMode.GNSS_FIX_MODE_3D;
1975
+ case -1:
1976
+ case "UNRECOGNIZED":
1977
+ default:
1978
+ return GnssFixMode.UNRECOGNIZED;
1979
+ }
1980
+ }
1981
+ function gnssFixModeToJSON(object) {
1982
+ switch (object) {
1983
+ case GnssFixMode.GNSS_FIX_MODE_UNSPECIFIED:
1984
+ return "GNSS_FIX_MODE_UNSPECIFIED";
1985
+ case GnssFixMode.GNSS_FIX_MODE_NO_FIX:
1986
+ return "GNSS_FIX_MODE_NO_FIX";
1987
+ case GnssFixMode.GNSS_FIX_MODE_2D:
1988
+ return "GNSS_FIX_MODE_2D";
1989
+ case GnssFixMode.GNSS_FIX_MODE_3D:
1990
+ return "GNSS_FIX_MODE_3D";
1991
+ case GnssFixMode.UNRECOGNIZED:
1992
+ default:
1993
+ return "UNRECOGNIZED";
1994
+ }
1995
+ }
1996
+ /** GNSS constellation a satellite belongs to. */
1997
+ var GnssConstellation;
1998
+ (function (GnssConstellation) {
1999
+ /** GNSS_CONSTELLATION_UNSPECIFIED - Unspecified. */
2000
+ GnssConstellation[GnssConstellation["GNSS_CONSTELLATION_UNSPECIFIED"] = 0] = "GNSS_CONSTELLATION_UNSPECIFIED";
2001
+ /** GNSS_CONSTELLATION_GPS - GPS. */
2002
+ GnssConstellation[GnssConstellation["GNSS_CONSTELLATION_GPS"] = 1] = "GNSS_CONSTELLATION_GPS";
2003
+ /** GNSS_CONSTELLATION_GLONASS - GLONASS. */
2004
+ GnssConstellation[GnssConstellation["GNSS_CONSTELLATION_GLONASS"] = 2] = "GNSS_CONSTELLATION_GLONASS";
2005
+ /** GNSS_CONSTELLATION_GALILEO - Galileo. */
2006
+ GnssConstellation[GnssConstellation["GNSS_CONSTELLATION_GALILEO"] = 3] = "GNSS_CONSTELLATION_GALILEO";
2007
+ /** GNSS_CONSTELLATION_BEIDOU - BeiDou. */
2008
+ GnssConstellation[GnssConstellation["GNSS_CONSTELLATION_BEIDOU"] = 4] = "GNSS_CONSTELLATION_BEIDOU";
2009
+ GnssConstellation[GnssConstellation["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
2010
+ })(GnssConstellation || (exports.GnssConstellation = GnssConstellation = {}));
2011
+ function gnssConstellationFromJSON(object) {
2012
+ switch (object) {
2013
+ case 0:
2014
+ case "GNSS_CONSTELLATION_UNSPECIFIED":
2015
+ return GnssConstellation.GNSS_CONSTELLATION_UNSPECIFIED;
2016
+ case 1:
2017
+ case "GNSS_CONSTELLATION_GPS":
2018
+ return GnssConstellation.GNSS_CONSTELLATION_GPS;
2019
+ case 2:
2020
+ case "GNSS_CONSTELLATION_GLONASS":
2021
+ return GnssConstellation.GNSS_CONSTELLATION_GLONASS;
2022
+ case 3:
2023
+ case "GNSS_CONSTELLATION_GALILEO":
2024
+ return GnssConstellation.GNSS_CONSTELLATION_GALILEO;
2025
+ case 4:
2026
+ case "GNSS_CONSTELLATION_BEIDOU":
2027
+ return GnssConstellation.GNSS_CONSTELLATION_BEIDOU;
2028
+ case -1:
2029
+ case "UNRECOGNIZED":
2030
+ default:
2031
+ return GnssConstellation.UNRECOGNIZED;
2032
+ }
2033
+ }
2034
+ function gnssConstellationToJSON(object) {
2035
+ switch (object) {
2036
+ case GnssConstellation.GNSS_CONSTELLATION_UNSPECIFIED:
2037
+ return "GNSS_CONSTELLATION_UNSPECIFIED";
2038
+ case GnssConstellation.GNSS_CONSTELLATION_GPS:
2039
+ return "GNSS_CONSTELLATION_GPS";
2040
+ case GnssConstellation.GNSS_CONSTELLATION_GLONASS:
2041
+ return "GNSS_CONSTELLATION_GLONASS";
2042
+ case GnssConstellation.GNSS_CONSTELLATION_GALILEO:
2043
+ return "GNSS_CONSTELLATION_GALILEO";
2044
+ case GnssConstellation.GNSS_CONSTELLATION_BEIDOU:
2045
+ return "GNSS_CONSTELLATION_BEIDOU";
2046
+ case GnssConstellation.UNRECOGNIZED:
2047
+ default:
2048
+ return "UNRECOGNIZED";
2049
+ }
2050
+ }
1937
2051
  /** Status for guest port devices that can be attached and detached. */
1938
2052
  var GuestPortDetachStatus;
1939
2053
  (function (GuestPortDetachStatus) {
@@ -10742,6 +10856,7 @@ function createBaseErrorFlags() {
10742
10856
  gp65vCurrent: false,
10743
10857
  dvlThermalProtectionMode: false,
10744
10858
  dvlNoPower: false,
10859
+ dvlProtocolUnsupported: false,
10745
10860
  usbDisconnect: false,
10746
10861
  videoUrbError: false,
10747
10862
  hardwareNotSupported: false,
@@ -10989,6 +11104,9 @@ exports.ErrorFlags = {
10989
11104
  if (message.dvlNoPower !== false) {
10990
11105
  writer.uint32(352).bool(message.dvlNoPower);
10991
11106
  }
11107
+ if (message.dvlProtocolUnsupported !== false) {
11108
+ writer.uint32(672).bool(message.dvlProtocolUnsupported);
11109
+ }
10992
11110
  if (message.usbDisconnect !== false) {
10993
11111
  writer.uint32(360).bool(message.usbDisconnect);
10994
11112
  }
@@ -11567,6 +11685,13 @@ exports.ErrorFlags = {
11567
11685
  message.dvlNoPower = reader.bool();
11568
11686
  continue;
11569
11687
  }
11688
+ case 84: {
11689
+ if (tag !== 672) {
11690
+ break;
11691
+ }
11692
+ message.dvlProtocolUnsupported = reader.bool();
11693
+ continue;
11694
+ }
11570
11695
  case 45: {
11571
11696
  if (tag !== 360) {
11572
11697
  break;
@@ -11684,6 +11809,7 @@ exports.ErrorFlags = {
11684
11809
  ? gt.Boolean(object.dvlThermalProtectionMode)
11685
11810
  : false,
11686
11811
  dvlNoPower: isSet(object.dvlNoPower) ? gt.Boolean(object.dvlNoPower) : false,
11812
+ dvlProtocolUnsupported: isSet(object.dvlProtocolUnsupported) ? gt.Boolean(object.dvlProtocolUnsupported) : false,
11687
11813
  usbDisconnect: isSet(object.usbDisconnect) ? gt.Boolean(object.usbDisconnect) : false,
11688
11814
  videoUrbError: isSet(object.videoUrbError) ? gt.Boolean(object.videoUrbError) : false,
11689
11815
  hardwareNotSupported: isSet(object.hardwareNotSupported) ? gt.Boolean(object.hardwareNotSupported) : false,
@@ -11931,6 +12057,9 @@ exports.ErrorFlags = {
11931
12057
  if (message.dvlNoPower !== false) {
11932
12058
  obj.dvlNoPower = message.dvlNoPower;
11933
12059
  }
12060
+ if (message.dvlProtocolUnsupported !== false) {
12061
+ obj.dvlProtocolUnsupported = message.dvlProtocolUnsupported;
12062
+ }
11934
12063
  if (message.usbDisconnect !== false) {
11935
12064
  obj.usbDisconnect = message.usbDisconnect;
11936
12065
  }
@@ -12027,6 +12156,7 @@ exports.ErrorFlags = {
12027
12156
  message.gp65vCurrent = object.gp65vCurrent ?? false;
12028
12157
  message.dvlThermalProtectionMode = object.dvlThermalProtectionMode ?? false;
12029
12158
  message.dvlNoPower = object.dvlNoPower ?? false;
12159
+ message.dvlProtocolUnsupported = object.dvlProtocolUnsupported ?? false;
12030
12160
  message.usbDisconnect = object.usbDisconnect ?? false;
12031
12161
  message.videoUrbError = object.videoUrbError ?? false;
12032
12162
  message.hardwareNotSupported = object.hardwareNotSupported ?? false;
@@ -13048,6 +13178,673 @@ exports.NavigationSensorStatus = {
13048
13178
  return message;
13049
13179
  },
13050
13180
  };
13181
+ function createBaseGnssSatellite() {
13182
+ return { constellation: 0, satelliteId: 0, snr: 0, elevation: 0, azimuth: 0, usedInFix: false };
13183
+ }
13184
+ exports.GnssSatellite = {
13185
+ encode(message, writer = new wire_1.BinaryWriter()) {
13186
+ if (message.constellation !== 0) {
13187
+ writer.uint32(8).int32(message.constellation);
13188
+ }
13189
+ if (message.satelliteId !== 0) {
13190
+ writer.uint32(16).uint32(message.satelliteId);
13191
+ }
13192
+ if (message.snr !== 0) {
13193
+ writer.uint32(24).uint32(message.snr);
13194
+ }
13195
+ if (message.elevation !== 0) {
13196
+ writer.uint32(32).int32(message.elevation);
13197
+ }
13198
+ if (message.azimuth !== 0) {
13199
+ writer.uint32(40).int32(message.azimuth);
13200
+ }
13201
+ if (message.usedInFix !== false) {
13202
+ writer.uint32(48).bool(message.usedInFix);
13203
+ }
13204
+ return writer;
13205
+ },
13206
+ decode(input, length) {
13207
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
13208
+ const end = length === undefined ? reader.len : reader.pos + length;
13209
+ const message = createBaseGnssSatellite();
13210
+ while (reader.pos < end) {
13211
+ const tag = reader.uint32();
13212
+ switch (tag >>> 3) {
13213
+ case 1: {
13214
+ if (tag !== 8) {
13215
+ break;
13216
+ }
13217
+ message.constellation = reader.int32();
13218
+ continue;
13219
+ }
13220
+ case 2: {
13221
+ if (tag !== 16) {
13222
+ break;
13223
+ }
13224
+ message.satelliteId = reader.uint32();
13225
+ continue;
13226
+ }
13227
+ case 3: {
13228
+ if (tag !== 24) {
13229
+ break;
13230
+ }
13231
+ message.snr = reader.uint32();
13232
+ continue;
13233
+ }
13234
+ case 4: {
13235
+ if (tag !== 32) {
13236
+ break;
13237
+ }
13238
+ message.elevation = reader.int32();
13239
+ continue;
13240
+ }
13241
+ case 5: {
13242
+ if (tag !== 40) {
13243
+ break;
13244
+ }
13245
+ message.azimuth = reader.int32();
13246
+ continue;
13247
+ }
13248
+ case 6: {
13249
+ if (tag !== 48) {
13250
+ break;
13251
+ }
13252
+ message.usedInFix = reader.bool();
13253
+ continue;
13254
+ }
13255
+ }
13256
+ if ((tag & 7) === 4 || tag === 0) {
13257
+ break;
13258
+ }
13259
+ reader.skip(tag & 7);
13260
+ }
13261
+ return message;
13262
+ },
13263
+ fromJSON(object) {
13264
+ return {
13265
+ constellation: isSet(object.constellation) ? gnssConstellationFromJSON(object.constellation) : 0,
13266
+ satelliteId: isSet(object.satelliteId) ? gt.Number(object.satelliteId) : 0,
13267
+ snr: isSet(object.snr) ? gt.Number(object.snr) : 0,
13268
+ elevation: isSet(object.elevation) ? gt.Number(object.elevation) : 0,
13269
+ azimuth: isSet(object.azimuth) ? gt.Number(object.azimuth) : 0,
13270
+ usedInFix: isSet(object.usedInFix) ? gt.Boolean(object.usedInFix) : false,
13271
+ };
13272
+ },
13273
+ toJSON(message) {
13274
+ const obj = {};
13275
+ if (message.constellation !== 0) {
13276
+ obj.constellation = gnssConstellationToJSON(message.constellation);
13277
+ }
13278
+ if (message.satelliteId !== 0) {
13279
+ obj.satelliteId = Math.round(message.satelliteId);
13280
+ }
13281
+ if (message.snr !== 0) {
13282
+ obj.snr = Math.round(message.snr);
13283
+ }
13284
+ if (message.elevation !== 0) {
13285
+ obj.elevation = Math.round(message.elevation);
13286
+ }
13287
+ if (message.azimuth !== 0) {
13288
+ obj.azimuth = Math.round(message.azimuth);
13289
+ }
13290
+ if (message.usedInFix !== false) {
13291
+ obj.usedInFix = message.usedInFix;
13292
+ }
13293
+ return obj;
13294
+ },
13295
+ create(base) {
13296
+ return exports.GnssSatellite.fromPartial(base ?? {});
13297
+ },
13298
+ fromPartial(object) {
13299
+ const message = createBaseGnssSatellite();
13300
+ message.constellation = object.constellation ?? 0;
13301
+ message.satelliteId = object.satelliteId ?? 0;
13302
+ message.snr = object.snr ?? 0;
13303
+ message.elevation = object.elevation ?? 0;
13304
+ message.azimuth = object.azimuth ?? 0;
13305
+ message.usedInFix = object.usedInFix ?? false;
13306
+ return message;
13307
+ },
13308
+ };
13309
+ function createBaseGnssStatus() {
13310
+ return {
13311
+ receiverConnected: false,
13312
+ fixQuality: 0,
13313
+ isValid: false,
13314
+ satellitesUsed: 0,
13315
+ satellitesTracked: 0,
13316
+ satellitesInView: 0,
13317
+ isUsedInFixValid: false,
13318
+ fixMode: 0,
13319
+ hdop: 0,
13320
+ pdop: 0,
13321
+ vdop: 0,
13322
+ globalPosition: undefined,
13323
+ altitude: 0,
13324
+ stddevLatitude: 0,
13325
+ stddevLongitude: 0,
13326
+ stddevAltitude: 0,
13327
+ stddevSemiMajor: 0,
13328
+ stddevSemiMinor: 0,
13329
+ errorEllipseOrientation: 0,
13330
+ rangeRms: 0,
13331
+ isAccuracyValid: false,
13332
+ courseOverGround: 0,
13333
+ isCourseValid: false,
13334
+ speedOverGround: 0,
13335
+ differentialAge: 0,
13336
+ differentialStation: 0,
13337
+ baudRate: 0,
13338
+ reconnectCount: 0,
13339
+ receiveErrorCount: 0,
13340
+ timeSinceLastSentence: 0,
13341
+ satellites: [],
13342
+ };
13343
+ }
13344
+ exports.GnssStatus = {
13345
+ encode(message, writer = new wire_1.BinaryWriter()) {
13346
+ if (message.receiverConnected !== false) {
13347
+ writer.uint32(8).bool(message.receiverConnected);
13348
+ }
13349
+ if (message.fixQuality !== 0) {
13350
+ writer.uint32(16).uint32(message.fixQuality);
13351
+ }
13352
+ if (message.isValid !== false) {
13353
+ writer.uint32(24).bool(message.isValid);
13354
+ }
13355
+ if (message.satellitesUsed !== 0) {
13356
+ writer.uint32(32).uint32(message.satellitesUsed);
13357
+ }
13358
+ if (message.satellitesTracked !== 0) {
13359
+ writer.uint32(40).uint32(message.satellitesTracked);
13360
+ }
13361
+ if (message.satellitesInView !== 0) {
13362
+ writer.uint32(136).uint32(message.satellitesInView);
13363
+ }
13364
+ if (message.isUsedInFixValid !== false) {
13365
+ writer.uint32(160).bool(message.isUsedInFixValid);
13366
+ }
13367
+ if (message.fixMode !== 0) {
13368
+ writer.uint32(168).int32(message.fixMode);
13369
+ }
13370
+ if (message.hdop !== 0) {
13371
+ writer.uint32(53).float(message.hdop);
13372
+ }
13373
+ if (message.pdop !== 0) {
13374
+ writer.uint32(181).float(message.pdop);
13375
+ }
13376
+ if (message.vdop !== 0) {
13377
+ writer.uint32(189).float(message.vdop);
13378
+ }
13379
+ if (message.globalPosition !== undefined) {
13380
+ exports.LatLongPosition.encode(message.globalPosition, writer.uint32(58).fork()).join();
13381
+ }
13382
+ if (message.altitude !== 0) {
13383
+ writer.uint32(197).float(message.altitude);
13384
+ }
13385
+ if (message.stddevLatitude !== 0) {
13386
+ writer.uint32(69).float(message.stddevLatitude);
13387
+ }
13388
+ if (message.stddevLongitude !== 0) {
13389
+ writer.uint32(77).float(message.stddevLongitude);
13390
+ }
13391
+ if (message.stddevAltitude !== 0) {
13392
+ writer.uint32(205).float(message.stddevAltitude);
13393
+ }
13394
+ if (message.stddevSemiMajor !== 0) {
13395
+ writer.uint32(213).float(message.stddevSemiMajor);
13396
+ }
13397
+ if (message.stddevSemiMinor !== 0) {
13398
+ writer.uint32(221).float(message.stddevSemiMinor);
13399
+ }
13400
+ if (message.errorEllipseOrientation !== 0) {
13401
+ writer.uint32(229).float(message.errorEllipseOrientation);
13402
+ }
13403
+ if (message.rangeRms !== 0) {
13404
+ writer.uint32(237).float(message.rangeRms);
13405
+ }
13406
+ if (message.isAccuracyValid !== false) {
13407
+ writer.uint32(144).bool(message.isAccuracyValid);
13408
+ }
13409
+ if (message.courseOverGround !== 0) {
13410
+ writer.uint32(85).float(message.courseOverGround);
13411
+ }
13412
+ if (message.isCourseValid !== false) {
13413
+ writer.uint32(152).bool(message.isCourseValid);
13414
+ }
13415
+ if (message.speedOverGround !== 0) {
13416
+ writer.uint32(93).float(message.speedOverGround);
13417
+ }
13418
+ if (message.differentialAge !== 0) {
13419
+ writer.uint32(245).float(message.differentialAge);
13420
+ }
13421
+ if (message.differentialStation !== 0) {
13422
+ writer.uint32(248).int32(message.differentialStation);
13423
+ }
13424
+ if (message.baudRate !== 0) {
13425
+ writer.uint32(96).uint32(message.baudRate);
13426
+ }
13427
+ if (message.reconnectCount !== 0) {
13428
+ writer.uint32(104).uint32(message.reconnectCount);
13429
+ }
13430
+ if (message.receiveErrorCount !== 0) {
13431
+ writer.uint32(112).uint32(message.receiveErrorCount);
13432
+ }
13433
+ if (message.timeSinceLastSentence !== 0) {
13434
+ writer.uint32(125).float(message.timeSinceLastSentence);
13435
+ }
13436
+ for (const v of message.satellites) {
13437
+ exports.GnssSatellite.encode(v, writer.uint32(130).fork()).join();
13438
+ }
13439
+ return writer;
13440
+ },
13441
+ decode(input, length) {
13442
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
13443
+ const end = length === undefined ? reader.len : reader.pos + length;
13444
+ const message = createBaseGnssStatus();
13445
+ while (reader.pos < end) {
13446
+ const tag = reader.uint32();
13447
+ switch (tag >>> 3) {
13448
+ case 1: {
13449
+ if (tag !== 8) {
13450
+ break;
13451
+ }
13452
+ message.receiverConnected = reader.bool();
13453
+ continue;
13454
+ }
13455
+ case 2: {
13456
+ if (tag !== 16) {
13457
+ break;
13458
+ }
13459
+ message.fixQuality = reader.uint32();
13460
+ continue;
13461
+ }
13462
+ case 3: {
13463
+ if (tag !== 24) {
13464
+ break;
13465
+ }
13466
+ message.isValid = reader.bool();
13467
+ continue;
13468
+ }
13469
+ case 4: {
13470
+ if (tag !== 32) {
13471
+ break;
13472
+ }
13473
+ message.satellitesUsed = reader.uint32();
13474
+ continue;
13475
+ }
13476
+ case 5: {
13477
+ if (tag !== 40) {
13478
+ break;
13479
+ }
13480
+ message.satellitesTracked = reader.uint32();
13481
+ continue;
13482
+ }
13483
+ case 17: {
13484
+ if (tag !== 136) {
13485
+ break;
13486
+ }
13487
+ message.satellitesInView = reader.uint32();
13488
+ continue;
13489
+ }
13490
+ case 20: {
13491
+ if (tag !== 160) {
13492
+ break;
13493
+ }
13494
+ message.isUsedInFixValid = reader.bool();
13495
+ continue;
13496
+ }
13497
+ case 21: {
13498
+ if (tag !== 168) {
13499
+ break;
13500
+ }
13501
+ message.fixMode = reader.int32();
13502
+ continue;
13503
+ }
13504
+ case 6: {
13505
+ if (tag !== 53) {
13506
+ break;
13507
+ }
13508
+ message.hdop = reader.float();
13509
+ continue;
13510
+ }
13511
+ case 22: {
13512
+ if (tag !== 181) {
13513
+ break;
13514
+ }
13515
+ message.pdop = reader.float();
13516
+ continue;
13517
+ }
13518
+ case 23: {
13519
+ if (tag !== 189) {
13520
+ break;
13521
+ }
13522
+ message.vdop = reader.float();
13523
+ continue;
13524
+ }
13525
+ case 7: {
13526
+ if (tag !== 58) {
13527
+ break;
13528
+ }
13529
+ message.globalPosition = exports.LatLongPosition.decode(reader, reader.uint32());
13530
+ continue;
13531
+ }
13532
+ case 24: {
13533
+ if (tag !== 197) {
13534
+ break;
13535
+ }
13536
+ message.altitude = reader.float();
13537
+ continue;
13538
+ }
13539
+ case 8: {
13540
+ if (tag !== 69) {
13541
+ break;
13542
+ }
13543
+ message.stddevLatitude = reader.float();
13544
+ continue;
13545
+ }
13546
+ case 9: {
13547
+ if (tag !== 77) {
13548
+ break;
13549
+ }
13550
+ message.stddevLongitude = reader.float();
13551
+ continue;
13552
+ }
13553
+ case 25: {
13554
+ if (tag !== 205) {
13555
+ break;
13556
+ }
13557
+ message.stddevAltitude = reader.float();
13558
+ continue;
13559
+ }
13560
+ case 26: {
13561
+ if (tag !== 213) {
13562
+ break;
13563
+ }
13564
+ message.stddevSemiMajor = reader.float();
13565
+ continue;
13566
+ }
13567
+ case 27: {
13568
+ if (tag !== 221) {
13569
+ break;
13570
+ }
13571
+ message.stddevSemiMinor = reader.float();
13572
+ continue;
13573
+ }
13574
+ case 28: {
13575
+ if (tag !== 229) {
13576
+ break;
13577
+ }
13578
+ message.errorEllipseOrientation = reader.float();
13579
+ continue;
13580
+ }
13581
+ case 29: {
13582
+ if (tag !== 237) {
13583
+ break;
13584
+ }
13585
+ message.rangeRms = reader.float();
13586
+ continue;
13587
+ }
13588
+ case 18: {
13589
+ if (tag !== 144) {
13590
+ break;
13591
+ }
13592
+ message.isAccuracyValid = reader.bool();
13593
+ continue;
13594
+ }
13595
+ case 10: {
13596
+ if (tag !== 85) {
13597
+ break;
13598
+ }
13599
+ message.courseOverGround = reader.float();
13600
+ continue;
13601
+ }
13602
+ case 19: {
13603
+ if (tag !== 152) {
13604
+ break;
13605
+ }
13606
+ message.isCourseValid = reader.bool();
13607
+ continue;
13608
+ }
13609
+ case 11: {
13610
+ if (tag !== 93) {
13611
+ break;
13612
+ }
13613
+ message.speedOverGround = reader.float();
13614
+ continue;
13615
+ }
13616
+ case 30: {
13617
+ if (tag !== 245) {
13618
+ break;
13619
+ }
13620
+ message.differentialAge = reader.float();
13621
+ continue;
13622
+ }
13623
+ case 31: {
13624
+ if (tag !== 248) {
13625
+ break;
13626
+ }
13627
+ message.differentialStation = reader.int32();
13628
+ continue;
13629
+ }
13630
+ case 12: {
13631
+ if (tag !== 96) {
13632
+ break;
13633
+ }
13634
+ message.baudRate = reader.uint32();
13635
+ continue;
13636
+ }
13637
+ case 13: {
13638
+ if (tag !== 104) {
13639
+ break;
13640
+ }
13641
+ message.reconnectCount = reader.uint32();
13642
+ continue;
13643
+ }
13644
+ case 14: {
13645
+ if (tag !== 112) {
13646
+ break;
13647
+ }
13648
+ message.receiveErrorCount = reader.uint32();
13649
+ continue;
13650
+ }
13651
+ case 15: {
13652
+ if (tag !== 125) {
13653
+ break;
13654
+ }
13655
+ message.timeSinceLastSentence = reader.float();
13656
+ continue;
13657
+ }
13658
+ case 16: {
13659
+ if (tag !== 130) {
13660
+ break;
13661
+ }
13662
+ message.satellites.push(exports.GnssSatellite.decode(reader, reader.uint32()));
13663
+ continue;
13664
+ }
13665
+ }
13666
+ if ((tag & 7) === 4 || tag === 0) {
13667
+ break;
13668
+ }
13669
+ reader.skip(tag & 7);
13670
+ }
13671
+ return message;
13672
+ },
13673
+ fromJSON(object) {
13674
+ return {
13675
+ receiverConnected: isSet(object.receiverConnected) ? gt.Boolean(object.receiverConnected) : false,
13676
+ fixQuality: isSet(object.fixQuality) ? gt.Number(object.fixQuality) : 0,
13677
+ isValid: isSet(object.isValid) ? gt.Boolean(object.isValid) : false,
13678
+ satellitesUsed: isSet(object.satellitesUsed) ? gt.Number(object.satellitesUsed) : 0,
13679
+ satellitesTracked: isSet(object.satellitesTracked) ? gt.Number(object.satellitesTracked) : 0,
13680
+ satellitesInView: isSet(object.satellitesInView) ? gt.Number(object.satellitesInView) : 0,
13681
+ isUsedInFixValid: isSet(object.isUsedInFixValid) ? gt.Boolean(object.isUsedInFixValid) : false,
13682
+ fixMode: isSet(object.fixMode) ? gnssFixModeFromJSON(object.fixMode) : 0,
13683
+ hdop: isSet(object.hdop) ? gt.Number(object.hdop) : 0,
13684
+ pdop: isSet(object.pdop) ? gt.Number(object.pdop) : 0,
13685
+ vdop: isSet(object.vdop) ? gt.Number(object.vdop) : 0,
13686
+ globalPosition: isSet(object.globalPosition) ? exports.LatLongPosition.fromJSON(object.globalPosition) : undefined,
13687
+ altitude: isSet(object.altitude) ? gt.Number(object.altitude) : 0,
13688
+ stddevLatitude: isSet(object.stddevLatitude) ? gt.Number(object.stddevLatitude) : 0,
13689
+ stddevLongitude: isSet(object.stddevLongitude) ? gt.Number(object.stddevLongitude) : 0,
13690
+ stddevAltitude: isSet(object.stddevAltitude) ? gt.Number(object.stddevAltitude) : 0,
13691
+ stddevSemiMajor: isSet(object.stddevSemiMajor) ? gt.Number(object.stddevSemiMajor) : 0,
13692
+ stddevSemiMinor: isSet(object.stddevSemiMinor) ? gt.Number(object.stddevSemiMinor) : 0,
13693
+ errorEllipseOrientation: isSet(object.errorEllipseOrientation) ? gt.Number(object.errorEllipseOrientation) : 0,
13694
+ rangeRms: isSet(object.rangeRms) ? gt.Number(object.rangeRms) : 0,
13695
+ isAccuracyValid: isSet(object.isAccuracyValid) ? gt.Boolean(object.isAccuracyValid) : false,
13696
+ courseOverGround: isSet(object.courseOverGround) ? gt.Number(object.courseOverGround) : 0,
13697
+ isCourseValid: isSet(object.isCourseValid) ? gt.Boolean(object.isCourseValid) : false,
13698
+ speedOverGround: isSet(object.speedOverGround) ? gt.Number(object.speedOverGround) : 0,
13699
+ differentialAge: isSet(object.differentialAge) ? gt.Number(object.differentialAge) : 0,
13700
+ differentialStation: isSet(object.differentialStation) ? gt.Number(object.differentialStation) : 0,
13701
+ baudRate: isSet(object.baudRate) ? gt.Number(object.baudRate) : 0,
13702
+ reconnectCount: isSet(object.reconnectCount) ? gt.Number(object.reconnectCount) : 0,
13703
+ receiveErrorCount: isSet(object.receiveErrorCount) ? gt.Number(object.receiveErrorCount) : 0,
13704
+ timeSinceLastSentence: isSet(object.timeSinceLastSentence) ? gt.Number(object.timeSinceLastSentence) : 0,
13705
+ satellites: gt.Array.isArray(object?.satellites)
13706
+ ? object.satellites.map((e) => exports.GnssSatellite.fromJSON(e))
13707
+ : [],
13708
+ };
13709
+ },
13710
+ toJSON(message) {
13711
+ const obj = {};
13712
+ if (message.receiverConnected !== false) {
13713
+ obj.receiverConnected = message.receiverConnected;
13714
+ }
13715
+ if (message.fixQuality !== 0) {
13716
+ obj.fixQuality = Math.round(message.fixQuality);
13717
+ }
13718
+ if (message.isValid !== false) {
13719
+ obj.isValid = message.isValid;
13720
+ }
13721
+ if (message.satellitesUsed !== 0) {
13722
+ obj.satellitesUsed = Math.round(message.satellitesUsed);
13723
+ }
13724
+ if (message.satellitesTracked !== 0) {
13725
+ obj.satellitesTracked = Math.round(message.satellitesTracked);
13726
+ }
13727
+ if (message.satellitesInView !== 0) {
13728
+ obj.satellitesInView = Math.round(message.satellitesInView);
13729
+ }
13730
+ if (message.isUsedInFixValid !== false) {
13731
+ obj.isUsedInFixValid = message.isUsedInFixValid;
13732
+ }
13733
+ if (message.fixMode !== 0) {
13734
+ obj.fixMode = gnssFixModeToJSON(message.fixMode);
13735
+ }
13736
+ if (message.hdop !== 0) {
13737
+ obj.hdop = message.hdop;
13738
+ }
13739
+ if (message.pdop !== 0) {
13740
+ obj.pdop = message.pdop;
13741
+ }
13742
+ if (message.vdop !== 0) {
13743
+ obj.vdop = message.vdop;
13744
+ }
13745
+ if (message.globalPosition !== undefined) {
13746
+ obj.globalPosition = exports.LatLongPosition.toJSON(message.globalPosition);
13747
+ }
13748
+ if (message.altitude !== 0) {
13749
+ obj.altitude = message.altitude;
13750
+ }
13751
+ if (message.stddevLatitude !== 0) {
13752
+ obj.stddevLatitude = message.stddevLatitude;
13753
+ }
13754
+ if (message.stddevLongitude !== 0) {
13755
+ obj.stddevLongitude = message.stddevLongitude;
13756
+ }
13757
+ if (message.stddevAltitude !== 0) {
13758
+ obj.stddevAltitude = message.stddevAltitude;
13759
+ }
13760
+ if (message.stddevSemiMajor !== 0) {
13761
+ obj.stddevSemiMajor = message.stddevSemiMajor;
13762
+ }
13763
+ if (message.stddevSemiMinor !== 0) {
13764
+ obj.stddevSemiMinor = message.stddevSemiMinor;
13765
+ }
13766
+ if (message.errorEllipseOrientation !== 0) {
13767
+ obj.errorEllipseOrientation = message.errorEllipseOrientation;
13768
+ }
13769
+ if (message.rangeRms !== 0) {
13770
+ obj.rangeRms = message.rangeRms;
13771
+ }
13772
+ if (message.isAccuracyValid !== false) {
13773
+ obj.isAccuracyValid = message.isAccuracyValid;
13774
+ }
13775
+ if (message.courseOverGround !== 0) {
13776
+ obj.courseOverGround = message.courseOverGround;
13777
+ }
13778
+ if (message.isCourseValid !== false) {
13779
+ obj.isCourseValid = message.isCourseValid;
13780
+ }
13781
+ if (message.speedOverGround !== 0) {
13782
+ obj.speedOverGround = message.speedOverGround;
13783
+ }
13784
+ if (message.differentialAge !== 0) {
13785
+ obj.differentialAge = message.differentialAge;
13786
+ }
13787
+ if (message.differentialStation !== 0) {
13788
+ obj.differentialStation = Math.round(message.differentialStation);
13789
+ }
13790
+ if (message.baudRate !== 0) {
13791
+ obj.baudRate = Math.round(message.baudRate);
13792
+ }
13793
+ if (message.reconnectCount !== 0) {
13794
+ obj.reconnectCount = Math.round(message.reconnectCount);
13795
+ }
13796
+ if (message.receiveErrorCount !== 0) {
13797
+ obj.receiveErrorCount = Math.round(message.receiveErrorCount);
13798
+ }
13799
+ if (message.timeSinceLastSentence !== 0) {
13800
+ obj.timeSinceLastSentence = message.timeSinceLastSentence;
13801
+ }
13802
+ if (message.satellites?.length) {
13803
+ obj.satellites = message.satellites.map((e) => exports.GnssSatellite.toJSON(e));
13804
+ }
13805
+ return obj;
13806
+ },
13807
+ create(base) {
13808
+ return exports.GnssStatus.fromPartial(base ?? {});
13809
+ },
13810
+ fromPartial(object) {
13811
+ const message = createBaseGnssStatus();
13812
+ message.receiverConnected = object.receiverConnected ?? false;
13813
+ message.fixQuality = object.fixQuality ?? 0;
13814
+ message.isValid = object.isValid ?? false;
13815
+ message.satellitesUsed = object.satellitesUsed ?? 0;
13816
+ message.satellitesTracked = object.satellitesTracked ?? 0;
13817
+ message.satellitesInView = object.satellitesInView ?? 0;
13818
+ message.isUsedInFixValid = object.isUsedInFixValid ?? false;
13819
+ message.fixMode = object.fixMode ?? 0;
13820
+ message.hdop = object.hdop ?? 0;
13821
+ message.pdop = object.pdop ?? 0;
13822
+ message.vdop = object.vdop ?? 0;
13823
+ message.globalPosition = (object.globalPosition !== undefined && object.globalPosition !== null)
13824
+ ? exports.LatLongPosition.fromPartial(object.globalPosition)
13825
+ : undefined;
13826
+ message.altitude = object.altitude ?? 0;
13827
+ message.stddevLatitude = object.stddevLatitude ?? 0;
13828
+ message.stddevLongitude = object.stddevLongitude ?? 0;
13829
+ message.stddevAltitude = object.stddevAltitude ?? 0;
13830
+ message.stddevSemiMajor = object.stddevSemiMajor ?? 0;
13831
+ message.stddevSemiMinor = object.stddevSemiMinor ?? 0;
13832
+ message.errorEllipseOrientation = object.errorEllipseOrientation ?? 0;
13833
+ message.rangeRms = object.rangeRms ?? 0;
13834
+ message.isAccuracyValid = object.isAccuracyValid ?? false;
13835
+ message.courseOverGround = object.courseOverGround ?? 0;
13836
+ message.isCourseValid = object.isCourseValid ?? false;
13837
+ message.speedOverGround = object.speedOverGround ?? 0;
13838
+ message.differentialAge = object.differentialAge ?? 0;
13839
+ message.differentialStation = object.differentialStation ?? 0;
13840
+ message.baudRate = object.baudRate ?? 0;
13841
+ message.reconnectCount = object.reconnectCount ?? 0;
13842
+ message.receiveErrorCount = object.receiveErrorCount ?? 0;
13843
+ message.timeSinceLastSentence = object.timeSinceLastSentence ?? 0;
13844
+ message.satellites = object.satellites?.map((e) => exports.GnssSatellite.fromPartial(e)) || [];
13845
+ return message;
13846
+ },
13847
+ };
13051
13848
  function createBaseGuestPortDevice() {
13052
13849
  return {
13053
13850
  deviceId: 0,
@@ -17433,7 +18230,7 @@ exports.BoundingBox = {
17433
18230
  },
17434
18231
  };
17435
18232
  function createBaseSegmentationMask() {
17436
- return { maskWidth: 0, maskHeight: 0, counts: new Uint8Array(0) };
18233
+ return { maskWidth: 0, maskHeight: 0, counts: new Uint8Array(0), maskBox: undefined };
17437
18234
  }
17438
18235
  exports.SegmentationMask = {
17439
18236
  encode(message, writer = new wire_1.BinaryWriter()) {
@@ -17446,6 +18243,9 @@ exports.SegmentationMask = {
17446
18243
  if (message.counts.length !== 0) {
17447
18244
  writer.uint32(26).bytes(message.counts);
17448
18245
  }
18246
+ if (message.maskBox !== undefined) {
18247
+ exports.BoundingBox.encode(message.maskBox, writer.uint32(34).fork()).join();
18248
+ }
17449
18249
  return writer;
17450
18250
  },
17451
18251
  decode(input, length) {
@@ -17476,6 +18276,13 @@ exports.SegmentationMask = {
17476
18276
  message.counts = reader.bytes();
17477
18277
  continue;
17478
18278
  }
18279
+ case 4: {
18280
+ if (tag !== 34) {
18281
+ break;
18282
+ }
18283
+ message.maskBox = exports.BoundingBox.decode(reader, reader.uint32());
18284
+ continue;
18285
+ }
17479
18286
  }
17480
18287
  if ((tag & 7) === 4 || tag === 0) {
17481
18288
  break;
@@ -17489,6 +18296,7 @@ exports.SegmentationMask = {
17489
18296
  maskWidth: isSet(object.maskWidth) ? gt.Number(object.maskWidth) : 0,
17490
18297
  maskHeight: isSet(object.maskHeight) ? gt.Number(object.maskHeight) : 0,
17491
18298
  counts: isSet(object.counts) ? bytesFromBase64(object.counts) : new Uint8Array(0),
18299
+ maskBox: isSet(object.maskBox) ? exports.BoundingBox.fromJSON(object.maskBox) : undefined,
17492
18300
  };
17493
18301
  },
17494
18302
  toJSON(message) {
@@ -17502,6 +18310,9 @@ exports.SegmentationMask = {
17502
18310
  if (message.counts.length !== 0) {
17503
18311
  obj.counts = base64FromBytes(message.counts);
17504
18312
  }
18313
+ if (message.maskBox !== undefined) {
18314
+ obj.maskBox = exports.BoundingBox.toJSON(message.maskBox);
18315
+ }
17505
18316
  return obj;
17506
18317
  },
17507
18318
  create(base) {
@@ -17512,6 +18323,9 @@ exports.SegmentationMask = {
17512
18323
  message.maskWidth = object.maskWidth ?? 0;
17513
18324
  message.maskHeight = object.maskHeight ?? 0;
17514
18325
  message.counts = object.counts ?? new Uint8Array(0);
18326
+ message.maskBox = (object.maskBox !== undefined && object.maskBox !== null)
18327
+ ? exports.BoundingBox.fromPartial(object.maskBox)
18328
+ : undefined;
17515
18329
  return message;
17516
18330
  },
17517
18331
  };
@@ -1,6 +1,6 @@
1
1
  import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
2
2
  import { AquaTrollProbeMetadata, AquaTrollSensorMetadataArray, AquaTrollSensorParametersArray } from "./aquatroll";
3
- import { Altitude, Annotation, 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";
3
+ import { Altitude, Annotation, Attitude, Battery, BatteryBQ40Z50, CalibrationState, CameraPanTiltZoom, CanisterHumidity, CanisterTemperature, ConnectedClient, ControlForce, ControllerHealth, ControlMode, CpProbe, CPUInfo, CPUTemperature, Depth, DiveTime, DroneInfo, DvlVelocity, ErrorFlags, FilterMessage, ForwardDistance, GenericServo, GnssStatus, 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
@@ -94,6 +94,11 @@ export interface PilotGPSPositionTel {
94
94
  /** The GPS position of the pilot. */
95
95
  position: LatLongPosition | undefined;
96
96
  }
97
+ /** Status of the onboard Blueye GNSS receiver and its driver. */
98
+ export interface GnssStatusTel {
99
+ /** Status of the Blueye GNSS receiver. */
100
+ gnssStatus: GnssStatus | undefined;
101
+ }
97
102
  /** Record state from the drone. */
98
103
  export interface RecordStateTel {
99
104
  /** Record state. */
@@ -418,6 +423,7 @@ export declare const LightsTel: MessageFns<LightsTel>;
418
423
  export declare const GuestPortLightsTel: MessageFns<GuestPortLightsTel>;
419
424
  export declare const LaserTel: MessageFns<LaserTel>;
420
425
  export declare const PilotGPSPositionTel: MessageFns<PilotGPSPositionTel>;
426
+ export declare const GnssStatusTel: MessageFns<GnssStatusTel>;
421
427
  export declare const RecordStateTel: MessageFns<RecordStateTel>;
422
428
  export declare const TimeLapseStateTel: MessageFns<TimeLapseStateTel>;
423
429
  export declare const BatteryTel: MessageFns<BatteryTel>;
package/dist/telemetry.js CHANGED
@@ -5,8 +5,8 @@
5
5
  // protoc v3.21.12
6
6
  // source: telemetry.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.Imu2Tel = exports.Imu1Tel = exports.CalibratedImuTel = exports.GuestPortCurrentTel = exports.MultibeamServoTel = exports.GenericServoTel = exports.ConnectedClientsTel = exports.AquaTrollSensorParametersTel = exports.AquaTrollSensorMetadataTel = exports.AquaTrollProbeMetadataTel = exports.CpProbeTel = exports.ThicknessGaugeTel = exports.ControlModeTel = exports.ErrorFlagsTel = exports.DroneInfoTel = exports.TiltAngleTel = exports.NStreamersTel = exports.IperfTel = exports.TiltStabilizationTel = exports.CalibrationStateTel = exports.DataStorageSpaceTel = exports.RemovableStorageTel = exports.VideoStorageSpaceTel = exports.CanisterBottomHumidityTel = exports.CanisterBottomTemperatureTel = exports.CPUTemperatureTel = exports.WaterTemperatureTel = exports.DroneTimeTel = exports.DiveTimeTel = exports.BatteryBQ40Z50Tel = exports.BatteryTel = exports.TimeLapseStateTel = exports.RecordStateTel = exports.PilotGPSPositionTel = exports.LaserTel = exports.GuestPortLightsTel = exports.LightsTel = exports.ControllerHealthTel = exports.ControlForceTel = exports.NotificationTel = exports.MissionStatusTel = exports.ReferenceAutoPilotTel = exports.ReferenceTel = exports.DepthTel = exports.PositionEstimateTel = exports.DvlVelocityTel = exports.ForwardDistanceTel = exports.AltitudeTel = exports.MagneticDeclinationTel = exports.AttitudeTel = void 0;
9
- exports.AnnotationTel = exports.SotStateTel = exports.CameraPanTiltZoomTel = exports.ColorCorrectionTel = exports.TurbidityFilterTel = exports.ObjectDetectionsTel = exports.LogEntryTel = exports.SurfaceUnitTel = exports.SystemPerformanceInfoTel = exports.CPUInfoTel = exports.MultibeamDiscoveryTel = exports.MultibeamConfigTel = exports.MultibeamPingTel = exports.MedusaSpectrometerDataTel = exports.CalibratedImuHpTel = exports.ImuHpTel = void 0;
8
+ exports.Imu1Tel = exports.CalibratedImuTel = exports.GuestPortCurrentTel = exports.MultibeamServoTel = exports.GenericServoTel = exports.ConnectedClientsTel = exports.AquaTrollSensorParametersTel = exports.AquaTrollSensorMetadataTel = exports.AquaTrollProbeMetadataTel = exports.CpProbeTel = exports.ThicknessGaugeTel = exports.ControlModeTel = exports.ErrorFlagsTel = exports.DroneInfoTel = exports.TiltAngleTel = exports.NStreamersTel = exports.IperfTel = exports.TiltStabilizationTel = exports.CalibrationStateTel = exports.DataStorageSpaceTel = exports.RemovableStorageTel = exports.VideoStorageSpaceTel = exports.CanisterBottomHumidityTel = exports.CanisterBottomTemperatureTel = exports.CPUTemperatureTel = exports.WaterTemperatureTel = exports.DroneTimeTel = exports.DiveTimeTel = exports.BatteryBQ40Z50Tel = exports.BatteryTel = exports.TimeLapseStateTel = exports.RecordStateTel = exports.GnssStatusTel = exports.PilotGPSPositionTel = exports.LaserTel = exports.GuestPortLightsTel = exports.LightsTel = exports.ControllerHealthTel = exports.ControlForceTel = exports.NotificationTel = exports.MissionStatusTel = exports.ReferenceAutoPilotTel = exports.ReferenceTel = exports.DepthTel = exports.PositionEstimateTel = exports.DvlVelocityTel = exports.ForwardDistanceTel = exports.AltitudeTel = exports.MagneticDeclinationTel = exports.AttitudeTel = void 0;
9
+ exports.AnnotationTel = exports.SotStateTel = exports.CameraPanTiltZoomTel = exports.ColorCorrectionTel = exports.TurbidityFilterTel = exports.ObjectDetectionsTel = exports.LogEntryTel = exports.SurfaceUnitTel = exports.SystemPerformanceInfoTel = exports.CPUInfoTel = exports.MultibeamDiscoveryTel = exports.MultibeamConfigTel = exports.MultibeamPingTel = exports.MedusaSpectrometerDataTel = exports.CalibratedImuHpTel = exports.ImuHpTel = exports.Imu2Tel = void 0;
10
10
  /* eslint-disable */
11
11
  const wire_1 = require("@bufbuild/protobuf/wire");
12
12
  const aquatroll_1 = require("./aquatroll");
@@ -942,6 +942,59 @@ exports.PilotGPSPositionTel = {
942
942
  return message;
943
943
  },
944
944
  };
945
+ function createBaseGnssStatusTel() {
946
+ return { gnssStatus: undefined };
947
+ }
948
+ exports.GnssStatusTel = {
949
+ encode(message, writer = new wire_1.BinaryWriter()) {
950
+ if (message.gnssStatus !== undefined) {
951
+ message_formats_1.GnssStatus.encode(message.gnssStatus, writer.uint32(10).fork()).join();
952
+ }
953
+ return writer;
954
+ },
955
+ decode(input, length) {
956
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
957
+ const end = length === undefined ? reader.len : reader.pos + length;
958
+ const message = createBaseGnssStatusTel();
959
+ while (reader.pos < end) {
960
+ const tag = reader.uint32();
961
+ switch (tag >>> 3) {
962
+ case 1: {
963
+ if (tag !== 10) {
964
+ break;
965
+ }
966
+ message.gnssStatus = message_formats_1.GnssStatus.decode(reader, reader.uint32());
967
+ continue;
968
+ }
969
+ }
970
+ if ((tag & 7) === 4 || tag === 0) {
971
+ break;
972
+ }
973
+ reader.skip(tag & 7);
974
+ }
975
+ return message;
976
+ },
977
+ fromJSON(object) {
978
+ return { gnssStatus: isSet(object.gnssStatus) ? message_formats_1.GnssStatus.fromJSON(object.gnssStatus) : undefined };
979
+ },
980
+ toJSON(message) {
981
+ const obj = {};
982
+ if (message.gnssStatus !== undefined) {
983
+ obj.gnssStatus = message_formats_1.GnssStatus.toJSON(message.gnssStatus);
984
+ }
985
+ return obj;
986
+ },
987
+ create(base) {
988
+ return exports.GnssStatusTel.fromPartial(base ?? {});
989
+ },
990
+ fromPartial(object) {
991
+ const message = createBaseGnssStatusTel();
992
+ message.gnssStatus = (object.gnssStatus !== undefined && object.gnssStatus !== null)
993
+ ? message_formats_1.GnssStatus.fromPartial(object.gnssStatus)
994
+ : undefined;
995
+ return message;
996
+ },
997
+ };
945
998
  function createBaseRecordStateTel() {
946
999
  return { recordState: undefined };
947
1000
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blueyerobotics/protocol-definitions",
3
- "version": "3.3.0-e472bef2",
3
+ "version": "3.3.0-fe575d02",
4
4
  "license": "LGPL-3.0-only",
5
5
  "description": "TypeScript definitions for Blueye Robotics protocols",
6
6
  "repository": {