@luxonis/visualizer-protobuf 2.59.0 → 2.60.0
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/{index-BsBXVJKE.js → index-1KMN_Hmn.js} +1 -1
- package/dist/{index-aaPkJ89x.js → index-1jC2JCie.js} +1 -1
- package/dist/{index-CnY-kdiq.js → index-6jsN_-9X.js} +1 -1
- package/dist/{index-3ExX-f1E.js → index-B1gQVO_w.js} +1 -1
- package/dist/{index-C9wMzZDk.js → index-B3OPDzmi.js} +31 -23
- package/dist/{index-Deq64LIh.js → index-BGg3oVLm.js} +1 -1
- package/dist/{index-D-qPLo-v.js → index-BK8tX7uH.js} +1 -1
- package/dist/{index-Bwm4wffR.js → index-BggHp3Hk.js} +1 -1
- package/dist/{index-EUTQcO4-.js → index-BwJOaEEU.js} +1 -1
- package/dist/{index-h3xAfWxR.js → index-Bx9QKoKb.js} +1 -1
- package/dist/{index-Cm6yWP_C.js → index-CEcEgUAM.js} +1 -1
- package/dist/{index-BjqViT7W.js → index-CsIYvUcs.js} +1 -1
- package/dist/{index-CVmUnHhh.js → index-DVpbAspc.js} +2 -2
- package/dist/{index-fyAJLGvE.js → index-DYK08ETD.js} +1 -1
- package/dist/{index-CI2zZK-X.js → index-Dm-HGbaX.js} +1 -1
- package/dist/{index-CuCto_Ml.js → index-RkbX-NBv.js} +1 -1
- package/dist/{index-C9iHOlJb.js → index-SLy9J-NY.js} +1 -1
- package/dist/{index-zT_WtqoY.js → index-V1y2ILSI.js} +1 -1
- package/dist/{index-DtBMt9at.js → index-pmaUllzu.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/lib/src/connection/foxglove-connection.d.ts +1 -1
- package/dist/lib/src/connection/foxglove-connection.d.ts.map +1 -1
- package/dist/lib/src/connection/foxglove-connection.js +14 -6
- package/dist/lib/src/connection/foxglove-connection.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
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-
|
|
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-B3OPDzmi.js';
|
|
2
2
|
import './depth-CJRDcPfJ.js';
|
|
3
3
|
import './protobuf-B55JS-Px.js';
|
|
4
4
|
import 'protobufjs/minimal';
|
|
@@ -1,4 +1,4 @@
|
|
|
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-
|
|
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-B3OPDzmi.js';
|
|
2
2
|
import './depth-CJRDcPfJ.js';
|
|
3
3
|
import './protobuf-B55JS-Px.js';
|
|
4
4
|
import 'protobufjs/minimal';
|
|
@@ -1,4 +1,4 @@
|
|
|
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-
|
|
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-B3OPDzmi.js';
|
|
2
2
|
import './depth-CJRDcPfJ.js';
|
|
3
3
|
import './protobuf-B55JS-Px.js';
|
|
4
4
|
import 'protobufjs/minimal';
|
|
@@ -1,4 +1,4 @@
|
|
|
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-
|
|
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-B3OPDzmi.js';
|
|
2
2
|
import './depth-CJRDcPfJ.js';
|
|
3
3
|
import './protobuf-B55JS-Px.js';
|
|
4
4
|
import 'protobufjs/minimal';
|
|
@@ -1099,6 +1099,9 @@ class FoxgloveConnection {
|
|
|
1099
1099
|
onMessagePacket(event, errorCallback) {
|
|
1100
1100
|
const [imageFrameMetricsKey, annotationsFrameMetricsKey, pointCloudFrameMetricsKey] = [constructKeyForTopicRenderMetrics("incomingImageFrame", event.data.topic), constructKeyForTopicRenderMetrics("incomingAnnotationsFrame", event.data.topic), constructKeyForTopicRenderMetrics("incomingPointCloudFrame", event.data.topic)];
|
|
1101
1101
|
const specificProtobuf = protobufsBySchema[event.data.schema]?.type;
|
|
1102
|
+
if (!specificProtobuf) {
|
|
1103
|
+
throw new Error("Unsupported protobuf schema: " + event.data.schema);
|
|
1104
|
+
}
|
|
1102
1105
|
const packetType = protobufSchemaNameToType(specificProtobuf);
|
|
1103
1106
|
const rateLimiterCounterForType = this.rateLimitCounter[packetType];
|
|
1104
1107
|
this.rateLimitCounter[packetType] = (rateLimiterCounterForType + 1) % this.rateLimitModCoefficient;
|
|
@@ -1126,14 +1129,19 @@ class FoxgloveConnection {
|
|
|
1126
1129
|
this.messageEvents.push(coloredEvent);
|
|
1127
1130
|
this.emitState();
|
|
1128
1131
|
}
|
|
1129
|
-
async
|
|
1132
|
+
async handleParsePointcloudMessage(coloredEvent) {
|
|
1130
1133
|
const poitcloudFrame = this.PoitCloudSyncFramework.getFrame(coloredEvent.receiveTime.nsec);
|
|
1131
1134
|
const {
|
|
1132
1135
|
width: colorWith,
|
|
1133
1136
|
height: colorHeight
|
|
1134
1137
|
} = this.parseResolutionFromMessage(coloredEvent.message, coloredEvent.topic);
|
|
1135
1138
|
if (poitcloudFrame) {
|
|
1136
|
-
const
|
|
1139
|
+
const cameraIntrinsicsString = localStorage.getItem("neuralCameraIntrinsics");
|
|
1140
|
+
if (!cameraIntrinsicsString) {
|
|
1141
|
+
console.warn("Cannot parse pointcloud frame, missing camera intrinsics");
|
|
1142
|
+
return;
|
|
1143
|
+
}
|
|
1144
|
+
const neuralCameraIntrinsics = JSON.parse(cameraIntrinsicsString);
|
|
1137
1145
|
await this.depthToPointcloudWorkerPool.queueDepthFrame({
|
|
1138
1146
|
depthFrame: poitcloudFrame,
|
|
1139
1147
|
width: poitcloudFrame.width ?? 0,
|
|
@@ -1192,7 +1200,7 @@ class FoxgloveConnection {
|
|
|
1192
1200
|
nsec: date *10 ** 6,
|
|
1193
1201
|
};
|
|
1194
1202
|
*/
|
|
1195
|
-
void this.
|
|
1203
|
+
void this.handleParsePointcloudMessage(event);
|
|
1196
1204
|
}
|
|
1197
1205
|
}
|
|
1198
1206
|
emitState = debouncePromise(async () => {
|
|
@@ -86788,7 +86796,7 @@ function legacy(parser) {
|
|
|
86788
86796
|
return new LanguageSupport(StreamLanguage.define(parser));
|
|
86789
86797
|
}
|
|
86790
86798
|
function sql$1(dialectName) {
|
|
86791
|
-
return import('./index-
|
|
86799
|
+
return import('./index-RkbX-NBv.js').then(m => m.sql({ dialect: m[dialectName] }));
|
|
86792
86800
|
}
|
|
86793
86801
|
/**
|
|
86794
86802
|
An array of language descriptions for known language packages.
|
|
@@ -86799,7 +86807,7 @@ const languages = [
|
|
|
86799
86807
|
name: "C",
|
|
86800
86808
|
extensions: ["c", "h", "ino"],
|
|
86801
86809
|
load() {
|
|
86802
|
-
return import('./index-
|
|
86810
|
+
return import('./index-CEcEgUAM.js').then(m => m.cpp());
|
|
86803
86811
|
}
|
|
86804
86812
|
}),
|
|
86805
86813
|
/*@__PURE__*/LanguageDescription.of({
|
|
@@ -86807,7 +86815,7 @@ const languages = [
|
|
|
86807
86815
|
alias: ["cpp"],
|
|
86808
86816
|
extensions: ["cpp", "c++", "cc", "cxx", "hpp", "h++", "hh", "hxx"],
|
|
86809
86817
|
load() {
|
|
86810
|
-
return import('./index-
|
|
86818
|
+
return import('./index-CEcEgUAM.js').then(m => m.cpp());
|
|
86811
86819
|
}
|
|
86812
86820
|
}),
|
|
86813
86821
|
/*@__PURE__*/LanguageDescription.of({
|
|
@@ -86827,7 +86835,7 @@ const languages = [
|
|
|
86827
86835
|
name: "Go",
|
|
86828
86836
|
extensions: ["go"],
|
|
86829
86837
|
load() {
|
|
86830
|
-
return import('./index-
|
|
86838
|
+
return import('./index-V1y2ILSI.js').then(m => m.go());
|
|
86831
86839
|
}
|
|
86832
86840
|
}),
|
|
86833
86841
|
/*@__PURE__*/LanguageDescription.of({
|
|
@@ -86842,7 +86850,7 @@ const languages = [
|
|
|
86842
86850
|
name: "Java",
|
|
86843
86851
|
extensions: ["java"],
|
|
86844
86852
|
load() {
|
|
86845
|
-
return import('./index-
|
|
86853
|
+
return import('./index-SLy9J-NY.js').then(m => m.java());
|
|
86846
86854
|
}
|
|
86847
86855
|
}),
|
|
86848
86856
|
/*@__PURE__*/LanguageDescription.of({
|
|
@@ -86858,7 +86866,7 @@ const languages = [
|
|
|
86858
86866
|
alias: ["json5"],
|
|
86859
86867
|
extensions: ["json", "map"],
|
|
86860
86868
|
load() {
|
|
86861
|
-
return import('./index-
|
|
86869
|
+
return import('./index-BGg3oVLm.js').then(m => m.json());
|
|
86862
86870
|
}
|
|
86863
86871
|
}),
|
|
86864
86872
|
/*@__PURE__*/LanguageDescription.of({
|
|
@@ -86872,14 +86880,14 @@ const languages = [
|
|
|
86872
86880
|
name: "LESS",
|
|
86873
86881
|
extensions: ["less"],
|
|
86874
86882
|
load() {
|
|
86875
|
-
return import('./index-
|
|
86883
|
+
return import('./index-BwJOaEEU.js').then(m => m.less());
|
|
86876
86884
|
}
|
|
86877
86885
|
}),
|
|
86878
86886
|
/*@__PURE__*/LanguageDescription.of({
|
|
86879
86887
|
name: "Liquid",
|
|
86880
86888
|
extensions: ["liquid"],
|
|
86881
86889
|
load() {
|
|
86882
|
-
return import('./index-
|
|
86890
|
+
return import('./index-Bx9QKoKb.js').then(m => m.liquid());
|
|
86883
86891
|
}
|
|
86884
86892
|
}),
|
|
86885
86893
|
/*@__PURE__*/LanguageDescription.of({
|
|
@@ -86905,7 +86913,7 @@ const languages = [
|
|
|
86905
86913
|
name: "PHP",
|
|
86906
86914
|
extensions: ["php", "php3", "php4", "php5", "php7", "phtml"],
|
|
86907
86915
|
load() {
|
|
86908
|
-
return import('./index-
|
|
86916
|
+
return import('./index-6jsN_-9X.js').then(m => m.php());
|
|
86909
86917
|
}
|
|
86910
86918
|
}),
|
|
86911
86919
|
/*@__PURE__*/LanguageDescription.of({
|
|
@@ -86922,28 +86930,28 @@ const languages = [
|
|
|
86922
86930
|
extensions: ["BUILD", "bzl", "py", "pyw"],
|
|
86923
86931
|
filename: /^(BUCK|BUILD)$/,
|
|
86924
86932
|
load() {
|
|
86925
|
-
return import('./index-
|
|
86933
|
+
return import('./index-Dm-HGbaX.js').then(m => m.python());
|
|
86926
86934
|
}
|
|
86927
86935
|
}),
|
|
86928
86936
|
/*@__PURE__*/LanguageDescription.of({
|
|
86929
86937
|
name: "Rust",
|
|
86930
86938
|
extensions: ["rs"],
|
|
86931
86939
|
load() {
|
|
86932
|
-
return import('./index-
|
|
86940
|
+
return import('./index-pmaUllzu.js').then(m => m.rust());
|
|
86933
86941
|
}
|
|
86934
86942
|
}),
|
|
86935
86943
|
/*@__PURE__*/LanguageDescription.of({
|
|
86936
86944
|
name: "Sass",
|
|
86937
86945
|
extensions: ["sass"],
|
|
86938
86946
|
load() {
|
|
86939
|
-
return import('./index-
|
|
86947
|
+
return import('./index-1jC2JCie.js').then(m => m.sass({ indented: true }));
|
|
86940
86948
|
}
|
|
86941
86949
|
}),
|
|
86942
86950
|
/*@__PURE__*/LanguageDescription.of({
|
|
86943
86951
|
name: "SCSS",
|
|
86944
86952
|
extensions: ["scss"],
|
|
86945
86953
|
load() {
|
|
86946
|
-
return import('./index-
|
|
86954
|
+
return import('./index-1jC2JCie.js').then(m => m.sass());
|
|
86947
86955
|
}
|
|
86948
86956
|
}),
|
|
86949
86957
|
/*@__PURE__*/LanguageDescription.of({
|
|
@@ -86974,7 +86982,7 @@ const languages = [
|
|
|
86974
86982
|
name: "WebAssembly",
|
|
86975
86983
|
extensions: ["wat", "wast"],
|
|
86976
86984
|
load() {
|
|
86977
|
-
return import('./index-
|
|
86985
|
+
return import('./index-B1gQVO_w.js').then(m => m.wast());
|
|
86978
86986
|
}
|
|
86979
86987
|
}),
|
|
86980
86988
|
/*@__PURE__*/LanguageDescription.of({
|
|
@@ -86982,7 +86990,7 @@ const languages = [
|
|
|
86982
86990
|
alias: ["rss", "wsdl", "xsd"],
|
|
86983
86991
|
extensions: ["xml", "xsl", "xsd", "svg"],
|
|
86984
86992
|
load() {
|
|
86985
|
-
return import('./index-
|
|
86993
|
+
return import('./index-CsIYvUcs.js').then(m => m.xml());
|
|
86986
86994
|
}
|
|
86987
86995
|
}),
|
|
86988
86996
|
/*@__PURE__*/LanguageDescription.of({
|
|
@@ -86990,7 +86998,7 @@ const languages = [
|
|
|
86990
86998
|
alias: ["yml"],
|
|
86991
86999
|
extensions: ["yaml", "yml"],
|
|
86992
87000
|
load() {
|
|
86993
|
-
return import('./index-
|
|
87001
|
+
return import('./index-BggHp3Hk.js').then(m => m.yaml());
|
|
86994
87002
|
}
|
|
86995
87003
|
}),
|
|
86996
87004
|
// Legacy modes ported from CodeMirror 5
|
|
@@ -87786,13 +87794,13 @@ const languages = [
|
|
|
87786
87794
|
name: "Vue",
|
|
87787
87795
|
extensions: ["vue"],
|
|
87788
87796
|
load() {
|
|
87789
|
-
return import('./index-
|
|
87797
|
+
return import('./index-DYK08ETD.js').then(m => m.vue());
|
|
87790
87798
|
}
|
|
87791
87799
|
}),
|
|
87792
87800
|
/*@__PURE__*/LanguageDescription.of({
|
|
87793
87801
|
name: "Angular Template",
|
|
87794
87802
|
load() {
|
|
87795
|
-
return import('./index-
|
|
87803
|
+
return import('./index-1KMN_Hmn.js').then(m => m.angular());
|
|
87796
87804
|
}
|
|
87797
87805
|
})
|
|
87798
87806
|
];
|
|
@@ -166489,7 +166497,7 @@ function createRenderDelaySampler() {
|
|
|
166489
166497
|
};
|
|
166490
166498
|
}
|
|
166491
166499
|
|
|
166492
|
-
const ImagePanelComponent = /*#__PURE__*/React__default.lazy(async () => await import('./index-
|
|
166500
|
+
const ImagePanelComponent = /*#__PURE__*/React__default.lazy(async () => await import('./index-DVpbAspc.js'));
|
|
166493
166501
|
const ImagePanelBody = ({
|
|
166494
166502
|
topic,
|
|
166495
166503
|
frameRenderedEvent,
|
|
@@ -166584,7 +166592,7 @@ const DEFAULT_CAMERA_STATE = {
|
|
|
166584
166592
|
// License, v2.0. If a copy of the MPL was not distributed with this
|
|
166585
166593
|
// file, You can obtain one at http://mozilla.org/MPL/2.0/
|
|
166586
166594
|
|
|
166587
|
-
const ThreeDeeRenderComponent = /*#__PURE__*/React__default.lazy(async () => await import('./index-
|
|
166595
|
+
const ThreeDeeRenderComponent = /*#__PURE__*/React__default.lazy(async () => await import('./index-BK8tX7uH.js'));
|
|
166588
166596
|
const PointCloudPanelBody = ({
|
|
166589
166597
|
topic,
|
|
166590
166598
|
frameRenderedEvent,
|
|
@@ -1,4 +1,4 @@
|
|
|
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-
|
|
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-B3OPDzmi.js';
|
|
2
2
|
import './depth-CJRDcPfJ.js';
|
|
3
3
|
import './protobuf-B55JS-Px.js';
|
|
4
4
|
import 'protobufjs/minimal';
|
|
@@ -3,7 +3,7 @@ import React__default, { useReducer, useRef, useCallback, useLayoutEffect, Compo
|
|
|
3
3
|
import ReactDOM__default from 'react-dom';
|
|
4
4
|
import { Z as isSymbol, $ as toString, a0 as keys, a1 as getSymbols$1, a2 as stubArray, a3 as arrayPush, a4 as baseGetAllKeys, g as getTag, a5 as getAllKeys, k as baseGet, c as baseIteratee, j as castPath, t as toKey, a6 as arrayMap$1, a7 as baseUniq, b as baseFlatten, a8 as useMustNotChange, a9 as useCurrentLayoutActions, aa as useCurrentLayoutSelector, r as reportError, A as AppError, L as Logger, u as useGuaranteedContext, ab as usePanelMosaicId, ac as useSelectedPanels, ad as PANEL_TITLE_CONFIG_KEY, ae as noop$4, o as getPanelTypeFromId, M as useShallowMemo, T as TAB_PANEL_TYPE, J as filterMap, d as dist$2, af as useAppConfiguration, ag as useValueChangedDebugLog, V as typescript, ah as useJsonTreeTheme } from './depth-CJRDcPfJ.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-B3OPDzmi.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-B55JS-Px.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';
|
|
@@ -1,4 +1,4 @@
|
|
|
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-
|
|
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-B3OPDzmi.js';
|
|
2
2
|
import './depth-CJRDcPfJ.js';
|
|
3
3
|
import './protobuf-B55JS-Px.js';
|
|
4
4
|
import 'protobufjs/minimal';
|
|
@@ -1,4 +1,4 @@
|
|
|
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-
|
|
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-B3OPDzmi.js';
|
|
2
2
|
import './depth-CJRDcPfJ.js';
|
|
3
3
|
import './protobuf-B55JS-Px.js';
|
|
4
4
|
import 'protobufjs/minimal';
|
|
@@ -1,4 +1,4 @@
|
|
|
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-
|
|
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-B3OPDzmi.js';
|
|
2
2
|
import './depth-CJRDcPfJ.js';
|
|
3
3
|
import './protobuf-B55JS-Px.js';
|
|
4
4
|
import 'protobufjs/minimal';
|
|
@@ -1,4 +1,4 @@
|
|
|
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-
|
|
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-B3OPDzmi.js';
|
|
2
2
|
import './depth-CJRDcPfJ.js';
|
|
3
3
|
import './protobuf-B55JS-Px.js';
|
|
4
4
|
import 'protobufjs/minimal';
|
|
@@ -1,4 +1,4 @@
|
|
|
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-
|
|
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-B3OPDzmi.js';
|
|
2
2
|
import './depth-CJRDcPfJ.js';
|
|
3
3
|
import './protobuf-B55JS-Px.js';
|
|
4
4
|
import 'protobufjs/minimal';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ImagePanel } from './index-
|
|
1
|
+
import { ImagePanel } from './index-BK8tX7uH.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'react-dom';
|
|
4
4
|
import './depth-CJRDcPfJ.js';
|
|
@@ -8,7 +8,7 @@ import 'zustand';
|
|
|
8
8
|
import 'react-mosaic-component';
|
|
9
9
|
import '@mui/material';
|
|
10
10
|
import './isArrayLikeObject-Bytw9p-q.js';
|
|
11
|
-
import './index-
|
|
11
|
+
import './index-B3OPDzmi.js';
|
|
12
12
|
import './comlink-DHMAu6X7.js';
|
|
13
13
|
import './utils-Hzt3wxhG.js';
|
|
14
14
|
import './FoxgloveServer-MMAMiqqQ.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
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-
|
|
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-B3OPDzmi.js';
|
|
2
2
|
import './depth-CJRDcPfJ.js';
|
|
3
3
|
import './protobuf-B55JS-Px.js';
|
|
4
4
|
import 'protobufjs/minimal';
|
|
@@ -1,4 +1,4 @@
|
|
|
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-
|
|
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-B3OPDzmi.js';
|
|
2
2
|
import './depth-CJRDcPfJ.js';
|
|
3
3
|
import './protobuf-B55JS-Px.js';
|
|
4
4
|
import 'protobufjs/minimal';
|
|
@@ -1,4 +1,4 @@
|
|
|
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-
|
|
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-B3OPDzmi.js';
|
|
2
2
|
import './depth-CJRDcPfJ.js';
|
|
3
3
|
import './protobuf-B55JS-Px.js';
|
|
4
4
|
import 'protobufjs/minimal';
|
|
@@ -1,4 +1,4 @@
|
|
|
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-
|
|
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-B3OPDzmi.js';
|
|
2
2
|
import './depth-CJRDcPfJ.js';
|
|
3
3
|
import './protobuf-B55JS-Px.js';
|
|
4
4
|
import 'protobufjs/minimal';
|
|
@@ -1,4 +1,4 @@
|
|
|
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-
|
|
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-B3OPDzmi.js';
|
|
2
2
|
import './depth-CJRDcPfJ.js';
|
|
3
3
|
import './protobuf-B55JS-Px.js';
|
|
4
4
|
import 'protobufjs/minimal';
|
|
@@ -1,4 +1,4 @@
|
|
|
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-
|
|
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-B3OPDzmi.js';
|
|
2
2
|
import './depth-CJRDcPfJ.js';
|
|
3
3
|
import './protobuf-B55JS-Px.js';
|
|
4
4
|
import 'protobufjs/minimal';
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { av as FrameStore, ao as ImagePanel, an as PanelLayout, ap as PointCloudPanel, al as VisualizerConnection, am as VisualizerContext, aq as constructKeyForTopicRenderMetrics, as as globalDecodeMetricsManager, ar as globalInputEventMetricsManager, at as globalRenderMetricsManager, au as globalThroughputMetricsManager } from './index-
|
|
1
|
+
export { av as FrameStore, ao as ImagePanel, an as PanelLayout, ap as PointCloudPanel, al as VisualizerConnection, am as VisualizerContext, aq as constructKeyForTopicRenderMetrics, as as globalDecodeMetricsManager, ar as globalInputEventMetricsManager, at as globalRenderMetricsManager, au as globalThroughputMetricsManager } from './index-B3OPDzmi.js';
|
|
2
2
|
export { S as getDistanceFromDepthDataForOffset } from './depth-CJRDcPfJ.js';
|
|
3
3
|
import './comlink-DHMAu6X7.js';
|
|
4
4
|
import './utils-Hzt3wxhG.js';
|
|
@@ -58,7 +58,7 @@ export declare abstract class FoxgloveConnection {
|
|
|
58
58
|
protected getCurrentTime(): Time;
|
|
59
59
|
protected onMessagePacket(event: globalThis.MessageEvent<FoxgloveMessage>, errorCallback?: DeserializationErrorCallback): void;
|
|
60
60
|
protected submitPointcloudFrameCallback(coloredEvent: MessageEvent, poitcloudFrame: PointCloudWithDimensions, message: unknown): void;
|
|
61
|
-
protected
|
|
61
|
+
protected handleParsePointcloudMessage(coloredEvent: MessageEvent): Promise<void>;
|
|
62
62
|
protected parseResolutionFromMessage(message: unknown, topic: string): {
|
|
63
63
|
width: number | undefined;
|
|
64
64
|
height: number | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"foxglove-connection.d.ts","sourceRoot":"","sources":["../../../../src/connection/foxglove-connection.ts"],"names":[],"mappings":"AAKA,OAAO,EAAyC,KAAK,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAErF,OAAO,EACL,KAAK,YAAY,EAEjB,cAAc,EACd,KAAK,aAAa,EAClB,KAAK,WAAW,EACjB,MAAM,qCAAqC,CAAC;AAE7C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,EAAE,2BAA2B,EAAE,MAAM,iEAAiE,CAAC;AAE9G,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,6CAA6C,CAAC;AAC5F,OAAO,EAAE,4BAA4B,EAAE,MAAM,qCAAqC,CAAC;AACnF,OAAO,EAAwB,KAAK,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAC5F,OAAO,
|
|
1
|
+
{"version":3,"file":"foxglove-connection.d.ts","source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G,OAAO;IAW9C,SAAS,CAAC,cAAc,IAAI,IAAI;IAIhC,SAAS,CAAC,eAAe,CACvB,KAAK,EAAE,UAAU,CAAC,YAAY,CAAC,eAAe,CAAC,EAC/C,aAAa,CAAC,EAAE,4BAA4B,GAC3C,IAAI;IA0CP,SAAS,CAAC,6BAA6B,CACrC,YAAY,EAAE,YAAY,EAC1B,cAAc,EAAE,wBAAwB,EACxC,OAAO,EAAE,OAAO,GACf,IAAI;cAkBS,4BAA4B,CAAC,YAAY,EAAE,YAAY,GAAG,OAAO,CAAC,IAAI,CAAC;IAiCvF,SAAS,CAAC,0BAA0B,CAClC,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,MAAM,GACZ;QAAE,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;QAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;KAAE;IAU5D,SAAS,CAAC,mBAAmB,CAAC,KAAK,EAAE,YAAY,GAAG,IAAI;IAuCxD,SAAS,CAAC,SAAS;;MA0DhB;IAEH,SAAS,CAAC,qBAAqB,CAAC,UAAU,EAAE,iBAAiB,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO;CA2BvF"}
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
import { debouncePromise } from "@foxglove/den/async";
|
|
5
5
|
import { fromMillis, isGreaterThan, isLessThan } from "@foxglove/rostime";
|
|
6
6
|
import { estimateObjectSize } from "@foxglove/studio-base/players/messageMemoryEstimation";
|
|
7
|
-
import { PlayerCapabilities, PlayerPresence
|
|
7
|
+
import { PlayerCapabilities, PlayerPresence } from "@foxglove/studio-base/players/types";
|
|
8
8
|
import { DepthToPointcloudWorkerPool } from "../messaging/deserialization/pointcloud/poitcloudPoolManager.js";
|
|
9
9
|
import { createMessageHandler } from "../messaging/message-handler.js";
|
|
10
|
-
import { protobufsBySchema, protobufSchemaNameToType
|
|
10
|
+
import { protobufsBySchema, protobufSchemaNameToType } from "../messaging/protobuf";
|
|
11
11
|
import { RateLimiter } from "../messaging/rate-limiter";
|
|
12
12
|
import { FrameStore } from "../utils/frame-store";
|
|
13
|
-
import { constructKeyForTopicRenderMetrics, globalDecodeMetricsManager, globalInputEventMetricsManager, globalThroughputMetricsManager
|
|
13
|
+
import { constructKeyForTopicRenderMetrics, globalDecodeMetricsManager, globalInputEventMetricsManager, globalThroughputMetricsManager } from "../utils/metrics-manager.js";
|
|
14
14
|
import { PoitCloudSyncFramework } from "../utils/poitcloud-sync.js";
|
|
15
15
|
class ProblemManager {
|
|
16
16
|
problems = [];
|
|
@@ -95,6 +95,9 @@ export class FoxgloveConnection {
|
|
|
95
95
|
constructKeyForTopicRenderMetrics("incomingPointCloudFrame", event.data.topic),
|
|
96
96
|
];
|
|
97
97
|
const specificProtobuf = protobufsBySchema[event.data.schema]?.type;
|
|
98
|
+
if (!specificProtobuf) {
|
|
99
|
+
throw new Error("Unsupported protobuf schema: " + event.data.schema);
|
|
100
|
+
}
|
|
98
101
|
const packetType = protobufSchemaNameToType(specificProtobuf);
|
|
99
102
|
const rateLimiterCounterForType = this.rateLimitCounter[packetType];
|
|
100
103
|
this.rateLimitCounter[packetType] =
|
|
@@ -126,11 +129,16 @@ export class FoxgloveConnection {
|
|
|
126
129
|
this.messageEvents.push(coloredEvent);
|
|
127
130
|
this.emitState();
|
|
128
131
|
}
|
|
129
|
-
async
|
|
132
|
+
async handleParsePointcloudMessage(coloredEvent) {
|
|
130
133
|
const poitcloudFrame = this.PoitCloudSyncFramework.getFrame(coloredEvent.receiveTime.nsec);
|
|
131
134
|
const { width: colorWith, height: colorHeight } = this.parseResolutionFromMessage(coloredEvent.message, coloredEvent.topic);
|
|
132
135
|
if (poitcloudFrame) {
|
|
133
|
-
const
|
|
136
|
+
const cameraIntrinsicsString = localStorage.getItem("neuralCameraIntrinsics");
|
|
137
|
+
if (!cameraIntrinsicsString) {
|
|
138
|
+
console.warn("Cannot parse pointcloud frame, missing camera intrinsics");
|
|
139
|
+
return;
|
|
140
|
+
}
|
|
141
|
+
const neuralCameraIntrinsics = JSON.parse(cameraIntrinsicsString);
|
|
134
142
|
await this.depthToPointcloudWorkerPool.queueDepthFrame({
|
|
135
143
|
depthFrame: poitcloudFrame,
|
|
136
144
|
width: poitcloudFrame.width ?? 0,
|
|
@@ -184,7 +192,7 @@ export class FoxgloveConnection {
|
|
|
184
192
|
nsec: date *10 ** 6,
|
|
185
193
|
};
|
|
186
194
|
*/
|
|
187
|
-
void this.
|
|
195
|
+
void this.handleParsePointcloudMessage(event);
|
|
188
196
|
}
|
|
189
197
|
}
|
|
190
198
|
emitState = debouncePromise(async () => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"foxglove-connection.js","sourceRoot":"","sources":["../../../../src/connection/foxglove-connection.ts"],"names":[],"mappings":"AAAA,sEAAsE;AACtE,oEAAoE;AACpE,0DAA0D;AAE1D,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,UAAU,EAAa,MAAM,mBAAmB,CAAC;AACrF,OAAO,EAAE,kBAAkB,EAAE,MAAM,uDAAuD,CAAC;AAC3F,OAAO,EAEL,kBAAkB,EAClB,cAAc,
|
|
1
|
+
{"version":3,"file":"foxglove-connection.js","sourceRoot":"","sources":["../../../../src/connection/foxglove-connection.ts"],"names":[],"mappings":"AAAA,sEAAsE;AACtE,oEAAoE;AACpE,0DAA0D;AAE1D,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,UAAU,EAAa,MAAM,mBAAmB,CAAC;AACrF,OAAO,EAAE,kBAAkB,EAAE,MAAM,uDAAuD,CAAC;AAC3F,OAAO,EAEL,kBAAkB,EAClB,cAAc,EAGf,MAAM,qCAAqC,CAAC;AAG7C,OAAO,EAAE,2BAA2B,EAAE,MAAM,iEAAiE,CAAC;AAI9G,OAAO,EAAE,oBAAoB,EAAuB,MAAM,iCAAiC,CAAC;AA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