@blueyerobotics/protocol-definitions 3.3.0-64187c7a → 3.3.0-8c916b96

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). */
@@ -1085,6 +1117,20 @@ export interface CanisterHumidity {
1085
1117
  /** Air humidity (%). */
1086
1118
  humidity: number;
1087
1119
  }
1120
+ /** Sensor readings inside the X7 power canister. */
1121
+ export interface PowerCanister {
1122
+ /** Front ESC board; absent when no recent reading is available. */
1123
+ frontEsc: PowerCanister_Sensors | undefined;
1124
+ /** Rear ESC board; absent when no recent reading is available. */
1125
+ rearEsc: PowerCanister_Sensors | undefined;
1126
+ }
1127
+ /** Sensor readings from an ESC board. */
1128
+ export interface PowerCanister_Sensors {
1129
+ /** Temperature (°C). */
1130
+ temperature: number;
1131
+ /** Relative humidity (%). */
1132
+ humidity: number;
1133
+ }
1088
1134
  /** Essential battery information. */
1089
1135
  export interface Battery {
1090
1136
  /** Battery voltage (V). */
@@ -1902,6 +1948,8 @@ export interface ErrorFlags {
1902
1948
  dvlThermalProtectionMode: boolean;
1903
1949
  /** GP protection has been triggered at boot or faulty DVL. */
1904
1950
  dvlNoPower: boolean;
1951
+ /** DVL firmware speaks a protocol version Blunux does not support. */
1952
+ dvlProtocolUnsupported: boolean;
1905
1953
  /** USB disconnect. */
1906
1954
  usbDisconnect: boolean;
1907
1955
  /** Video URB error. */
@@ -2041,6 +2089,86 @@ export interface NavigationSensorStatus {
2041
2089
  /** Global position from sensor. */
2042
2090
  globalPosition: LatLongPosition | undefined;
2043
2091
  }
2092
+ /** Satellite tracked by the Blueye GNSS receiver. */
2093
+ export interface GnssSatellite {
2094
+ /** Constellation the satellite belongs to. */
2095
+ constellation: GnssConstellation;
2096
+ /** Satellite id within the constellation. */
2097
+ satelliteId: number;
2098
+ /** Carrier to noise ratio (dB-Hz). */
2099
+ snr: number;
2100
+ /** Elevation above the horizon (°, 0..90), or -1 when the receiver did not report it. */
2101
+ elevation: number;
2102
+ /** Azimuth clockwise from true north (°, 0..359), or -1 when the receiver did not report it. */
2103
+ azimuth: number;
2104
+ /** Whether GSA lists the satellite as used in the fix. Only meaningful if is_used_in_fix_valid. */
2105
+ usedInFix: boolean;
2106
+ }
2107
+ /** Status of the onboard Blueye GNSS receiver and its driver. */
2108
+ export interface GnssStatus {
2109
+ /** True when the receiver is connected and producing NMEA sentences. */
2110
+ receiverConnected: boolean;
2111
+ /** NMEA GGA fix quality indicator (0 = no fix). */
2112
+ fixQuality: number;
2113
+ /** True when the receiver reports a usable position fix. */
2114
+ isValid: boolean;
2115
+ /** Number of satellites used in the position fix. */
2116
+ satellitesUsed: number;
2117
+ /** Satellites in the satellites list: those with a signal in the latest GSV burst. */
2118
+ satellitesTracked: number;
2119
+ /** Satellites predicted above the horizon, over all constellations; needs no signal. */
2120
+ satellitesInView: number;
2121
+ /** True when GSA could be attributed to a constellation, making used_in_fix usable. */
2122
+ isUsedInFixValid: boolean;
2123
+ /** Fix mode from GSA (2D/3D). */
2124
+ fixMode: GnssFixMode;
2125
+ /** Horizontal dilution of precision. */
2126
+ hdop: number;
2127
+ /** Position (3D) dilution of precision, from GSA. */
2128
+ pdop: number;
2129
+ /** Vertical dilution of precision, from GSA. */
2130
+ vdop: number;
2131
+ /** Reported global position. */
2132
+ globalPosition: LatLongPosition | undefined;
2133
+ /** Altitude above mean sea level (m), from GGA. */
2134
+ altitude: number;
2135
+ /** Standard deviation of the latitude (m). Meaningless unless is_accuracy_valid. */
2136
+ stddevLatitude: number;
2137
+ /** Standard deviation of the longitude (m). Meaningless unless is_accuracy_valid. */
2138
+ stddevLongitude: number;
2139
+ /** Standard deviation of the altitude (m). Meaningless unless is_accuracy_valid. */
2140
+ stddevAltitude: number;
2141
+ /** Semi-major axis of the horizontal error ellipse (m). */
2142
+ stddevSemiMajor: number;
2143
+ /** Semi-minor axis of the horizontal error ellipse (m). */
2144
+ stddevSemiMinor: number;
2145
+ /** Orientation of the semi-major axis, clockwise from true north (°). */
2146
+ errorEllipseOrientation: number;
2147
+ /** RMS of the range residuals (m), from GST. */
2148
+ rangeRms: number;
2149
+ /** True once the receiver has reported a GST sentence to derive the deviations from. */
2150
+ isAccuracyValid: boolean;
2151
+ /** Course over ground (°). Meaningless unless is_course_valid. */
2152
+ courseOverGround: number;
2153
+ /** True when the fix is valid and the receiver actually reported a course. */
2154
+ isCourseValid: boolean;
2155
+ /** Speed over ground (m/s). */
2156
+ speedOverGround: number;
2157
+ /** Age of the differential corrections (s), or -1 without DGPS/RTK. */
2158
+ differentialAge: number;
2159
+ /** Id of the station supplying the differential corrections, or -1 when absent. */
2160
+ differentialStation: number;
2161
+ /** Serial baud rate in use (bit/s). */
2162
+ baudRate: number;
2163
+ /** Times the driver has reconnected to the receiver since boot. */
2164
+ reconnectCount: number;
2165
+ /** Receive errors seen by the driver since boot. */
2166
+ receiveErrorCount: number;
2167
+ /** Time since the last NMEA sentence was received (s). */
2168
+ timeSinceLastSentence: number;
2169
+ /** Satellites currently tracked with signal strength. */
2170
+ satellites: GnssSatellite[];
2171
+ }
2044
2172
  /** Information about a device connected to one of the guest ports. */
2045
2173
  export interface GuestPortDevice {
2046
2174
  /** Blueye device identifier. */
@@ -2337,6 +2465,17 @@ export interface MultibeamDiscovery {
2337
2465
  /** Error flags specific for the connected multibeam device. */
2338
2466
  errorFlags: MultibeamErrorFlags | undefined;
2339
2467
  }
2468
+ /**
2469
+ * Color filter used to render the multibeam sonar fan.
2470
+ *
2471
+ * The fan renderer maps each echo intensity (0..255) to a color through this
2472
+ * lookup table. The drone keeps the last filter received in memory and applies
2473
+ * it to the sonar RTSP stream; grayscale is used until one is set.
2474
+ */
2475
+ export interface MultibeamColorFilter {
2476
+ /** 768 bytes: 256 consecutive R,G,B triplets, indexed by echo intensity. */
2477
+ rgb: Uint8Array;
2478
+ }
2340
2479
  /** Error flags for multibeam sonar devices. */
2341
2480
  export interface MultibeamErrorFlags {
2342
2481
  /**
@@ -2823,6 +2962,8 @@ export declare const WaterTemperature: MessageFns<WaterTemperature>;
2823
2962
  export declare const CPUTemperature: MessageFns<CPUTemperature>;
2824
2963
  export declare const CanisterTemperature: MessageFns<CanisterTemperature>;
2825
2964
  export declare const CanisterHumidity: MessageFns<CanisterHumidity>;
2965
+ export declare const PowerCanister: MessageFns<PowerCanister>;
2966
+ export declare const PowerCanister_Sensors: MessageFns<PowerCanister_Sensors>;
2826
2967
  export declare const Battery: MessageFns<Battery>;
2827
2968
  export declare const BatteryBQ40Z50: MessageFns<BatteryBQ40Z50>;
2828
2969
  export declare const BatteryBQ40Z50_Voltage: MessageFns<BatteryBQ40Z50_Voltage>;
@@ -2863,6 +3004,8 @@ export declare const ErrorFlags: MessageFns<ErrorFlags>;
2863
3004
  export declare const CameraParameters: MessageFns<CameraParameters>;
2864
3005
  export declare const OverlayParameters: MessageFns<OverlayParameters>;
2865
3006
  export declare const NavigationSensorStatus: MessageFns<NavigationSensorStatus>;
3007
+ export declare const GnssSatellite: MessageFns<GnssSatellite>;
3008
+ export declare const GnssStatus: MessageFns<GnssStatus>;
2866
3009
  export declare const GuestPortDevice: MessageFns<GuestPortDevice>;
2867
3010
  export declare const GuestPortDeviceList: MessageFns<GuestPortDeviceList>;
2868
3011
  export declare const GuestPortConnectorInfo: MessageFns<GuestPortConnectorInfo>;
@@ -2879,6 +3022,7 @@ export declare const MedusaSpectrometerData: MessageFns<MedusaSpectrometerData>;
2879
3022
  export declare const MultibeamPing: MessageFns<MultibeamPing>;
2880
3023
  export declare const MultibeamConfig: MessageFns<MultibeamConfig>;
2881
3024
  export declare const MultibeamDiscovery: MessageFns<MultibeamDiscovery>;
3025
+ export declare const MultibeamColorFilter: MessageFns<MultibeamColorFilter>;
2882
3026
  export declare const MultibeamErrorFlags: MessageFns<MultibeamErrorFlags>;
2883
3027
  export declare const MultibeamFrameOffset: MessageFns<MultibeamFrameOffset>;
2884
3028
  export declare const MutltibeamRecordingIndex: MessageFns<MutltibeamRecordingIndex>;