@blueyerobotics/protocol-definitions 3.2.0-66350af4 → 3.2.0-6aa68244
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 +157 -2
- package/dist/message_formats.js +1211 -147
- package/dist/telemetry.d.ts +13 -2
- package/dist/telemetry.js +59 -1
- package/package.json +1 -1
|
@@ -268,6 +268,18 @@ export declare enum StreamingProtocol {
|
|
|
268
268
|
}
|
|
269
269
|
export declare function streamingProtocolFromJSON(object: any): StreamingProtocol;
|
|
270
270
|
export declare function streamingProtocolToJSON(object: StreamingProtocol): string;
|
|
271
|
+
/** Recording video codec. */
|
|
272
|
+
export declare enum RecordingCodec {
|
|
273
|
+
/** RECORDING_CODEC_UNSPECIFIED - Use platform default (H.264). */
|
|
274
|
+
RECORDING_CODEC_UNSPECIFIED = 0,
|
|
275
|
+
/** RECORDING_CODEC_H264 - H.264/AVC codec. Wider compatibility with players/editors. */
|
|
276
|
+
RECORDING_CODEC_H264 = 1,
|
|
277
|
+
/** RECORDING_CODEC_H265 - H.265/HEVC codec. Better compression, limited compatibility. Ultra only. */
|
|
278
|
+
RECORDING_CODEC_H265 = 2,
|
|
279
|
+
UNRECOGNIZED = -1
|
|
280
|
+
}
|
|
281
|
+
export declare function recordingCodecFromJSON(object: any): RecordingCodec;
|
|
282
|
+
export declare function recordingCodecToJSON(object: RecordingCodec): string;
|
|
271
283
|
/** Available temperature units. */
|
|
272
284
|
export declare enum TemperatureUnit {
|
|
273
285
|
/** TEMPERATURE_UNIT_UNSPECIFIED - Temperature unit not specified. */
|
|
@@ -521,6 +533,18 @@ export declare enum MultibeamFrequencyMode {
|
|
|
521
533
|
}
|
|
522
534
|
export declare function multibeamFrequencyModeFromJSON(object: any): MultibeamFrequencyMode;
|
|
523
535
|
export declare function multibeamFrequencyModeToJSON(object: MultibeamFrequencyMode): string;
|
|
536
|
+
/** Thermal zone identifiers. */
|
|
537
|
+
export declare enum ThermalZoneId {
|
|
538
|
+
/** THERMAL_ZONE_ID_UNSPECIFIED - Unspecified thermal zone. */
|
|
539
|
+
THERMAL_ZONE_ID_UNSPECIFIED = 0,
|
|
540
|
+
/** THERMAL_ZONE_ID_TJ - Junction temperature (Tj). */
|
|
541
|
+
THERMAL_ZONE_ID_TJ = 1,
|
|
542
|
+
/** THERMAL_ZONE_ID_CANISTER - Canister temperature. */
|
|
543
|
+
THERMAL_ZONE_ID_CANISTER = 2,
|
|
544
|
+
UNRECOGNIZED = -1
|
|
545
|
+
}
|
|
546
|
+
export declare function thermalZoneIdFromJSON(object: any): ThermalZoneId;
|
|
547
|
+
export declare function thermalZoneIdToJSON(object: ThermalZoneId): string;
|
|
524
548
|
/**
|
|
525
549
|
* Wrapper message for each entry in the drone telemetry logfile.
|
|
526
550
|
*
|
|
@@ -840,7 +864,7 @@ export interface WaterTemperature {
|
|
|
840
864
|
/** Water temperature (°C). */
|
|
841
865
|
value: number;
|
|
842
866
|
}
|
|
843
|
-
/** CPU temperature. */
|
|
867
|
+
/** CPU temperature (deprecated, use SystemPerformanceInfo.thermal_zones instead). */
|
|
844
868
|
export interface CPUTemperature {
|
|
845
869
|
/** CPU temperature (°C). */
|
|
846
870
|
value: number;
|
|
@@ -1590,6 +1614,13 @@ export interface CameraParameters {
|
|
|
1590
1614
|
* The Blueye App allows users to set values between 500 and 1460.
|
|
1591
1615
|
*/
|
|
1592
1616
|
mtuSize: number;
|
|
1617
|
+
/** Recording video codec. If unset, uses platform default. */
|
|
1618
|
+
recordingCodec: RecordingCodec;
|
|
1619
|
+
/**
|
|
1620
|
+
* Recording bitrate in bits/sec. If 0 or unset, a default is computed based
|
|
1621
|
+
* on resolution, framerate, and encoding. Set explicitly to override.
|
|
1622
|
+
*/
|
|
1623
|
+
recordingBitrate: number;
|
|
1593
1624
|
}
|
|
1594
1625
|
/**
|
|
1595
1626
|
* Overlay parameters.
|
|
@@ -1955,7 +1986,7 @@ export interface PersistentStorageSettings {
|
|
|
1955
1986
|
accCalibration: boolean;
|
|
1956
1987
|
}
|
|
1957
1988
|
/**
|
|
1958
|
-
* CPU information.
|
|
1989
|
+
* CPU information (deprecated, use SystemPerformanceInfo instead).
|
|
1959
1990
|
*
|
|
1960
1991
|
* Contains information about the CPU load and memory usage of the drone.
|
|
1961
1992
|
*/
|
|
@@ -1971,6 +2002,119 @@ export interface CPUInfo {
|
|
|
1971
2002
|
/** Communication queue load (0..1). */
|
|
1972
2003
|
commQueueLoad: number;
|
|
1973
2004
|
}
|
|
2005
|
+
/** Per-core CPU utilization. */
|
|
2006
|
+
export interface CpuCoreLoad {
|
|
2007
|
+
/** Core index (0-based). */
|
|
2008
|
+
coreIndex: number;
|
|
2009
|
+
/** Core load (0..1). */
|
|
2010
|
+
load: number;
|
|
2011
|
+
/** Current clock frequency (MHz). */
|
|
2012
|
+
frequencyMhz: number;
|
|
2013
|
+
}
|
|
2014
|
+
/** GPU utilization and status. */
|
|
2015
|
+
export interface GpuInfo {
|
|
2016
|
+
/** GPU load (0..1). */
|
|
2017
|
+
load: number;
|
|
2018
|
+
/** Current GPU clock frequency (MHz). */
|
|
2019
|
+
frequencyMhz: number;
|
|
2020
|
+
}
|
|
2021
|
+
/**
|
|
2022
|
+
* Deep Learning Accelerator (DLA) utilization.
|
|
2023
|
+
*
|
|
2024
|
+
* Jetson Orin NX has two DLA engines used for inference offload.
|
|
2025
|
+
*/
|
|
2026
|
+
export interface DlaInfo {
|
|
2027
|
+
/** DLA engine index (0-based). */
|
|
2028
|
+
engineIndex: number;
|
|
2029
|
+
/** DLA engine load (0..1). */
|
|
2030
|
+
load: number;
|
|
2031
|
+
/** Core clock frequency (MHz). 0 when disabled. */
|
|
2032
|
+
frequencyMhz: number;
|
|
2033
|
+
/** True when the DLA engine is actively processing. */
|
|
2034
|
+
enabled: boolean;
|
|
2035
|
+
/** Falcon microcontroller clock frequency (MHz). 0 when disabled. */
|
|
2036
|
+
falconFrequencyMhz: number;
|
|
2037
|
+
}
|
|
2038
|
+
/** System memory information. */
|
|
2039
|
+
export interface MemoryInfo {
|
|
2040
|
+
/** Total RAM (bytes). */
|
|
2041
|
+
totalBytes: number;
|
|
2042
|
+
/** Used RAM (bytes). */
|
|
2043
|
+
usedBytes: number;
|
|
2044
|
+
/** Cached RAM (bytes). */
|
|
2045
|
+
cachedBytes: number;
|
|
2046
|
+
/** Memory bus utilization (0..1). i.MX only. */
|
|
2047
|
+
busLoad: number;
|
|
2048
|
+
}
|
|
2049
|
+
/** Thermal zone reading. */
|
|
2050
|
+
export interface ThermalZone {
|
|
2051
|
+
/** Thermal zone identifier. */
|
|
2052
|
+
zone: ThermalZoneId;
|
|
2053
|
+
/** Temperature (°C). */
|
|
2054
|
+
temperature: number;
|
|
2055
|
+
}
|
|
2056
|
+
/** Video codec engine status. */
|
|
2057
|
+
export interface VideoCodecInfo {
|
|
2058
|
+
/** Jetson only (NVENC/NVDEC/NVJPG/VIC devfreq). */
|
|
2059
|
+
encoderActive: boolean;
|
|
2060
|
+
/** Video encoder clock frequency (MHz). */
|
|
2061
|
+
encoderFrequencyMhz: number;
|
|
2062
|
+
/** Video decoder (NVDEC) is active. */
|
|
2063
|
+
decoderActive: boolean;
|
|
2064
|
+
/** Video decoder clock frequency (MHz). */
|
|
2065
|
+
decoderFrequencyMhz: number;
|
|
2066
|
+
/** JPEG engine (NVJPG) is active. */
|
|
2067
|
+
nvjpgActive: boolean;
|
|
2068
|
+
/** JPEG engine clock frequency (MHz). */
|
|
2069
|
+
nvjpgFrequencyMhz: number;
|
|
2070
|
+
/** Video Image Compositor (VIC) is active. */
|
|
2071
|
+
vicActive: boolean;
|
|
2072
|
+
/** VIC clock frequency (MHz). */
|
|
2073
|
+
vicFrequencyMhz: number;
|
|
2074
|
+
/** i.MX only (CODA VPU). */
|
|
2075
|
+
vpuActive: boolean;
|
|
2076
|
+
/** VPU AXI clock frequency (MHz). */
|
|
2077
|
+
vpuFrequencyMhz: number;
|
|
2078
|
+
/** Cumulative VPU_CODEC_IRQ count. */
|
|
2079
|
+
vpuCodecIrqCount: number;
|
|
2080
|
+
/** Cumulative VPU_JPG_IRQ count. */
|
|
2081
|
+
vpuJpgIrqCount: number;
|
|
2082
|
+
}
|
|
2083
|
+
/**
|
|
2084
|
+
* System performance information.
|
|
2085
|
+
*
|
|
2086
|
+
* Comprehensive performance metrics for the drone's compute platform.
|
|
2087
|
+
* Covers CPU, GPU, DLA, memory, thermals, and video codec utilization.
|
|
2088
|
+
* Fields not applicable to a platform are left at their zero/empty defaults.
|
|
2089
|
+
*/
|
|
2090
|
+
export interface SystemPerformanceInfo {
|
|
2091
|
+
/** Per-core CPU utilization. */
|
|
2092
|
+
cpuCores: CpuCoreLoad[];
|
|
2093
|
+
/** Mean CPU utilization across all cores (0..1). */
|
|
2094
|
+
cpuUtilization: number;
|
|
2095
|
+
/** GPU utilization. */
|
|
2096
|
+
gpu: GpuInfo | undefined;
|
|
2097
|
+
/** DLA engine utilization (Jetson only). */
|
|
2098
|
+
dlaEngines: DlaInfo[];
|
|
2099
|
+
/** RAM usage. */
|
|
2100
|
+
memory: MemoryInfo | undefined;
|
|
2101
|
+
/** All thermal zone readings. */
|
|
2102
|
+
thermalZones: ThermalZone[];
|
|
2103
|
+
/** Video encoder/decoder status. */
|
|
2104
|
+
videoCodec: VideoCodecInfo | undefined;
|
|
2105
|
+
/** Main queue load (0..1). */
|
|
2106
|
+
mainQueueLoad: number;
|
|
2107
|
+
/** Guestport queue load (0..1). */
|
|
2108
|
+
guestportQueueLoad: number;
|
|
2109
|
+
/** Communication queue load (0..1). */
|
|
2110
|
+
commQueueLoad: number;
|
|
2111
|
+
/** Camera queue load (0..1). */
|
|
2112
|
+
cameraQueueLoad: number;
|
|
2113
|
+
/** Overlay queue load (0..1). */
|
|
2114
|
+
overlayQueueLoad: number;
|
|
2115
|
+
/** Position observer queue load (0..1). */
|
|
2116
|
+
positionObserverQueueLoad: number;
|
|
2117
|
+
}
|
|
1974
2118
|
/**
|
|
1975
2119
|
* Surface Unit battery information.
|
|
1976
2120
|
*
|
|
@@ -2037,6 +2181,10 @@ export interface ObjectDetections {
|
|
|
2037
2181
|
detections: ObjectDetection[];
|
|
2038
2182
|
/** Which camera the detections are from. */
|
|
2039
2183
|
camera: Camera;
|
|
2184
|
+
/** Width of the source image (px). */
|
|
2185
|
+
imageWidth: number;
|
|
2186
|
+
/** Height of the source image (px). */
|
|
2187
|
+
imageHeight: number;
|
|
2040
2188
|
}
|
|
2041
2189
|
/** Generic filter settings. */
|
|
2042
2190
|
export interface FilterMessage {
|
|
@@ -2159,6 +2307,13 @@ export declare const MultibeamFrameOffset: MessageFns<MultibeamFrameOffset>;
|
|
|
2159
2307
|
export declare const MutltibeamRecordingIndex: MessageFns<MutltibeamRecordingIndex>;
|
|
2160
2308
|
export declare const PersistentStorageSettings: MessageFns<PersistentStorageSettings>;
|
|
2161
2309
|
export declare const CPUInfo: MessageFns<CPUInfo>;
|
|
2310
|
+
export declare const CpuCoreLoad: MessageFns<CpuCoreLoad>;
|
|
2311
|
+
export declare const GpuInfo: MessageFns<GpuInfo>;
|
|
2312
|
+
export declare const DlaInfo: MessageFns<DlaInfo>;
|
|
2313
|
+
export declare const MemoryInfo: MessageFns<MemoryInfo>;
|
|
2314
|
+
export declare const ThermalZone: MessageFns<ThermalZone>;
|
|
2315
|
+
export declare const VideoCodecInfo: MessageFns<VideoCodecInfo>;
|
|
2316
|
+
export declare const SystemPerformanceInfo: MessageFns<SystemPerformanceInfo>;
|
|
2162
2317
|
export declare const SurfaceUnitBatteryInfo: MessageFns<SurfaceUnitBatteryInfo>;
|
|
2163
2318
|
export declare const SurfaceUnitVersionInfo: MessageFns<SurfaceUnitVersionInfo>;
|
|
2164
2319
|
export declare const BoundingBox: MessageFns<BoundingBox>;
|