@luxonis/visualizer-protobuf 2.67.0 → 2.67.1
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/{comlink-DHMAu6X7.js → comlink-CsH1ih07.js} +1 -1
- package/dist/{depth-BGin0LSZ.js → depth-CvvVVEb7.js} +19 -4
- package/dist/{depth-coloring.worker-YB2xphzJ.js → depth-coloring.worker-BfrTf5yN.js} +6 -4
- package/dist/{deserialization.worker-CUQshOva.js → deserialization.worker-hk5-vVek.js} +4 -7
- package/dist/{index-BimPKcrm.js → index-B0BQ4Fwh.js} +3 -3
- package/dist/{index-BJDORwpv.js → index-BGsMOjjC.js} +3 -3
- package/dist/{index-DNjRDu_i.js → index-BTT4oTs5.js} +3 -3
- package/dist/{index-DfDFLVJw.js → index-BTaQS6zc.js} +3 -3
- package/dist/{index-DCjnDYdn.js → index-BUWAj7RO.js} +3 -3
- package/dist/{index-Dly2VJ2B.js → index-BlAepdJg.js} +5 -5
- package/dist/{index-B4xhG_lJ.js → index-BzLeaN56.js} +4 -4
- package/dist/{index-CpgTEFvA.js → index-CTU14EGn.js} +3 -3
- package/dist/{index-C4y1s0Nb.js → index-CYlHxiz2.js} +3 -3
- package/dist/{index-CmrbNJoW.js → index-Cnigfgu_.js} +1 -1
- package/dist/{index-3ExnAzAV.js → index-CpDOxFKV.js} +3 -3
- package/dist/{index-zO0AHCu7.js → index-CrukQeVA.js} +24 -24
- package/dist/{index-FWDxRfR8.js → index-DGb5vWhb.js} +3 -3
- package/dist/{index-CBOygVjC.js → index-DpVmn8Eo.js} +3 -3
- package/dist/{index-BXE5U9N5.js → index-DuHHWrO3.js} +3 -3
- package/dist/{index-CyTYlc8K.js → index-DyET9xdh.js} +3 -3
- package/dist/{index-DEUT3mEo.js → index-DzJhlBTx.js} +3 -3
- package/dist/{index-CAUP2iVN.js → index-OiUy81OG.js} +3 -3
- package/dist/{index-DQP_BVHB.js → index-bi1RxT1w.js} +3 -3
- package/dist/{index-DUXZHYX9.js → index-ewsVm4VI.js} +3 -3
- package/dist/index.js +3 -3
- package/dist/lib/src/messaging/deserialization/video/depth-coloring.worker.d.ts +2 -3
- package/dist/lib/src/messaging/deserialization/video/depth-coloring.worker.d.ts.map +1 -1
- package/dist/lib/src/messaging/deserialization/video/depth-coloring.worker.js +5 -4
- package/dist/lib/src/messaging/deserialization/video/depth-coloring.worker.js.map +1 -1
- package/dist/lib/src/messaging/deserialization/video/depth.d.ts +2 -2
- package/dist/lib/src/messaging/deserialization/video/depth.d.ts.map +1 -1
- package/dist/lib/src/messaging/deserialization/video/depth.js +21 -6
- package/dist/lib/src/messaging/deserialization/video/depth.js.map +1 -1
- package/dist/lib/src/messaging/deserialization.worker.d.ts.map +1 -1
- package/dist/lib/src/messaging/deserialization.worker.js +8 -4
- package/dist/lib/src/messaging/deserialization.worker.js.map +1 -1
- package/dist/{pointcloudFromDepth.worker-CoUfUVnZ.js → pointcloudFromDepth.worker-BuoR8w9Z.js} +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { w as wrap } from './comlink-
|
|
1
|
+
import { t as transfer, w as wrap } from './comlink-CsH1ih07.js';
|
|
2
2
|
import { useContext, useRef, useLayoutEffect, createContext, useReducer, useState, useCallback } from 'react';
|
|
3
3
|
import 'zustand';
|
|
4
4
|
import { isParent, getLeaves, createRemoveUpdate, updateTree, getNodeAtPath } from 'react-mosaic-component';
|
|
@@ -4189,11 +4189,18 @@ function parseMessage(message) {
|
|
|
4189
4189
|
// License, v2.0. If a copy of the MPL was not distributed with this
|
|
4190
4190
|
// file, You can obtain one at http://mozilla.org/MPL/2.0/
|
|
4191
4191
|
|
|
4192
|
+
let depthWorker = null;
|
|
4193
|
+
function getDepthWorker() {
|
|
4194
|
+
if (!depthWorker) {
|
|
4195
|
+
depthWorker = wrap(new Worker(new URL("depth-coloring.worker-BfrTf5yN.js", import.meta.url)));
|
|
4196
|
+
}
|
|
4197
|
+
return depthWorker;
|
|
4198
|
+
}
|
|
4192
4199
|
async function deserializeDepthFrame({
|
|
4193
4200
|
topic,
|
|
4194
4201
|
message,
|
|
4195
4202
|
callback,
|
|
4196
|
-
|
|
4203
|
+
maxStereoDepth
|
|
4197
4204
|
}) {
|
|
4198
4205
|
const {
|
|
4199
4206
|
receiveTime,
|
|
@@ -4201,8 +4208,16 @@ async function deserializeDepthFrame({
|
|
|
4201
4208
|
width,
|
|
4202
4209
|
height
|
|
4203
4210
|
} = parseMessage(message);
|
|
4204
|
-
const worker =
|
|
4205
|
-
|
|
4211
|
+
const worker = getDepthWorker();
|
|
4212
|
+
|
|
4213
|
+
// Transfer the underlying ArrayBuffer to the worker to avoid cloning and allow GC on the main thread
|
|
4214
|
+
let colorizedData;
|
|
4215
|
+
try {
|
|
4216
|
+
colorizedData = await worker.colorDepht(transfer(message.data, [message.data.buffer]), encoding, width, height, maxStereoDepth);
|
|
4217
|
+
} catch (err) {
|
|
4218
|
+
// Fallback in case the buffer is not transferable (e.g., SharedArrayBuffer)
|
|
4219
|
+
colorizedData = await worker.colorDepht(message.data, encoding, width, height, maxStereoDepth);
|
|
4220
|
+
}
|
|
4206
4221
|
const foxgloveMessage = {
|
|
4207
4222
|
timestamp: receiveTime,
|
|
4208
4223
|
frame_id: `depth-${topic}-frame`,
|
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
import { e as expose } from './comlink-
|
|
1
|
+
import { e as expose, t as transfer } from './comlink-CsH1ih07.js';
|
|
2
2
|
|
|
3
3
|
// This Source Code Form is subject to the terms of the Mozilla Public
|
|
4
4
|
// License, v2.0. If a copy of the MPL was not distributed with this
|
|
5
5
|
// file, You can obtain one at http://mozilla.org/MPL/2.0/
|
|
6
6
|
|
|
7
|
-
function colorDepht(
|
|
8
|
-
const depthData = parseDepthData(
|
|
7
|
+
function colorDepht(data, encoding, width, height, maxSteroDepth) {
|
|
8
|
+
const depthData = parseDepthData(data, encoding, width, height);
|
|
9
9
|
const colorizedData = colorizeDepthFrame(depthData, width, height, maxSteroDepth);
|
|
10
|
-
|
|
10
|
+
|
|
11
|
+
// Return the colorized buffer as a transferable to avoid copies
|
|
12
|
+
return transfer(colorizedData, [colorizedData.buffer]);
|
|
11
13
|
}
|
|
12
14
|
function parseDepthData(data, encoding, width, height) {
|
|
13
15
|
const pixelCount = width * height;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { e as expose } from './comlink-
|
|
2
|
-
import { t as typescript } from './index-
|
|
3
|
-
import { U as parseMessage, e as estimateObjectSize, V as fromMillis, d as dist, W as parsePixelFormat, X as deserializeDepthFrame } from './depth-
|
|
1
|
+
import { e as expose } from './comlink-CsH1ih07.js';
|
|
2
|
+
import { t as typescript } from './index-Cnigfgu_.js';
|
|
3
|
+
import { U as parseMessage, e as estimateObjectSize, V as fromMillis, d as dist, W as parsePixelFormat, X as deserializeDepthFrame } from './depth-CvvVVEb7.js';
|
|
4
4
|
import { P as PointsAnnotationType, p as protobufsBySchema, T as Type, b as Profile } from './protobuf-BFCtaU7c.js';
|
|
5
5
|
import { i as isCapableOfEncodedStream } from './encoding-DqlhpFR2.js';
|
|
6
6
|
import 'react';
|
|
@@ -1053,9 +1053,6 @@ function handleMessageToDecode({
|
|
|
1053
1053
|
const bufferArray = new Uint8Array(buffer.buffer, buffer.byteOffset, buffer.byteLength);
|
|
1054
1054
|
try {
|
|
1055
1055
|
const message = protobufSchema.decoder.decode(bufferArray);
|
|
1056
|
-
console.debug(`[DepthAI Deserialization] Received message of type ${protobufSchema.type} on topic ${topic}`, {
|
|
1057
|
-
message
|
|
1058
|
-
});
|
|
1059
1056
|
if (configStore.connectionConfigValue.debugLogs) {
|
|
1060
1057
|
console.debug(`[DepthAI Deserialization] Received message of type ${protobufSchema.type} on topic ${topic}`, {
|
|
1061
1058
|
message
|
|
@@ -1153,7 +1150,7 @@ async function deserializeDepthAiMessage(args) {
|
|
|
1153
1150
|
topic,
|
|
1154
1151
|
message,
|
|
1155
1152
|
callback,
|
|
1156
|
-
|
|
1153
|
+
maxStereoDepth: maxSteroDepth / 1000
|
|
1157
1154
|
});
|
|
1158
1155
|
break;
|
|
1159
1156
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a1 as ExternalTokenizer, a9 as ContextTracker, Y as styleTags, Z as tags, a2 as LRParser, $ as LRLanguage, X as foldNodeProp, a8 as foldInside, U as indentNodeProp, V as continuedIndent, ae as defineCSSCompletionSource, a0 as LanguageSupport } from './index-
|
|
2
|
-
import './depth-
|
|
3
|
-
import './comlink-
|
|
1
|
+
import { a1 as ExternalTokenizer, a9 as ContextTracker, Y as styleTags, Z as tags, a2 as LRParser, $ as LRLanguage, X as foldNodeProp, a8 as foldInside, U as indentNodeProp, V as continuedIndent, ae as defineCSSCompletionSource, a0 as LanguageSupport } from './index-CrukQeVA.js';
|
|
2
|
+
import './depth-CvvVVEb7.js';
|
|
3
|
+
import './comlink-CsH1ih07.js';
|
|
4
4
|
import 'react';
|
|
5
5
|
import 'zustand';
|
|
6
6
|
import 'react-mosaic-component';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a1 as ExternalTokenizer, a9 as ContextTracker, Y as styleTags, Z as tags, a2 as LRParser, a5 as syntaxTree, a3 as ifNotIn, $ as LRLanguage, U as indentNodeProp, a7 as delimitedIndent, X as foldNodeProp, a8 as foldInside, a0 as LanguageSupport, ac as IterMode, a4 as completeFromList, ad as NodeWeakMap, ab as snippetCompletion } from './index-
|
|
2
|
-
import './depth-
|
|
3
|
-
import './comlink-
|
|
1
|
+
import { a1 as ExternalTokenizer, a9 as ContextTracker, Y as styleTags, Z as tags, a2 as LRParser, a5 as syntaxTree, a3 as ifNotIn, $ as LRLanguage, U as indentNodeProp, a7 as delimitedIndent, X as foldNodeProp, a8 as foldInside, a0 as LanguageSupport, ac as IterMode, a4 as completeFromList, ad as NodeWeakMap, ab as snippetCompletion } from './index-CrukQeVA.js';
|
|
2
|
+
import './depth-CvvVVEb7.js';
|
|
3
|
+
import './comlink-CsH1ih07.js';
|
|
4
4
|
import 'react';
|
|
5
5
|
import 'zustand';
|
|
6
6
|
import 'react-mosaic-component';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { $ as LRLanguage, U as indentNodeProp, a7 as delimitedIndent, X as foldNodeProp, a8 as foldInside, Y as styleTags, Z as tags, a0 as LanguageSupport, a2 as LRParser } from './index-
|
|
2
|
-
import './depth-
|
|
3
|
-
import './comlink-
|
|
1
|
+
import { $ as LRLanguage, U as indentNodeProp, a7 as delimitedIndent, X as foldNodeProp, a8 as foldInside, Y as styleTags, Z as tags, a0 as LanguageSupport, a2 as LRParser } from './index-CrukQeVA.js';
|
|
2
|
+
import './depth-CvvVVEb7.js';
|
|
3
|
+
import './comlink-CsH1ih07.js';
|
|
4
4
|
import 'react';
|
|
5
5
|
import 'zustand';
|
|
6
6
|
import 'react-mosaic-component';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a1 as ExternalTokenizer, Y as styleTags, Z as tags, a2 as LRParser, $ as LRLanguage, U as indentNodeProp, V as continuedIndent, a6 as flatIndent, a7 as delimitedIndent, X as foldNodeProp, a8 as foldInside, a0 as LanguageSupport } from './index-
|
|
2
|
-
import './depth-
|
|
3
|
-
import './comlink-
|
|
1
|
+
import { a1 as ExternalTokenizer, Y as styleTags, Z as tags, a2 as LRParser, $ as LRLanguage, U as indentNodeProp, V as continuedIndent, a6 as flatIndent, a7 as delimitedIndent, X as foldNodeProp, a8 as foldInside, a0 as LanguageSupport } from './index-CrukQeVA.js';
|
|
2
|
+
import './depth-CvvVVEb7.js';
|
|
3
|
+
import './comlink-CsH1ih07.js';
|
|
4
4
|
import 'react';
|
|
5
5
|
import 'zustand';
|
|
6
6
|
import 'react-mosaic-component';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a1 as ExternalTokenizer, a9 as ContextTracker, Y as styleTags, Z as tags, a2 as LRParser, aa as LocalTokenGroup, ab as snippetCompletion, a5 as syntaxTree, $ as LRLanguage, U as indentNodeProp, V as continuedIndent, a6 as flatIndent, a7 as delimitedIndent, X as foldNodeProp, a8 as foldInside, a0 as LanguageSupport, a3 as ifNotIn, a4 as completeFromList, ac as IterMode, ad as NodeWeakMap } from './index-
|
|
2
|
-
import './depth-
|
|
3
|
-
import './comlink-
|
|
1
|
+
import { a1 as ExternalTokenizer, a9 as ContextTracker, Y as styleTags, Z as tags, a2 as LRParser, aa as LocalTokenGroup, ab as snippetCompletion, a5 as syntaxTree, $ as LRLanguage, U as indentNodeProp, V as continuedIndent, a6 as flatIndent, a7 as delimitedIndent, X as foldNodeProp, a8 as foldInside, a0 as LanguageSupport, a3 as ifNotIn, a4 as completeFromList, ac as IterMode, ad as NodeWeakMap } from './index-CrukQeVA.js';
|
|
2
|
+
import './depth-CvvVVEb7.js';
|
|
3
|
+
import './comlink-CsH1ih07.js';
|
|
4
4
|
import 'react';
|
|
5
5
|
import 'zustand';
|
|
6
6
|
import 'react-mosaic-component';
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { ImagePanel } from './index-
|
|
1
|
+
import { ImagePanel } from './index-BzLeaN56.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'react-dom';
|
|
4
|
-
import './depth-
|
|
5
|
-
import './comlink-
|
|
4
|
+
import './depth-CvvVVEb7.js';
|
|
5
|
+
import './comlink-CsH1ih07.js';
|
|
6
6
|
import 'zustand';
|
|
7
7
|
import 'react-mosaic-component';
|
|
8
8
|
import './protobuf-BFCtaU7c.js';
|
|
9
9
|
import 'protobufjs/minimal';
|
|
10
10
|
import '@mui/material';
|
|
11
11
|
import './isArrayLikeObject-Bytw9p-q.js';
|
|
12
|
-
import './index-
|
|
12
|
+
import './index-CrukQeVA.js';
|
|
13
13
|
import './utils-Hzt3wxhG.js';
|
|
14
14
|
import './FoxgloveServer-h5m-pXp3.js';
|
|
15
15
|
import 'ms';
|
|
@@ -32,7 +32,7 @@ import '@mui/icons-material/MoreVert';
|
|
|
32
32
|
import '@mui/icons-material/Cancel';
|
|
33
33
|
import '@mui/icons-material/Search';
|
|
34
34
|
import './decodeImage-DAWmFdMI.js';
|
|
35
|
-
import './index-
|
|
35
|
+
import './index-Cnigfgu_.js';
|
|
36
36
|
import '@mui/material/styles/createTypography';
|
|
37
37
|
import 'color';
|
|
38
38
|
import 'lodash.curry';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import React__default, { useReducer, useRef, useCallback, useLayoutEffect, Component, useContext, useState, useEffect, createContext, forwardRef, createElement, cloneElement, useMemo, Profiler, StrictMode } from 'react';
|
|
3
3
|
import ReactDOM__default from 'react-dom';
|
|
4
|
-
import { Y as isSymbol, Z as toString, $ as keys, a0 as getSymbols$1, a1 as stubArray, a2 as arrayPush, a3 as baseGetAllKeys, g as getTag, a4 as getAllKeys, k as baseGet, c as baseIteratee, j as castPath, t as toKey, a5 as arrayMap$1, a6 as baseUniq, b as baseFlatten, a7 as useMustNotChange, a8 as useCurrentLayoutActions, a9 as useCurrentLayoutSelector, r as reportError, A as AppError, L as Logger, u as useGuaranteedContext, aa as usePanelMosaicId, ab as useSelectedPanels, ac as PANEL_TITLE_CONFIG_KEY, ad as noop$4, o as getPanelTypeFromId, M as useShallowMemo, T as TAB_PANEL_TYPE, J as filterMap, d as dist$2, ae as useAppConfiguration, af as useValueChangedDebugLog, ag as useJsonTreeTheme } from './depth-
|
|
4
|
+
import { Y as isSymbol, Z as toString, $ as keys, a0 as getSymbols$1, a1 as stubArray, a2 as arrayPush, a3 as baseGetAllKeys, g as getTag, a4 as getAllKeys, k as baseGet, c as baseIteratee, j as castPath, t as toKey, a5 as arrayMap$1, a6 as baseUniq, b as baseFlatten, a7 as useMustNotChange, a8 as useCurrentLayoutActions, a9 as useCurrentLayoutSelector, r as reportError, A as AppError, L as Logger, u as useGuaranteedContext, aa as usePanelMosaicId, ab as useSelectedPanels, ac as PANEL_TITLE_CONFIG_KEY, ad as noop$4, o as getPanelTypeFromId, M as useShallowMemo, T as TAB_PANEL_TYPE, J as filterMap, d as dist$2, ae as useAppConfiguration, af as useValueChangedDebugLog, ag as useJsonTreeTheme } from './depth-CvvVVEb7.js';
|
|
5
5
|
import { createStore, useStore } from 'zustand';
|
|
6
|
-
import { g as generateUtilityClass, c as createAggregator, f as flatRest, b as baseSet, A as AnalyticsContext, P as PropTypes, E as ErrorDisplay, S as Stack$1, m as makeStyles$1, _ as _extends$1, W as WorkspaceContext, u as useAnalytics, a as AppEvent, L as LeftSidebarItemKeys, R as RightSidebarItemKeys, d as useTranslation, e as usePanelCatalog, h as EmptyState, i as isEmpty, j as PanelContext, k as PanelCatalogContext, l as usePanelStateStore, n as useDefaultPanelTitle, o as useWorkspaceStore, p as WorkspaceStoreSelectors, q as difference, r as usePanelContext, s as useMessagePipeline, v as v4, t as useHoverValue, w as useSetHoverValue, x as useClearHoverValue, y as useMessagePipelineGetter, z as usePanelSettingsTreeUpdate, B as PlayerCapabilities, C as assertNever, D as PlayerPresence, F as isEqual, G as isDesktopApp, H as createTheme, I as propTypesExports, J as DEFAULT_CAMERA_STATE$1, K as format$1, M as z, N as serializeError, O as stringify$1, Q as createIntl, T as createIntlCache } from './index-
|
|
6
|
+
import { g as generateUtilityClass, c as createAggregator, f as flatRest, b as baseSet, A as AnalyticsContext, P as PropTypes, E as ErrorDisplay, S as Stack$1, m as makeStyles$1, _ as _extends$1, W as WorkspaceContext, u as useAnalytics, a as AppEvent, L as LeftSidebarItemKeys, R as RightSidebarItemKeys, d as useTranslation, e as usePanelCatalog, h as EmptyState, i as isEmpty, j as PanelContext, k as PanelCatalogContext, l as usePanelStateStore, n as useDefaultPanelTitle, o as useWorkspaceStore, p as WorkspaceStoreSelectors, q as difference, r as usePanelContext, s as useMessagePipeline, v as v4, t as useHoverValue, w as useSetHoverValue, x as useClearHoverValue, y as useMessagePipelineGetter, z as usePanelSettingsTreeUpdate, B as PlayerCapabilities, C as assertNever, D as PlayerPresence, F as isEqual, G as isDesktopApp, H as createTheme, I as propTypesExports, J as DEFAULT_CAMERA_STATE$1, K as format$1, M as z, N as serializeError, O as stringify$1, Q as createIntl, T as createIntlCache } from './index-CrukQeVA.js';
|
|
7
7
|
import { MosaicDragType, MosaicContext, MosaicWindowContext, getOtherBranch, getNodeAtPath } from 'react-mosaic-component';
|
|
8
8
|
import { g as getDefaultExportFromCjs, c as commonjsGlobal, d as getAugmentedNamespace } from './protobuf-BFCtaU7c.js';
|
|
9
9
|
import { Link, Button, alpha, IconButton, Card, CardActionArea, CardMedia, CardContent, Typography, Container, Tooltip, Fade, ListItem, ListItemButton, ListItemText, List, TextField, InputAdornment, Popper, Grow, Paper, ClickAwayListener, Menu, MenuItem, Divider, buttonClasses, Backdrop, Chip, useTheme, alertClasses, darken, lighten, inputBaseClasses, autocompleteClasses, inputClasses, Checkbox, dialogActionsClasses, filledInputClasses, inputAdornmentClasses, listSubheaderClasses, selectClasses, tableCellClasses, ThemeProvider as ThemeProvider$1, SvgIcon, tabsClasses as tabsClasses$1, tabClasses, Tabs, Tab, ListItemIcon } from '@mui/material';
|
|
@@ -17,14 +17,14 @@ import CancelIcon from '@mui/icons-material/Cancel';
|
|
|
17
17
|
import SearchIcon from '@mui/icons-material/Search';
|
|
18
18
|
import { useDrag, useDrop } from 'react-dnd';
|
|
19
19
|
import { B as Box3, V as Vector3, I as InstancedBufferGeometry, F as Float32BufferAttribute, a as InstancedInterleavedBuffer, b as InterleavedBufferAttribute, W as WireframeGeometry, S as Sphere, U as UniformsLib, c as Vector2, e as ShaderLib, f as UniformsUtils, g as ShaderMaterial, h as Vector4, M as Matrix4, L as Line3, i as Mesh, j as MathUtils, O as Object3D, C as Color, r as rgbToThreeColor, s as stringToRgba, m as makeRgba, k as MeshStandardMaterial, R as ReplaceStencilOp, N as NotEqualStencilFunc, D as DoubleSide, P as PointsMaterial, l as rgbaToCssString, n as colorModeSettingsFields, o as autoSelectColorSettings, p as PlaneGeometry, q as DataTexture, t as UVMapping, u as ClampToEdgeWrapping, v as NearestFilter, w as LinearFilter, x as FS_SRGB_TO_LINEAR, y as SRGBColorSpace, z as LinearSRGBColorSpace, A as rgbaToLinear, E as RedFormat, G as RGBAFormat, H as getColorConverter, J as FloatType, K as UnsignedByteType, Q as NEEDS_MIN_MAX$1, T as InstancedMesh, X as CylinderGeometry, Y as ConeGeometry, Z as DataTextureLoader, _ as LinearMipmapLinearFilter, $ as Loader, a0 as LoaderUtils, a1 as FileLoader, a2 as MeshBasicMaterial, a3 as Scene, a4 as TextureLoader, a5 as AnimationClip, a6 as VectorKeyframeTrack, a7 as QuaternionKeyframeTrack, a8 as MeshLambertMaterial, a9 as MeshPhongMaterial, aa as FrontSide, ab as PerspectiveCamera, ac as OrthographicCamera, ad as AmbientLight, ae as SpotLight, af as PointLight, ag as DirectionalLight, ah as BufferGeometry, ai as Group, aj as Quaternion, ak as Bone, al as LineBasicMaterial, am as SkinnedMesh, an as Line, ao as LineSegments, ap as RepeatWrapping, aq as Skeleton, ar as BufferAttribute, as as TrianglesDrawMode, at as TriangleFanDrawMode, au as TriangleStripDrawMode, av as MeshPhysicalMaterial, aw as ImageBitmapLoader, ax as InterleavedBuffer, ay as Material, az as PropertyBinding, aA as LineLoop, aB as Points, aC as InterpolateLinear, aD as ColorManagement, aE as NearestMipmapNearestFilter, aF as LinearMipmapNearestFilter, aG as NearestMipmapLinearFilter, aH as MirroredRepeatWrapping, aI as InterpolateDiscrete, aJ as Texture, aK as NumberKeyframeTrack, aL as Interpolant, aM as EdgesGeometry, aN as LoadingManager, aO as stringToRgb, aP as getLuminance, aQ as Euler, aR as vec3TupleApproxEquals, aS as decodeCompressedImageToBitmap, aT as CanvasTexture, aU as Shape, aV as SRGBToLinear, aW as ShapeGeometry, aX as DynamicDrawUsage, aY as ShaderChunk, aZ as IMAGE_DEFAULT_COLOR_MODE_SETTINGS, a_ as colorHasTransparency, a$ as StaticDrawUsage, b0 as RawShaderMaterial, b1 as GLSL3, b2 as colorFieldComputedPrefix, b3 as getRotationTo, b4 as SphereGeometry, b5 as rgbaGradient, b6 as InstancedBufferAttribute, b7 as BoxGeometry, b8 as DARK_OUTLINE, b9 as LIGHT_OUTLINE, ba as CircleGeometry, bb as LineDashedMaterial, bc as GreaterDepth, bd as EventDispatcher$1, be as Plane, bf as Raycaster, bg as WebGLRenderTarget, bh as THREE$1, bi as Spherical, bj as WebGLRenderer, bk as NoToneMapping, bl as VSMShadowMap, bm as HemisphereLight } from './decodeImage-DAWmFdMI.js';
|
|
20
|
-
import { t as typescript } from './index-
|
|
20
|
+
import { t as typescript } from './index-Cnigfgu_.js';
|
|
21
21
|
import { CacheProvider } from '@emotion/react';
|
|
22
22
|
import '@mui/material/styles/createTypography';
|
|
23
23
|
import { E as EventEmitter } from './FoxgloveServer-h5m-pXp3.js';
|
|
24
24
|
import require$$1$3 from 'color';
|
|
25
25
|
import require$$2$1 from 'lodash.curry';
|
|
26
26
|
import OpenInNewIcon from '@mui/icons-material/OpenInNew';
|
|
27
|
-
import './comlink-
|
|
27
|
+
import './comlink-CsH1ih07.js';
|
|
28
28
|
import './utils-Hzt3wxhG.js';
|
|
29
29
|
import './foxglove-protocol-BSYuI-q2.js';
|
|
30
30
|
import 'react-dnd-html5-backend';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Y as styleTags, Z as tags, $ as LRLanguage, a0 as LanguageSupport, a2 as LRParser, aa as LocalTokenGroup, ah as html, ai as parseMixed, ak as javascriptLanguage } from './index-
|
|
2
|
-
import './depth-
|
|
3
|
-
import './comlink-
|
|
1
|
+
import { Y as styleTags, Z as tags, $ as LRLanguage, a0 as LanguageSupport, a2 as LRParser, aa as LocalTokenGroup, ah as html, ai as parseMixed, ak as javascriptLanguage } from './index-CrukQeVA.js';
|
|
2
|
+
import './depth-CvvVVEb7.js';
|
|
3
|
+
import './comlink-CsH1ih07.js';
|
|
4
4
|
import 'react';
|
|
5
5
|
import 'zustand';
|
|
6
6
|
import 'react-mosaic-component';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Y as styleTags, Z as tags, ak as javascriptLanguage, $ as LRLanguage, a0 as LanguageSupport, a2 as LRParser, ah as html, ai as parseMixed, a1 as ExternalTokenizer } from './index-
|
|
2
|
-
import './depth-
|
|
3
|
-
import './comlink-
|
|
1
|
+
import { Y as styleTags, Z as tags, ak as javascriptLanguage, $ as LRLanguage, a0 as LanguageSupport, a2 as LRParser, ah as html, ai as parseMixed, a1 as ExternalTokenizer } from './index-CrukQeVA.js';
|
|
2
|
+
import './depth-CvvVVEb7.js';
|
|
3
|
+
import './comlink-CsH1ih07.js';
|
|
4
4
|
import 'react';
|
|
5
5
|
import 'zustand';
|
|
6
6
|
import 'react-mosaic-component';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a1 as ExternalTokenizer, Y as styleTags, Z as tags, a2 as LRParser, $ as LRLanguage, U as indentNodeProp, V as continuedIndent, a7 as delimitedIndent, X as foldNodeProp, a8 as foldInside, ah as html, a0 as LanguageSupport, ai as parseMixed } from './index-
|
|
2
|
-
import './depth-
|
|
3
|
-
import './comlink-
|
|
1
|
+
import { a1 as ExternalTokenizer, Y as styleTags, Z as tags, a2 as LRParser, $ as LRLanguage, U as indentNodeProp, V as continuedIndent, a7 as delimitedIndent, X as foldNodeProp, a8 as foldInside, ah as html, a0 as LanguageSupport, ai as parseMixed } from './index-CrukQeVA.js';
|
|
2
|
+
import './depth-CvvVVEb7.js';
|
|
3
|
+
import './comlink-CsH1ih07.js';
|
|
4
4
|
import 'react';
|
|
5
5
|
import 'zustand';
|
|
6
6
|
import 'react-mosaic-component';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as dist$1, e as estimateObjectSize, r as reportError, A as AppError, b as baseFlatten, a as baseEach, c as baseIteratee, f as baseDifference, g as getTag, h as baseKeys, i as baseIsEqual, j as castPath, t as toKey, k as baseGet, l as hasIn, s as sendNotification, m as shallowequal, u as useGuaranteedContext, n as getPanelIdsInsideTabPanels, o as getPanelTypeFromId, T as TAB_PANEL_TYPE, p as removePanelFromTabPanel, q as getPanelIdForType, v as getPathFromNode, w as updateTabPanelLayout, x as getSaveConfigsPayloadForAddedPanel, y as replaceAndRemovePanels, z as inlineTabPanelLayouts, B as getAllPanelIds, C as getConfigsForNestedPanelsInsideTab, D as reorderTabWithinTabPanel, E as moveTabBetweenTabPanels, F as isTabPanelConfig, G as DEFAULT_TAB_PANEL_CONFIG, H as addPanelToTab, I as createAddUpdates, J as filterMap, L as Logger, K as uniq$2, M as useShallowMemo, N as CurrentLayoutContext, O as MessageOrderTracker, P as AppConfigurationContext, _ as __assign$8, Q as __rest$5, R as __spreadArray$5 } from './depth-
|
|
2
|
-
import { w as wrap$3, p as proxy } from './comlink-
|
|
1
|
+
import { d as dist$1, e as estimateObjectSize, r as reportError, A as AppError, b as baseFlatten, a as baseEach, c as baseIteratee, f as baseDifference, g as getTag, h as baseKeys, i as baseIsEqual, j as castPath, t as toKey, k as baseGet, l as hasIn, s as sendNotification, m as shallowequal, u as useGuaranteedContext, n as getPanelIdsInsideTabPanels, o as getPanelTypeFromId, T as TAB_PANEL_TYPE, p as removePanelFromTabPanel, q as getPanelIdForType, v as getPathFromNode, w as updateTabPanelLayout, x as getSaveConfigsPayloadForAddedPanel, y as replaceAndRemovePanels, z as inlineTabPanelLayouts, B as getAllPanelIds, C as getConfigsForNestedPanelsInsideTab, D as reorderTabWithinTabPanel, E as moveTabBetweenTabPanels, F as isTabPanelConfig, G as DEFAULT_TAB_PANEL_CONFIG, H as addPanelToTab, I as createAddUpdates, J as filterMap, L as Logger, K as uniq$2, M as useShallowMemo, N as CurrentLayoutContext, O as MessageOrderTracker, P as AppConfigurationContext, _ as __assign$8, Q as __rest$5, R as __spreadArray$5 } from './depth-CvvVVEb7.js';
|
|
2
|
+
import { w as wrap$3, p as proxy } from './comlink-CsH1ih07.js';
|
|
3
3
|
import { u as uint8ArrayToUint16Array } from './utils-Hzt3wxhG.js';
|
|
4
4
|
import { p as protobufsBySchema, a as protobufSchemaNameToType, g as getDefaultExportFromCjs, c as commonjsGlobal } from './protobuf-BFCtaU7c.js';
|
|
5
5
|
import { B as BinaryOpcode } from './FoxgloveServer-h5m-pXp3.js';
|
|
@@ -575,7 +575,7 @@ class DepthToPointcloudWorkerPool {
|
|
|
575
575
|
this.#FRAME_BATCH_SIZE = Math.max(1, batchSize);
|
|
576
576
|
this.#targetDispatchIntervalMs = DISPATCH_INTERVAL_MS / Math.max(1, Math.round(targetFps / DISPATCH_INTERVAL_FRACTION)) * this.#calculateBatchMultiplier();
|
|
577
577
|
this.#maxProcessedQueueSize = Math.max(1, maxProcessedQueueSize);
|
|
578
|
-
this.workerApis = new Array(WORKER_COUNT).fill(undefined).map(() => wrap$3(new Worker(new URL("pointcloudFromDepth.worker-
|
|
578
|
+
this.workerApis = new Array(WORKER_COUNT).fill(undefined).map(() => wrap$3(new Worker(new URL("pointcloudFromDepth.worker-BuoR8w9Z.js", import.meta.url), {
|
|
579
579
|
type: "module"
|
|
580
580
|
})));
|
|
581
581
|
this.#metrics = globalInputEventMetricsManager;
|
|
@@ -790,7 +790,7 @@ class ConfigStore {
|
|
|
790
790
|
// file, You can obtain one at http://mozilla.org/MPL/2.0/
|
|
791
791
|
|
|
792
792
|
function initWorker(callback) {
|
|
793
|
-
const workerWrap = wrap$3(new Worker(new URL("deserialization.worker-
|
|
793
|
+
const workerWrap = wrap$3(new Worker(new URL("deserialization.worker-hk5-vVek.js", import.meta.url), {
|
|
794
794
|
type: "module",
|
|
795
795
|
name: `message-decoder`
|
|
796
796
|
}));
|
|
@@ -86841,7 +86841,7 @@ function legacy(parser) {
|
|
|
86841
86841
|
return new LanguageSupport(StreamLanguage.define(parser));
|
|
86842
86842
|
}
|
|
86843
86843
|
function sql$1(dialectName) {
|
|
86844
|
-
return import('./index-
|
|
86844
|
+
return import('./index-DpVmn8Eo.js').then(m => m.sql({ dialect: m[dialectName] }));
|
|
86845
86845
|
}
|
|
86846
86846
|
/**
|
|
86847
86847
|
An array of language descriptions for known language packages.
|
|
@@ -86852,7 +86852,7 @@ const languages = [
|
|
|
86852
86852
|
name: "C",
|
|
86853
86853
|
extensions: ["c", "h", "ino"],
|
|
86854
86854
|
load() {
|
|
86855
|
-
return import('./index-
|
|
86855
|
+
return import('./index-BTaQS6zc.js').then(m => m.cpp());
|
|
86856
86856
|
}
|
|
86857
86857
|
}),
|
|
86858
86858
|
/*@__PURE__*/LanguageDescription.of({
|
|
@@ -86860,7 +86860,7 @@ const languages = [
|
|
|
86860
86860
|
alias: ["cpp"],
|
|
86861
86861
|
extensions: ["cpp", "c++", "cc", "cxx", "hpp", "h++", "hh", "hxx"],
|
|
86862
86862
|
load() {
|
|
86863
|
-
return import('./index-
|
|
86863
|
+
return import('./index-BTaQS6zc.js').then(m => m.cpp());
|
|
86864
86864
|
}
|
|
86865
86865
|
}),
|
|
86866
86866
|
/*@__PURE__*/LanguageDescription.of({
|
|
@@ -86880,7 +86880,7 @@ const languages = [
|
|
|
86880
86880
|
name: "Go",
|
|
86881
86881
|
extensions: ["go"],
|
|
86882
86882
|
load() {
|
|
86883
|
-
return import('./index-
|
|
86883
|
+
return import('./index-BUWAj7RO.js').then(m => m.go());
|
|
86884
86884
|
}
|
|
86885
86885
|
}),
|
|
86886
86886
|
/*@__PURE__*/LanguageDescription.of({
|
|
@@ -86895,7 +86895,7 @@ const languages = [
|
|
|
86895
86895
|
name: "Java",
|
|
86896
86896
|
extensions: ["java"],
|
|
86897
86897
|
load() {
|
|
86898
|
-
return import('./index-
|
|
86898
|
+
return import('./index-DzJhlBTx.js').then(m => m.java());
|
|
86899
86899
|
}
|
|
86900
86900
|
}),
|
|
86901
86901
|
/*@__PURE__*/LanguageDescription.of({
|
|
@@ -86911,7 +86911,7 @@ const languages = [
|
|
|
86911
86911
|
alias: ["json5"],
|
|
86912
86912
|
extensions: ["json", "map"],
|
|
86913
86913
|
load() {
|
|
86914
|
-
return import('./index-
|
|
86914
|
+
return import('./index-ewsVm4VI.js').then(m => m.json());
|
|
86915
86915
|
}
|
|
86916
86916
|
}),
|
|
86917
86917
|
/*@__PURE__*/LanguageDescription.of({
|
|
@@ -86925,14 +86925,14 @@ const languages = [
|
|
|
86925
86925
|
name: "LESS",
|
|
86926
86926
|
extensions: ["less"],
|
|
86927
86927
|
load() {
|
|
86928
|
-
return import('./index-
|
|
86928
|
+
return import('./index-bi1RxT1w.js').then(m => m.less());
|
|
86929
86929
|
}
|
|
86930
86930
|
}),
|
|
86931
86931
|
/*@__PURE__*/LanguageDescription.of({
|
|
86932
86932
|
name: "Liquid",
|
|
86933
86933
|
extensions: ["liquid"],
|
|
86934
86934
|
load() {
|
|
86935
|
-
return import('./index-
|
|
86935
|
+
return import('./index-OiUy81OG.js').then(m => m.liquid());
|
|
86936
86936
|
}
|
|
86937
86937
|
}),
|
|
86938
86938
|
/*@__PURE__*/LanguageDescription.of({
|
|
@@ -86958,7 +86958,7 @@ const languages = [
|
|
|
86958
86958
|
name: "PHP",
|
|
86959
86959
|
extensions: ["php", "php3", "php4", "php5", "php7", "phtml"],
|
|
86960
86960
|
load() {
|
|
86961
|
-
return import('./index-
|
|
86961
|
+
return import('./index-CpDOxFKV.js').then(m => m.php());
|
|
86962
86962
|
}
|
|
86963
86963
|
}),
|
|
86964
86964
|
/*@__PURE__*/LanguageDescription.of({
|
|
@@ -86975,28 +86975,28 @@ const languages = [
|
|
|
86975
86975
|
extensions: ["BUILD", "bzl", "py", "pyw"],
|
|
86976
86976
|
filename: /^(BUCK|BUILD)$/,
|
|
86977
86977
|
load() {
|
|
86978
|
-
return import('./index-
|
|
86978
|
+
return import('./index-BGsMOjjC.js').then(m => m.python());
|
|
86979
86979
|
}
|
|
86980
86980
|
}),
|
|
86981
86981
|
/*@__PURE__*/LanguageDescription.of({
|
|
86982
86982
|
name: "Rust",
|
|
86983
86983
|
extensions: ["rs"],
|
|
86984
86984
|
load() {
|
|
86985
|
-
return import('./index-
|
|
86985
|
+
return import('./index-DuHHWrO3.js').then(m => m.rust());
|
|
86986
86986
|
}
|
|
86987
86987
|
}),
|
|
86988
86988
|
/*@__PURE__*/LanguageDescription.of({
|
|
86989
86989
|
name: "Sass",
|
|
86990
86990
|
extensions: ["sass"],
|
|
86991
86991
|
load() {
|
|
86992
|
-
return import('./index-
|
|
86992
|
+
return import('./index-B0BQ4Fwh.js').then(m => m.sass({ indented: true }));
|
|
86993
86993
|
}
|
|
86994
86994
|
}),
|
|
86995
86995
|
/*@__PURE__*/LanguageDescription.of({
|
|
86996
86996
|
name: "SCSS",
|
|
86997
86997
|
extensions: ["scss"],
|
|
86998
86998
|
load() {
|
|
86999
|
-
return import('./index-
|
|
86999
|
+
return import('./index-B0BQ4Fwh.js').then(m => m.sass());
|
|
87000
87000
|
}
|
|
87001
87001
|
}),
|
|
87002
87002
|
/*@__PURE__*/LanguageDescription.of({
|
|
@@ -87027,7 +87027,7 @@ const languages = [
|
|
|
87027
87027
|
name: "WebAssembly",
|
|
87028
87028
|
extensions: ["wat", "wast"],
|
|
87029
87029
|
load() {
|
|
87030
|
-
return import('./index-
|
|
87030
|
+
return import('./index-BTT4oTs5.js').then(m => m.wast());
|
|
87031
87031
|
}
|
|
87032
87032
|
}),
|
|
87033
87033
|
/*@__PURE__*/LanguageDescription.of({
|
|
@@ -87035,7 +87035,7 @@ const languages = [
|
|
|
87035
87035
|
alias: ["rss", "wsdl", "xsd"],
|
|
87036
87036
|
extensions: ["xml", "xsl", "xsd", "svg"],
|
|
87037
87037
|
load() {
|
|
87038
|
-
return import('./index-
|
|
87038
|
+
return import('./index-DyET9xdh.js').then(m => m.xml());
|
|
87039
87039
|
}
|
|
87040
87040
|
}),
|
|
87041
87041
|
/*@__PURE__*/LanguageDescription.of({
|
|
@@ -87043,7 +87043,7 @@ const languages = [
|
|
|
87043
87043
|
alias: ["yml"],
|
|
87044
87044
|
extensions: ["yaml", "yml"],
|
|
87045
87045
|
load() {
|
|
87046
|
-
return import('./index-
|
|
87046
|
+
return import('./index-DGb5vWhb.js').then(m => m.yaml());
|
|
87047
87047
|
}
|
|
87048
87048
|
}),
|
|
87049
87049
|
// Legacy modes ported from CodeMirror 5
|
|
@@ -87839,13 +87839,13 @@ const languages = [
|
|
|
87839
87839
|
name: "Vue",
|
|
87840
87840
|
extensions: ["vue"],
|
|
87841
87841
|
load() {
|
|
87842
|
-
return import('./index-
|
|
87842
|
+
return import('./index-CTU14EGn.js').then(m => m.vue());
|
|
87843
87843
|
}
|
|
87844
87844
|
}),
|
|
87845
87845
|
/*@__PURE__*/LanguageDescription.of({
|
|
87846
87846
|
name: "Angular Template",
|
|
87847
87847
|
load() {
|
|
87848
|
-
return import('./index-
|
|
87848
|
+
return import('./index-CYlHxiz2.js').then(m => m.angular());
|
|
87849
87849
|
}
|
|
87850
87850
|
})
|
|
87851
87851
|
];
|
|
@@ -166554,7 +166554,7 @@ function createRenderDelaySampler() {
|
|
|
166554
166554
|
};
|
|
166555
166555
|
}
|
|
166556
166556
|
|
|
166557
|
-
const ImagePanelComponent = /*#__PURE__*/React__default.lazy(async () => await import('./index-
|
|
166557
|
+
const ImagePanelComponent = /*#__PURE__*/React__default.lazy(async () => await import('./index-BlAepdJg.js'));
|
|
166558
166558
|
const ImagePanelBody = ({
|
|
166559
166559
|
topic,
|
|
166560
166560
|
frameRenderedEvent,
|
|
@@ -166649,7 +166649,7 @@ const DEFAULT_CAMERA_STATE = {
|
|
|
166649
166649
|
// License, v2.0. If a copy of the MPL was not distributed with this
|
|
166650
166650
|
// file, You can obtain one at http://mozilla.org/MPL/2.0/
|
|
166651
166651
|
|
|
166652
|
-
const ThreeDeeRenderComponent = /*#__PURE__*/React__default.lazy(async () => await import('./index-
|
|
166652
|
+
const ThreeDeeRenderComponent = /*#__PURE__*/React__default.lazy(async () => await import('./index-BzLeaN56.js'));
|
|
166653
166653
|
const PointCloudPanelBody = ({
|
|
166654
166654
|
topic,
|
|
166655
166655
|
frameRenderedEvent,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a9 as ContextTracker, a1 as ExternalTokenizer, Y as styleTags, Z as tags, a2 as LRParser, $ as LRLanguage, U as indentNodeProp, a7 as delimitedIndent, X as foldNodeProp, a8 as foldInside, a0 as LanguageSupport, ai as parseMixed } from './index-
|
|
2
|
-
import './depth-
|
|
3
|
-
import './comlink-
|
|
1
|
+
import { a9 as ContextTracker, a1 as ExternalTokenizer, Y as styleTags, Z as tags, a2 as LRParser, $ as LRLanguage, U as indentNodeProp, a7 as delimitedIndent, X as foldNodeProp, a8 as foldInside, a0 as LanguageSupport, ai as parseMixed } from './index-CrukQeVA.js';
|
|
2
|
+
import './depth-CvvVVEb7.js';
|
|
3
|
+
import './comlink-CsH1ih07.js';
|
|
4
4
|
import 'react';
|
|
5
5
|
import 'zustand';
|
|
6
6
|
import 'react-mosaic-component';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { U as indentNodeProp, V as continuedIndent, X as foldNodeProp, Y as styleTags, Z as tags, $ as LRLanguage, a0 as LanguageSupport, a1 as ExternalTokenizer, a2 as LRParser, a3 as ifNotIn, a4 as completeFromList, a5 as syntaxTree } from './index-
|
|
2
|
-
import './depth-
|
|
3
|
-
import './comlink-
|
|
1
|
+
import { U as indentNodeProp, V as continuedIndent, X as foldNodeProp, Y as styleTags, Z as tags, $ as LRLanguage, a0 as LanguageSupport, a1 as ExternalTokenizer, a2 as LRParser, a3 as ifNotIn, a4 as completeFromList, a5 as syntaxTree } from './index-CrukQeVA.js';
|
|
2
|
+
import './depth-CvvVVEb7.js';
|
|
3
|
+
import './comlink-CsH1ih07.js';
|
|
4
4
|
import 'react';
|
|
5
5
|
import 'zustand';
|
|
6
6
|
import 'react-mosaic-component';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a1 as ExternalTokenizer, Y as styleTags, Z as tags, a2 as LRParser, $ as LRLanguage, U as indentNodeProp, V as continuedIndent, X as foldNodeProp, a8 as foldInside, a0 as LanguageSupport } from './index-
|
|
2
|
-
import './depth-
|
|
3
|
-
import './comlink-
|
|
1
|
+
import { a1 as ExternalTokenizer, Y as styleTags, Z as tags, a2 as LRParser, $ as LRLanguage, U as indentNodeProp, V as continuedIndent, X as foldNodeProp, a8 as foldInside, a0 as LanguageSupport } from './index-CrukQeVA.js';
|
|
2
|
+
import './depth-CvvVVEb7.js';
|
|
3
|
+
import './comlink-CsH1ih07.js';
|
|
4
4
|
import 'react';
|
|
5
5
|
import 'zustand';
|
|
6
6
|
import 'react-mosaic-component';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a9 as ContextTracker, a1 as ExternalTokenizer, Y as styleTags, Z as tags, a2 as LRParser, $ as LRLanguage, U as indentNodeProp, X as foldNodeProp, aj as bracketMatchingHandle, a0 as LanguageSupport, af as EditorView, a5 as syntaxTree, ag as EditorSelection } from './index-
|
|
2
|
-
import './depth-
|
|
3
|
-
import './comlink-
|
|
1
|
+
import { a9 as ContextTracker, a1 as ExternalTokenizer, Y as styleTags, Z as tags, a2 as LRParser, $ as LRLanguage, U as indentNodeProp, X as foldNodeProp, aj as bracketMatchingHandle, a0 as LanguageSupport, af as EditorView, a5 as syntaxTree, ag as EditorSelection } from './index-CrukQeVA.js';
|
|
2
|
+
import './depth-CvvVVEb7.js';
|
|
3
|
+
import './comlink-CsH1ih07.js';
|
|
4
4
|
import 'react';
|
|
5
5
|
import 'zustand';
|
|
6
6
|
import 'react-mosaic-component';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Y as styleTags, Z as tags, a2 as LRParser, $ as LRLanguage, U as indentNodeProp, V as continuedIndent, a6 as flatIndent, a7 as delimitedIndent, X as foldNodeProp, a8 as foldInside, a0 as LanguageSupport } from './index-
|
|
2
|
-
import './depth-
|
|
3
|
-
import './comlink-
|
|
1
|
+
import { Y as styleTags, Z as tags, a2 as LRParser, $ as LRLanguage, U as indentNodeProp, V as continuedIndent, a6 as flatIndent, a7 as delimitedIndent, X as foldNodeProp, a8 as foldInside, a0 as LanguageSupport } from './index-CrukQeVA.js';
|
|
2
|
+
import './depth-CvvVVEb7.js';
|
|
3
|
+
import './comlink-CsH1ih07.js';
|
|
4
4
|
import 'react';
|
|
5
5
|
import 'zustand';
|
|
6
6
|
import 'react-mosaic-component';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { af as EditorView, ag as EditorSelection, $ as LRLanguage, Y as styleTags, Z as tags, U as indentNodeProp, a7 as delimitedIndent, X as foldNodeProp, a0 as LanguageSupport, a2 as LRParser, a5 as syntaxTree, ah as html, ai as parseMixed, a1 as ExternalTokenizer } from './index-
|
|
2
|
-
import './depth-
|
|
3
|
-
import './comlink-
|
|
1
|
+
import { af as EditorView, ag as EditorSelection, $ as LRLanguage, Y as styleTags, Z as tags, U as indentNodeProp, a7 as delimitedIndent, X as foldNodeProp, a0 as LanguageSupport, a2 as LRParser, a5 as syntaxTree, ah as html, ai as parseMixed, a1 as ExternalTokenizer } from './index-CrukQeVA.js';
|
|
2
|
+
import './depth-CvvVVEb7.js';
|
|
3
|
+
import './comlink-CsH1ih07.js';
|
|
4
4
|
import 'react';
|
|
5
5
|
import 'zustand';
|
|
6
6
|
import 'react-mosaic-component';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Y as styleTags, Z as tags, $ as LRLanguage, U as indentNodeProp, V as continuedIndent, X as foldNodeProp, a8 as foldInside, ae as defineCSSCompletionSource, a0 as LanguageSupport, a2 as LRParser, a1 as ExternalTokenizer } from './index-
|
|
2
|
-
import './depth-
|
|
3
|
-
import './comlink-
|
|
1
|
+
import { Y as styleTags, Z as tags, $ as LRLanguage, U as indentNodeProp, V as continuedIndent, X as foldNodeProp, a8 as foldInside, ae as defineCSSCompletionSource, a0 as LanguageSupport, a2 as LRParser, a1 as ExternalTokenizer } from './index-CrukQeVA.js';
|
|
2
|
+
import './depth-CvvVVEb7.js';
|
|
3
|
+
import './comlink-CsH1ih07.js';
|
|
4
4
|
import 'react';
|
|
5
5
|
import 'zustand';
|
|
6
6
|
import 'react-mosaic-component';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Y as styleTags, Z as tags, a2 as LRParser, $ as LRLanguage, U as indentNodeProp, V as continuedIndent, X as foldNodeProp, a8 as foldInside, a0 as LanguageSupport } from './index-
|
|
2
|
-
import './depth-
|
|
3
|
-
import './comlink-
|
|
1
|
+
import { Y as styleTags, Z as tags, a2 as LRParser, $ as LRLanguage, U as indentNodeProp, V as continuedIndent, X as foldNodeProp, a8 as foldInside, a0 as LanguageSupport } from './index-CrukQeVA.js';
|
|
2
|
+
import './depth-CvvVVEb7.js';
|
|
3
|
+
import './comlink-CsH1ih07.js';
|
|
4
4
|
import 'react';
|
|
5
5
|
import 'zustand';
|
|
6
6
|
import 'react-mosaic-component';
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { av as FrameStore, ao as ImagePanel, an as PanelLayout, ap as PointCloudPanel, al as VisualizerConnection, am as VisualizerContext, aq as constructKeyForTopicRenderMetrics, aw as getIMUEventEmitter, as as globalDecodeMetricsManager, ar as globalInputEventMetricsManager, at as globalRenderMetricsManager, au as globalThroughputMetricsManager } from './index-
|
|
2
|
-
export { S as getDistanceFromDepthDataForOffset } from './depth-
|
|
3
|
-
import './comlink-
|
|
1
|
+
export { av as FrameStore, ao as ImagePanel, an as PanelLayout, ap as PointCloudPanel, al as VisualizerConnection, am as VisualizerContext, aq as constructKeyForTopicRenderMetrics, aw as getIMUEventEmitter, as as globalDecodeMetricsManager, ar as globalInputEventMetricsManager, at as globalRenderMetricsManager, au as globalThroughputMetricsManager } from './index-CrukQeVA.js';
|
|
2
|
+
export { S as getDistanceFromDepthDataForOffset } from './depth-CvvVVEb7.js';
|
|
3
|
+
import './comlink-CsH1ih07.js';
|
|
4
4
|
import './utils-Hzt3wxhG.js';
|
|
5
5
|
import './protobuf-BFCtaU7c.js';
|
|
6
6
|
import 'protobufjs/minimal';
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
export declare function colorDepht(message: ImgFrame, encoding: string, width: number, height: number, maxSteroDepth: number): Uint8Array;
|
|
1
|
+
export declare function colorDepht(data: Uint8Array, encoding: string, width: number, height: number, maxSteroDepth: number): Uint8Array;
|
|
3
2
|
export type ColorDepthApi = {
|
|
4
|
-
colorDepht: (
|
|
3
|
+
colorDepht: (data: Uint8Array, encoding: string, width: number, height: number, maxSteroDepth: number) => Uint8Array;
|
|
5
4
|
};
|
|
6
5
|
//# sourceMappingURL=depth-coloring.worker.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"depth-coloring.worker.d.ts","sourceRoot":"","sources":["../../../../../../src/messaging/deserialization/video/depth-coloring.worker.ts"],"names":[],"mappings":"AAMA,
|
|
1
|
+
{"version":3,"file":"depth-coloring.worker.d.ts","sourceRoot":"","sources":["../../../../../../src/messaging/deserialization/video/depth-coloring.worker.ts"],"names":[],"mappings":"AAMA,wBAAgB,UAAU,CAAC,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,GAAG,UAAU,CAM/H;AACD,MAAM,MAAM,aAAa,GAAG;IAC1B,UAAU,EAAE,CAAC,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,KAAK,UAAU,CAAC;CACtH,CAAC"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
// This Source Code Form is subject to the terms of the Mozilla Public
|
|
2
2
|
// License, v2.0. If a copy of the MPL was not distributed with this
|
|
3
3
|
// file, You can obtain one at http://mozilla.org/MPL/2.0/
|
|
4
|
-
import { expose } from "comlink";
|
|
5
|
-
export function colorDepht(
|
|
6
|
-
const depthData = parseDepthData(
|
|
4
|
+
import { expose, transfer } from "comlink";
|
|
5
|
+
export function colorDepht(data, encoding, width, height, maxSteroDepth) {
|
|
6
|
+
const depthData = parseDepthData(data, encoding, width, height);
|
|
7
7
|
const colorizedData = colorizeDepthFrame(depthData, width, height, maxSteroDepth);
|
|
8
|
-
|
|
8
|
+
// Return the colorized buffer as a transferable to avoid copies
|
|
9
|
+
return transfer(colorizedData, [colorizedData.buffer]);
|
|
9
10
|
}
|
|
10
11
|
function parseDepthData(data, encoding, width, height) {
|
|
11
12
|
const pixelCount = width * height;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"depth-coloring.worker.js","sourceRoot":"","sources":["../../../../../../src/messaging/deserialization/video/depth-coloring.worker.ts"],"names":[],"mappings":"AAAA,sEAAsE;AACtE,oEAAoE;AACpE,0DAA0D;AAE1D,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"depth-coloring.worker.js","sourceRoot":"","sources":["../../../../../../src/messaging/deserialization/video/depth-coloring.worker.ts"],"names":[],"mappings":"AAAA,sEAAsE;AACtE,oEAAoE;AACpE,0DAA0D;AAE1D,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAE3C,MAAM,UAAU,UAAU,CAAC,IAAgB,EAAE,QAAgB,EAAE,KAAa,EAAE,MAAc,EAAE,aAAqB;IACjH,MAAM,SAAS,GAAG,cAAc,CAAC,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,CAAC,CAAC;IAChE,MAAM,aAAa,GAAG,kBAAkB,CAAC,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,aAAa,CAAC,CAAC;IAElF,gEAAgE;IAChE,OAAO,QAAQ,CAAC,aAAa,EAAE,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC,CAAC;AACzD,CAAC;AAKD,SAAS,cAAc,CAAC,IAAgB,EAAE,QAAgB,EAAE,KAAa,EAAE,MAAc;IACvF,MAAM,UAAU,GAAG,KAAK,GAAG,MAAM,CAAC;IAClC,MAAM,SAAS,GAAG,IAAI,YAAY,CAAC,UAAU,CAAC,CAAC;IAE/C,IAAI,QAAQ,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@@ import { ImgFrame } from "../../../protobuf.generated/ImgFrame.js";
|
|
|
4
4
|
export type DeserializeDepthFrameArgs = {
|
|
5
5
|
topic: string;
|
|
6
6
|
message: ImgFrame;
|
|
7
|
-
|
|
7
|
+
maxStereoDepth: number;
|
|
8
8
|
callback: (event: MessageEvent) => void;
|
|
9
9
|
};
|
|
10
10
|
export type PointCloudWithDimensions = PointCloud & {
|
|
11
11
|
width?: number;
|
|
12
12
|
height?: number;
|
|
13
13
|
};
|
|
14
|
-
export declare function deserializeDepthFrame({ topic, message, callback,
|
|
14
|
+
export declare function deserializeDepthFrame({ topic, message, callback, maxStereoDepth, }: DeserializeDepthFrameArgs): Promise<void>;
|
|
15
15
|
export declare function getDistanceFromDepthDataForOffset(depthData: Uint8Array, width: number, height: number, xOffset: number, yOffset: number): number | undefined;
|
|
16
16
|
//# sourceMappingURL=depth.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"depth.d.ts","sourceRoot":"","sources":["../../../../../../src/messaging/deserialization/video/depth.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"depth.d.ts","sourceRoot":"","sources":["../../../../../../src/messaging/deserialization/video/depth.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAEpD,OAAO,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AAGnE,OAAO,EAAE,QAAQ,EAAE,MAAM,yCAAyC,CAAC;AAGnE,MAAM,MAAM,yBAAyB,GAAG;IACtC,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,QAAQ,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;IACvB,QAAQ,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK,IAAI,CAAC;CACzC,CAAC;AACF,MAAM,MAAM,wBAAwB,GAAG,UAAU,GAAG;IAAE,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAUxF,wBAAsB,qBAAqB,CAAC,EAC1C,KAAK,EACL,OAAO,EACP,QAAQ,EACR,cAAc,GACf,EAAE,yBAAyB,GAAG,OAAO,CAAC,IAAI,CAAC,CAqC3C;AAED,wBAAgB,iCAAiC,CAC/C,SAAS,EAAE,UAAU,EACrB,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,MAAM,GACd,MAAM,GAAG,SAAS,CAmDpB"}
|
|
@@ -1,13 +1,28 @@
|
|
|
1
1
|
// This Source Code Form is subject to the terms of the Mozilla Public
|
|
2
2
|
// License, v2.0. If a copy of the MPL was not distributed with this
|
|
3
3
|
// file, You can obtain one at http://mozilla.org/MPL/2.0/
|
|
4
|
-
import { wrap } from "comlink";
|
|
4
|
+
import { wrap, transfer } from "comlink";
|
|
5
5
|
import { estimateObjectSize } from "@foxglove/studio-base/players/messageMemoryEstimation.js";
|
|
6
6
|
import { parseMessage } from "../../utils.js";
|
|
7
|
-
|
|
7
|
+
let depthWorker = null;
|
|
8
|
+
function getDepthWorker() {
|
|
9
|
+
if (!depthWorker) {
|
|
10
|
+
depthWorker = wrap(new Worker(new URL("./depth-coloring.worker", import.meta.url)));
|
|
11
|
+
}
|
|
12
|
+
return depthWorker;
|
|
13
|
+
}
|
|
14
|
+
export async function deserializeDepthFrame({ topic, message, callback, maxStereoDepth, }) {
|
|
8
15
|
const { receiveTime, encoding, width, height } = parseMessage(message);
|
|
9
|
-
const worker =
|
|
10
|
-
|
|
16
|
+
const worker = getDepthWorker();
|
|
17
|
+
// Transfer the underlying ArrayBuffer to the worker to avoid cloning and allow GC on the main thread
|
|
18
|
+
let colorizedData;
|
|
19
|
+
try {
|
|
20
|
+
colorizedData = await worker.colorDepht(transfer(message.data, [message.data.buffer]), encoding, width, height, maxStereoDepth);
|
|
21
|
+
}
|
|
22
|
+
catch (err) {
|
|
23
|
+
// Fallback in case the buffer is not transferable (e.g., SharedArrayBuffer)
|
|
24
|
+
colorizedData = await worker.colorDepht(message.data, encoding, width, height, maxStereoDepth);
|
|
25
|
+
}
|
|
11
26
|
const foxgloveMessage = {
|
|
12
27
|
timestamp: receiveTime,
|
|
13
28
|
frame_id: `depth-${topic}-frame`,
|
|
@@ -15,14 +30,14 @@ export async function deserializeDepthFrame({ topic, message, callback, maxStero
|
|
|
15
30
|
height,
|
|
16
31
|
encoding: "rgb8",
|
|
17
32
|
step: width * 3,
|
|
18
|
-
data: colorizedData
|
|
33
|
+
data: colorizedData,
|
|
19
34
|
};
|
|
20
35
|
callback({
|
|
21
36
|
topic: topic === "Point Cloud" ? "Depth Stream" : topic,
|
|
22
37
|
receiveTime,
|
|
23
38
|
message: foxgloveMessage,
|
|
24
39
|
sizeInBytes: estimateObjectSize(foxgloveMessage),
|
|
25
|
-
schemaName: "foxglove.RawImage"
|
|
40
|
+
schemaName: "foxglove.RawImage",
|
|
26
41
|
});
|
|
27
42
|
}
|
|
28
43
|
export function getDistanceFromDepthDataForOffset(depthData, width, height, xOffset, yOffset) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"depth.js","sourceRoot":"","sources":["../../../../../../src/messaging/deserialization/video/depth.ts"],"names":[],"mappings":"AAAA,sEAAsE;AACtE,oEAAoE;AACpE,0DAA0D;
|
|
1
|
+
{"version":3,"file":"depth.js","sourceRoot":"","sources":["../../../../../../src/messaging/deserialization/video/depth.ts"],"names":[],"mappings":"AAAA,sEAAsE;AACtE,oEAAoE;AACpE,0DAA0D;AAE1D,OAAO,EAAU,IAAI,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAIjD,OAAO,EAAE,kBAAkB,EAAE,MAAM,0DAA0D,CAAC;AAK9F,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAU9C,IAAI,WAAW,GAAiC,IAAI,CAAC;AACrD,SAAS,cAAc;IACrB,IAAI,CAAC,WAAW,EAAE,CAAC;QACjB,WAAW,GAAG,IAAI,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,GAAG,EAAE,CAAC;QACvB,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,MAAM,EAAE,CAAC;YACzB,SAAS;QACX,CAAC;QACD,KAAK,IAAI,EAAE,GAAG,CAAC,MAAM,EAAE,EAAE,IAAI,MAAM,EAAE,EAAE,EAAE,EAAE,CAAC;YAC1C,MAAM,CAAC,GAAG,OAAO,GAAG,EAAE,CAAC;YACvB,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,KAAK,EAAE,CAAC;gBACxB,SAAS;YACX,CAAC;YAED,MAAM,GAAG,GAAG,CAAC,GAAG,KAAK,GAAG,CAAC,CAAC;YAC1B,MAAM,MAAM,GAAG,GAAG,GAAG,WAAW,GAAG,WAAW,CAAC;YAC/C,gDAAgD;YAChD,IAAI,MAAM,GAAG,CAAC,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;gBACtC,SAAS;YACX,CAAC;YAED,MAAM,CAAC,GAAG,IAAI,CAAC,UAAU,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;YACxC,IAAI,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC;gBACvB,GAAG,IAAI,CAAC,CAAC;gBACT,KAAK,EAAE,CAAC;YACV,CAAC;QACH,CAAC;IACH,CAAC;IAED,IAAI,KAAK,KAAK,CAAC,EAAE,CAAC;QAChB,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,OAAO,GAAG,GAAG,KAAK,CAAC;AACrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deserialization.worker.d.ts","sourceRoot":"","sources":["../../../../src/messaging/deserialization.worker.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AAGxE,OAAO,
|
|
1
|
+
{"version":3,"file":"deserialization.worker.d.ts","sourceRoot":"","sources":["../../../../src/messaging/deserialization.worker.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,YAA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,CAAC;IAAC,OAAO,EAAE,gBAAgB,CAAA;CAAE,GAC5D;IAAE,IAAI,EAAE,wBAAwB,CAAC;IAAC,OAAO,EAAE,oBAAoB,CAAA;CAAE,GACjE;IAAE,IAAI,EAAE,YAAY,CAAC;IAAC,OAAO,EAAE,cAAc,CAAA;CAAE,GAC/C;IAAE,IAAI,EAAE,KAAK,CAAC;IAAC,OAAO,EAAE,OAAO,CAAA;CAAE,CACpC,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG,2BAA2B,GAAG,OAAO,CAAC;AAE9D,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,KAAK,GAAG,SAAS,CAMhE;AAUD,MAAM,MAAM,4BAA4B,GAAG,CACzC,SAAS,EAAE,SAAS,EACpB,KAAK,EAAE,MAAM,EACb,SAAS,CAAC,EAAE,OAAO,KAChB,IAAI,CAAC;AA0JV,MAAM,MAAM,wBAAwB,GAAG;IACrC,YAAY,EAAE,CAAC,EAAE,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK,IAAI,KAAK,IAAI,CAAC;IAC1D,qBAAqB,EAAE,CACrB,EACE,MAAM,EACN,MAAM,EACN,KAAK,EACL,sBAAsB,EACtB,mBAAmB,GACpB,EAAE,eAAe,GAAG;QACnB,sBAAsB,EAAE,sBAAsB,CAAC;QAC/C,mBAAmB,EAAE,MAAM,CAAC;KAC7B,EACD,WAAW,EAAE,WAAW,EACxB,aAAa,CAAC,EAAE,4BAA4B,KACzC,IAAI,CAAC;CACX,CAAC"}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// file, You can obtain one at http://mozilla.org/MPL/2.0/
|
|
4
4
|
import * as Comlink from "comlink";
|
|
5
5
|
import { deserializeImgDetectionsCustom } from "./deserialization/detections/custom.js";
|
|
6
|
-
import { deserializeImgDetections } from "./deserialization/detections/detection.js";
|
|
6
|
+
import { deserializeImgDetections, } from "./deserialization/detections/detection.js";
|
|
7
7
|
import { deserializePointCloudData } from "./deserialization/pointcloud/point-cloud.js";
|
|
8
8
|
import { deserializeColorFrame } from "./deserialization/video/color.js";
|
|
9
9
|
import { deserializeDepthFrameToPointCloud } from "./deserialization/video/depth-to-pointcloud.js";
|
|
@@ -29,7 +29,7 @@ let callback;
|
|
|
29
29
|
function initCallback(cb) {
|
|
30
30
|
callback = cb;
|
|
31
31
|
}
|
|
32
|
-
function handleMessageToDecode({ schema, buffer, topic, stereoDepthMaxValue }, configStore, errorCallback) {
|
|
32
|
+
function handleMessageToDecode({ schema, buffer, topic, stereoDepthMaxValue, }, configStore, errorCallback) {
|
|
33
33
|
const handleDecodingError = (error) => {
|
|
34
34
|
// TODO: Enable this log once we fix topic unsubscription not working
|
|
35
35
|
// console.error("An error occurred during DAI message decoding.", error);
|
|
@@ -47,7 +47,6 @@ function handleMessageToDecode({ schema, buffer, topic, stereoDepthMaxValue }, c
|
|
|
47
47
|
const bufferArray = new Uint8Array(buffer.buffer, buffer.byteOffset, buffer.byteLength);
|
|
48
48
|
try {
|
|
49
49
|
const message = protobufSchema.decoder.decode(bufferArray);
|
|
50
|
-
console.debug(`[DepthAI Deserialization] Received message of type ${protobufSchema.type} on topic ${topic}`, { message });
|
|
51
50
|
if (configStore.connectionConfigValue.debugLogs) {
|
|
52
51
|
console.debug(`[DepthAI Deserialization] Received message of type ${protobufSchema.type} on topic ${topic}`, { message });
|
|
53
52
|
}
|
|
@@ -99,7 +98,12 @@ async function deserializeDepthAiMessage(args) {
|
|
|
99
98
|
}
|
|
100
99
|
case Type.RAW16: {
|
|
101
100
|
deserializeDepthFrameToPointCloud({ topic, message, callback });
|
|
102
|
-
await deserializeDepthFrame({
|
|
101
|
+
await deserializeDepthFrame({
|
|
102
|
+
topic,
|
|
103
|
+
message,
|
|
104
|
+
callback,
|
|
105
|
+
maxStereoDepth: maxSteroDepth / 1000,
|
|
106
|
+
});
|
|
103
107
|
break;
|
|
104
108
|
}
|
|
105
109
|
default: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deserialization.worker.js","sourceRoot":"","sources":["../../../../src/messaging/deserialization.worker.ts"],"names":[],"mappings":"AAAA,sEAAsE;AACtE,oEAAoE;AACpE,0DAA0D;AAC1D,OAAO,KAAK,OAAO,MAAM,SAAS,CAAC;AAInC,OAAO,EAAE,8BAA8B,EAAE,MAAM,wCAAwC,CAAC;AACxF,OAAO,
|
|
1
|
+
{"version":3,"file":"deserialization.worker.js","sourceRoot":"","sources":["../../../../src/messaging/deserialization.worker.ts"],"names":[],"mappings":"AAAA,sEAAsE;AACtE,oEAAoE;AACpE,0DAA0D;AAC1D,OAAO,KAAK,OAAO,MAAM,SAAS,CAAC;AAInC,OAAO,EAAE,8BAA8B,EAAE,MAAM,wCAAwC,CAAC;AACxF,OAAO,EACL,wBAAwB,GAEzB,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAAE,yBAAyB,EAAE,MAAM,6CAA6C,CAAC;AAExF,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AACzE,OAAO,EAAE,iCAAiC,EAAE,MAAM,gDAAgD,CAAC;AACnG,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AACzE,OAAO,EAAE,2BAA2B,EAAsB,MAAM,iCAAiC,CAAC;AAClG,OAAO,EAAE,2BAA2B,EAAE,MAAM,iCAAiC,CAAC;AAC9E,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AACzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE1C,OAAO,EAAqB,OAAO,EAAE,MAAM,uCAAuC,CAAC;AAInF,OAAO,EAAiB,IAAI,EAAE,MAAM,mCAAmC,CAAC;AAIxE,OAAO,EAAE,wBAAwB,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,EAAE,8BAA8B,EAAE,MAAM,gBAAgB,CAAC;AAqBhE,MAAM,UAAU,wBAAwB,CAAC,KAAY;IACnD,IAAI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