@foxglove/embed 0.2.2 → 0.3.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.
Files changed (61) hide show
  1. package/dist/{cjs/FoxgloveViewer.d.ts → FoxgloveViewer.d.ts} +10 -3
  2. package/dist/FoxgloveViewer.d.ts.map +1 -0
  3. package/dist/{esm/FoxgloveViewer.js → FoxgloveViewer.js} +11 -7
  4. package/dist/FoxgloveViewer.js.map +1 -0
  5. package/dist/{cjs/commands.d.ts → commands.d.ts} +1 -1
  6. package/dist/commands.d.ts.map +1 -0
  7. package/dist/commands.js +1 -0
  8. package/dist/{cjs/commands.js.map → commands.js.map} +1 -1
  9. package/dist/index.d.ts +3 -0
  10. package/dist/index.d.ts.map +1 -0
  11. package/dist/index.js +4 -0
  12. package/dist/index.js.map +1 -0
  13. package/dist/{cjs/layout.generated.d.ts → layout.generated.d.ts} +903 -211
  14. package/dist/layout.generated.d.ts.map +1 -0
  15. package/dist/{esm/layout.generated.js → layout.generated.js} +0 -1
  16. package/dist/layout.generated.js.map +1 -0
  17. package/dist/{cjs/types.d.ts → types.d.ts} +2 -2
  18. package/dist/types.d.ts.map +1 -0
  19. package/dist/types.js +2 -0
  20. package/dist/types.js.map +1 -0
  21. package/package.json +12 -10
  22. package/src/FoxgloveViewer.ts +27 -14
  23. package/src/commands.ts +1 -1
  24. package/src/index.ts +2 -2
  25. package/src/layout.generated.ts +922 -211
  26. package/src/types.ts +2 -2
  27. package/dist/cjs/FoxgloveViewer.d.ts.map +0 -1
  28. package/dist/cjs/FoxgloveViewer.js +0 -303
  29. package/dist/cjs/FoxgloveViewer.js.map +0 -1
  30. package/dist/cjs/commands.d.ts.map +0 -1
  31. package/dist/cjs/commands.js +0 -3
  32. package/dist/cjs/index.d.ts +0 -3
  33. package/dist/cjs/index.d.ts.map +0 -1
  34. package/dist/cjs/index.js +0 -7
  35. package/dist/cjs/index.js.map +0 -1
  36. package/dist/cjs/layout.generated.d.ts.map +0 -1
  37. package/dist/cjs/layout.generated.js +0 -6
  38. package/dist/cjs/layout.generated.js.map +0 -1
  39. package/dist/cjs/types.d.ts.map +0 -1
  40. package/dist/cjs/types.js +0 -5
  41. package/dist/cjs/types.js.map +0 -1
  42. package/dist/esm/FoxgloveViewer.d.ts +0 -135
  43. package/dist/esm/FoxgloveViewer.d.ts.map +0 -1
  44. package/dist/esm/FoxgloveViewer.js.map +0 -1
  45. package/dist/esm/commands.d.ts +0 -48
  46. package/dist/esm/commands.d.ts.map +0 -1
  47. package/dist/esm/commands.js +0 -2
  48. package/dist/esm/commands.js.map +0 -1
  49. package/dist/esm/index.d.ts +0 -3
  50. package/dist/esm/index.d.ts.map +0 -1
  51. package/dist/esm/index.js +0 -4
  52. package/dist/esm/index.js.map +0 -1
  53. package/dist/esm/layout.generated.d.ts +0 -1875
  54. package/dist/esm/layout.generated.d.ts.map +0 -1
  55. package/dist/esm/layout.generated.js.map +0 -1
  56. package/dist/esm/types.d.ts +0 -78
  57. package/dist/esm/types.d.ts.map +0 -1
  58. package/dist/esm/types.js +0 -2
  59. package/dist/esm/types.js.map +0 -1
  60. package/dist/tsconfig.cjs.tsbuildinfo +0 -1
  61. package/dist/tsconfig.tsbuildinfo +0 -1
@@ -22,7 +22,20 @@ export type VariableValue =
22
22
  * This interface was referenced by `Layout`'s JSON-Schema
23
23
  * via the `definition` "Content".
24
24
  */
25
- export type Content = BasePanel | Tabs | Stack | Split;
25
+ export type Content = BasePanel | TabContainer | StackContainer | SplitContainer;
26
+ /**
27
+ * A schema for a generic panel; can be used as a fallback for panels that are not yet supported.
28
+ *
29
+ * This interface was referenced by `Layout`'s JSON-Schema
30
+ * via the `definition` "Panel".
31
+ */
32
+ export type Panel = BasePanel & {
33
+ config?: PanelConfig;
34
+ /**
35
+ * The title of the panel.
36
+ */
37
+ title?: string;
38
+ };
26
39
  /**
27
40
  * Write documentation and notes formatted using Markdown.
28
41
  *
@@ -44,148 +57,603 @@ export type MarkdownPanel = BasePanel & {
44
57
  version: 1;
45
58
  };
46
59
  /**
47
- * A schema for a generic panel; can be used as a fallback for panels that are not yet supported.
60
+ * A range custom state for the customization strategy
48
61
  *
49
62
  * This interface was referenced by `Layout`'s JSON-Schema
50
- * via the `definition` "Panel".
63
+ * via the `definition` "StateTransitionsRangeCustomState".
51
64
  */
52
- export type Panel = BasePanel & {
53
- config?: PanelConfig;
65
+ export type StateTransitionsRangeCustomState = StateTransitionsBaseCustomState & {
66
+ /**
67
+ * Value used for comparison against message data for state detection
68
+ */
69
+ value?: number;
70
+ /**
71
+ * Operator used for comparison against message data for state detection
72
+ */
73
+ operator?: "=" | "<" | "<=" | ">" | ">=";
74
+ };
75
+ /**
76
+ * A discrete state customization strategy
77
+ *
78
+ * This interface was referenced by `Layout`'s JSON-Schema
79
+ * via the `definition` "StateTransitionsDiscreteCustomState".
80
+ */
81
+ export type StateTransitionsDiscreteCustomState = StateTransitionsBaseCustomState & {
82
+ /**
83
+ * Value used for comparison against message data for state detection. The comparison is done using the '=' operator.
84
+ */
85
+ value?: string;
86
+ };
87
+ /**
88
+ * State customization strategy
89
+ *
90
+ * This interface was referenced by `Layout`'s JSON-Schema
91
+ * via the `definition` "StateTransitionsCustomStates".
92
+ */
93
+ export type StateTransitionsCustomStates = StateTransitionsRangeCustomStates | StateTransitionsDiscreteCustomStates;
94
+ /**
95
+ * Track when values change over time.
96
+ *
97
+ * For more information, see [the documentation](https://docs.foxglove.dev/docs/visualization/panels/state-transitions).
98
+ *
99
+ * This interface was referenced by `Layout`'s JSON-Schema
100
+ * via the `definition` "StateTransitionsPanel".
101
+ */
102
+ export type StateTransitionsPanel = BasePanel & {
103
+ panelType: "StateTransitions";
104
+ config: StateTransitionsConfig;
54
105
  /**
55
106
  * The title of the panel.
56
107
  */
57
108
  title?: string;
109
+ /**
110
+ * The version of the panel config schema.
111
+ */
112
+ version: 1;
58
113
  };
59
114
  /**
60
- * Operator used for comparison against message data for state detection
115
+ * Plot numerical values over time or other values.
116
+ *
117
+ * For more information, see [the documentation](https://docs.foxglove.dev/docs/visualization/panels/plot).
61
118
  *
62
119
  * This interface was referenced by `Layout`'s JSON-Schema
63
- * via the `definition` "StateTransitionsRangeCustomStateOperator".
120
+ * via the `definition` "PlotPanel".
64
121
  */
65
- export type StateTransitionsRangeCustomStateOperator = "=" | "<" | "<=" | ">" | ">=";
122
+ export type PlotPanel = BasePanel & {
123
+ panelType: "Plot";
124
+ config: PlotConfig;
125
+ /**
126
+ * The title of the panel.
127
+ */
128
+ title?: string;
129
+ /**
130
+ * The version of the panel config schema.
131
+ */
132
+ version: 1;
133
+ };
66
134
  /**
67
- * A range custom state for the customization strategy
135
+ * Display the transform tree.
136
+ *
137
+ * For more information, see [the documentation](https://docs.foxglove.dev/docs/visualization/panels/tf-tree).
68
138
  *
69
139
  * This interface was referenced by `Layout`'s JSON-Schema
70
- * via the `definition` "StateTransitionsRangeCustomState".
140
+ * via the `definition` "TransformTreePanel".
71
141
  */
72
- export type StateTransitionsRangeCustomState = StateTransitionsBaseCustomState & {
142
+ export type TransformTreePanel = BasePanel & {
143
+ panelType: "TransformTree";
73
144
  /**
74
- * Value used for comparison against message data for state detection
145
+ * The version of the panel config schema.
75
146
  */
76
- value?: number;
77
- operator: StateTransitionsRangeCustomStateOperator;
147
+ version: 1;
78
148
  };
79
149
  /**
80
- * A discrete state customization strategy
150
+ * Calibration parameters for the camera image topic.
81
151
  *
82
152
  * This interface was referenced by `Layout`'s JSON-Schema
83
- * via the `definition` "StateTransitionsDiscreteCustomState".
153
+ * via the `definition` "BaseRendererCameraTopicSettings".
84
154
  */
85
- export type StateTransitionsDiscreteCustomState = StateTransitionsBaseCustomState & {
155
+ export type BaseRendererCameraTopicSettings = BaseRendererBaseSettings & {
156
+ distance?: number;
157
+ planarProjectionFactor?: number;
158
+ width?: number;
159
+ color?: string;
160
+ };
161
+ /**
162
+ * Settings for an OccupancyGrid topic.
163
+ *
164
+ * This interface was referenced by `Layout`'s JSON-Schema
165
+ * via the `definition` "BaseRendererRosOccupancyGridTopicSettings".
166
+ */
167
+ export type BaseRendererRosOccupancyGridTopicSettings = BaseRendererBaseSettings & {
168
+ minColor?: string;
169
+ maxColor?: string;
170
+ unknownColor?: string;
171
+ invalidColor?: string;
172
+ colorMode?: "custom" | "costmap" | "map" | "raw";
173
+ drawBehind?: boolean;
174
+ alpha?: number;
86
175
  /**
87
- * Value used for comparison against message data for state detection. The comparison is done using the '=' operator.
176
+ * true means the grid is locked to the frame specified by its frame_id, and will move as that frame's transforms change. false means the grid is relative to the fixed frame and will not move after it is first displayed.
88
177
  */
89
- value: string;
178
+ frameLocked?: boolean;
90
179
  };
91
180
  /**
92
- * State customization strategy
181
+ * Timestamped polygons made up of a series of connected points.
93
182
  *
94
183
  * This interface was referenced by `Layout`'s JSON-Schema
95
- * via the `definition` "StateTransitionsCustomStates".
184
+ * via the `definition` "BaseRendererRosPolygonTopicSettings".
96
185
  */
97
- export type StateTransitionsCustomStates = StateTransitionsRangeCustomStates | StateTransitionsDiscreteCustomStates;
186
+ export type BaseRendererRosPolygonTopicSettings = BaseRendererBaseSettings & {
187
+ lineWidth?: number;
188
+ color?: string;
189
+ };
190
+ /**
191
+ * Settings for a pose (PoseInFrame) topic.
192
+ *
193
+ * This interface was referenced by `Layout`'s JSON-Schema
194
+ * via the `definition` "BaseRendererPoseTopicSettings".
195
+ */
196
+ export type BaseRendererPoseTopicSettings = BaseRendererBaseSettings & {
197
+ type?: "axis" | "arrow";
198
+ axisScale?: number;
199
+ /**
200
+ * @minItems 3
201
+ * @maxItems 3
202
+ */
203
+ arrowScale?: [number, number, number];
204
+ color?: string;
205
+ showCovariance?: boolean;
206
+ covarianceColor?: string;
207
+ };
208
+ /**
209
+ * Settings for a pose array (PosesInFrame) topic.
210
+ *
211
+ * This interface was referenced by `Layout`'s JSON-Schema
212
+ * via the `definition` "BaseRendererPosesTopicSettings".
213
+ */
214
+ export type BaseRendererPosesTopicSettings = BaseRendererBaseSettings & {
215
+ type?: "axis" | "arrow" | "line";
216
+ axisScale?: number;
217
+ /**
218
+ * @minItems 3
219
+ * @maxItems 3
220
+ */
221
+ arrowScale?: [number, number, number];
222
+ lineWidth?: number;
223
+ /**
224
+ * @minItems 2
225
+ * @maxItems 2
226
+ */
227
+ gradient?: [string, string];
228
+ };
229
+ /**
230
+ * Settings for a ROS VoxelGrid topic.
231
+ *
232
+ * This interface was referenced by `Layout`'s JSON-Schema
233
+ * via the `definition` "BaseRendererRosVoxelGridTopicSettings".
234
+ */
235
+ export type BaseRendererRosVoxelGridTopicSettings = BaseRendererBaseSettings & {
236
+ /**
237
+ * If true the grid is rendered before the rest of the scene, so it appears behind other scene elements regardless of their relative depth. Otherwise the grid is rendered normally
238
+ */
239
+ drawBehind?: boolean;
240
+ /**
241
+ * How to color each voxel.
242
+ */
243
+ colorMode?: "rainbow" | "turbo" | "gradient" | "by type";
244
+ /**
245
+ * Enables lighting for voxel shading in 3D view.
246
+ */
247
+ useLighting?: boolean;
248
+ /**
249
+ * The two colors to interpolate between, based on the "color field".
250
+ *
251
+ * @minItems 2
252
+ * @maxItems 2
253
+ */
254
+ colorGradient?: [string, string];
255
+ /**
256
+ * RGBA color for voxels that are both marked and present.
257
+ */
258
+ markedAndPresentColor?: string;
259
+ /**
260
+ * RGBA color for voxels that are present but not marked.
261
+ */
262
+ presentColor?: string;
263
+ /**
264
+ * RGBA color for voxels that are marked but not present.
265
+ */
266
+ markedColor?: string;
267
+ };
268
+ /**
269
+ * A collection of primitive shapes (cubes, spheres, text, meshes, lines, etc) used to display anything from a basic bounding box to a complex 3D decision tree or road network.
270
+ *
271
+ * This interface was referenced by `Layout`'s JSON-Schema
272
+ * via the `definition` "BaseRendererSceneUpdateTopicSettings".
273
+ */
274
+ export type BaseRendererSceneUpdateTopicSettings = BaseRendererBaseSettings & {
275
+ /**
276
+ * Display a wireframe outline around rendered entities.
277
+ */
278
+ showOutlines?: boolean;
279
+ /**
280
+ * Render all entities under this topic with this color, overriding colors defined in the entities.
281
+ */
282
+ color?: string;
283
+ /**
284
+ * Set a global variable with this name to the selected entity ID.
285
+ */
286
+ selectedIdVariable?: string;
287
+ /**
288
+ * Toggle calculation of vertex normals. Normals improve lighting and visual appearance but incur a significant performance penalty in some cases.
289
+ */
290
+ computeVertexNormals?: boolean;
291
+ };
292
+ /**
293
+ * Base class for pointcloud-like topic settings.
294
+ *
295
+ * This interface was referenced by `Layout`'s JSON-Schema
296
+ * via the `definition` "BaseRendererBasePointSettings".
297
+ */
298
+ export type BaseRendererBasePointSettings = BaseRendererBaseSettings & {
299
+ /**
300
+ * Size of each rendered point in pixels. Used only when the point shape is "circle" or "square".
301
+ */
302
+ pointSize?: number;
303
+ /**
304
+ * Size of each cube in 3D scene units. Used only when the point shape is "cube".
305
+ */
306
+ cubeSize?: number;
307
+ /**
308
+ * Toggle whether to display wireframe outline around cubes. Used only when the point shape is "cube". Default: false.
309
+ */
310
+ cubeOutline?: boolean;
311
+ /**
312
+ * Shape of each rendered point: "circle", "square", or "cube". Default: "circle".
313
+ */
314
+ pointShape?: "circle" | "square" | "cube";
315
+ /**
316
+ * Duration of time (in sec) that each point stays rendered.
317
+ */
318
+ decayTime?: number;
319
+ frameLocked?: boolean;
320
+ /**
321
+ * One of:
322
+ *
323
+ * - **flat**: solid color
324
+ * - **colormap**: pre-defined color palette
325
+ * - **gradient**: smooth transition between two custom colors
326
+ * - **rgb**: `sensor_msgs/PointCloud2` only; use embedded color from each point's rgb field
327
+ * - **rgba**: `sensor_msgs/PointCloud2` only; use embedded color from each point's rgba field
328
+ * - **rgba-fields**: `foxglove.PointCloud` only; use embedded color from each point's red, green, blue, and alpha fields
329
+ *
330
+ */
331
+ colorMode?: "flat" | "gradient" | "colormap" | "rgb" | "rgba" | "rgba-fields";
332
+ /**
333
+ * Hex code for color of each point. Used only when "colorMode" is set to "flat".
334
+ */
335
+ flatColor?: string;
336
+ /**
337
+ * Value used for "colorMap" coloring logic; any numeric field in message such as `x`, `y`, `z`, `_auto_distance` (L2 norm of coordinates), or custom defined field. Used only if "colorMode" is not set to "flat".
338
+ */
339
+ colorField?: string;
340
+ /**
341
+ * The two colors to interpolate between. Used only if "colorMode" is set to "gradient".
342
+ *
343
+ * @minItems 2
344
+ * @maxItems 2
345
+ */
346
+ gradient?: [string, string];
347
+ /**
348
+ * "Turbo" (Google) or "Rainbow" (RViz); for mapping "colorField" values to colors. Used only if "colorMode" is set to "colorMap".
349
+ */
350
+ colorMap?: "turbo" | "rainbow";
351
+ /**
352
+ * Sets alpha value for all points. Only shown if "colorMode" is set to "colorMap" or "rgb".
353
+ */
354
+ explicitAlpha?: number;
355
+ /**
356
+ * Minimum value used to normalize incoming points' "colorField" values. Used only if "colorMode" is not set to "flat".
357
+ */
358
+ minValue?: number;
359
+ /**
360
+ * Maximum value used to normalize incoming points' "colorField" values. Used only if "colorMode" is not set to "flat".
361
+ */
362
+ maxValue?: number;
363
+ };
364
+ /**
365
+ * A single scan from a planar laser range-finder.
366
+ *
367
+ * This interface was referenced by `Layout`'s JSON-Schema
368
+ * via the `definition` "BaseRendererLaserScanTopicSettings".
369
+ */
370
+ export type BaseRendererLaserScanTopicSettings = BaseRendererBasePointSettings;
371
+ /**
372
+ * Base class for grid and voxel grid topic settings.
373
+ *
374
+ * This interface was referenced by `Layout`'s JSON-Schema
375
+ * via the `definition` "BaseRendererBaseGridSettings".
376
+ */
377
+ export type BaseRendererBaseGridSettings = BaseRendererBaseSettings & {
378
+ colorMode?: "flat" | "gradient" | "colormap" | "rgba-fields";
379
+ /**
380
+ * Hex code for color of each cell
381
+ */
382
+ flatColor?: string;
383
+ /**
384
+ * Numeric field in message used for coloring logic
385
+ */
386
+ colorField?: string;
387
+ /**
388
+ * The two colors to interpolate between, based on the colorField
389
+ *
390
+ * @minItems 2
391
+ * @maxItems 2
392
+ */
393
+ gradient?: [string, string];
394
+ /**
395
+ * For mapping colorField values to colors
396
+ */
397
+ colorMap?: "turbo" | "rainbow";
398
+ /**
399
+ * Sets alpha value for all cells
400
+ */
401
+ explicitAlpha?: number;
402
+ /**
403
+ * Minimum value used to normalize incoming grid's colorField values
404
+ */
405
+ minValue?: number;
406
+ /**
407
+ * Maximum value used to normalize incoming grid's colorField values
408
+ */
409
+ maxValue?: number;
410
+ };
411
+ /**
412
+ * Settings for a grid topic.
413
+ *
414
+ * This interface was referenced by `Layout`'s JSON-Schema
415
+ * via the `definition` "BaseRendererGridTopicSettings".
416
+ */
417
+ export type BaseRendererGridTopicSettings = BaseRendererBaseGridSettings & {
418
+ /**
419
+ * If true the grid is rendered before the rest of the scene, so it appears behind other scene elements regardless of their relative depth. Otherwise the grid is rendered normally
420
+ */
421
+ drawBehind?: boolean;
422
+ /**
423
+ * Optional field to displace each grid cell in the Z axis; if not set, elevation is 0 for all cells
424
+ */
425
+ elevationField?: string;
426
+ /**
427
+ * Determines how elevation and color values are sampled spatially across the grid.
428
+ */
429
+ interpolationMethod?: "linear" | "nearestNeighbor";
430
+ /**
431
+ * true means the grid is locked to the frame specified by its frame_id, and will move as that frame's transforms change. false means the grid is relative to the fixed frame and will not move after it is first displayed.
432
+ */
433
+ frameLocked?: boolean;
434
+ /**
435
+ * Whether to render subtle grid cell borders
436
+ */
437
+ showLines?: boolean;
438
+ /**
439
+ * Color of the cell grid lines
440
+ */
441
+ lineColor?: string;
442
+ /**
443
+ * Enables shading from simulated directional lighting, based on elevation surface normals
444
+ */
445
+ useLighting?: boolean;
446
+ };
447
+ /**
448
+ * Settings for a ROS GridMap topic.
449
+ *
450
+ * This interface was referenced by `Layout`'s JSON-Schema
451
+ * via the `definition` "BaseRendererRosGridMapTopicSettings".
452
+ */
453
+ export type BaseRendererRosGridMapTopicSettings = BaseRendererBaseSettings & {
454
+ /**
455
+ * If true the grid is rendered before the rest of the scene, so it appears behind other scene elements regardless of their relative depth. Otherwise the grid is rendered normally
456
+ */
457
+ drawBehind?: boolean;
458
+ /**
459
+ * Determines how elevation and color values are sampled spatially across the grid.
460
+ */
461
+ interpolationMethod?: "linear" | "nearestNeighbor";
462
+ /**
463
+ * Enables shading from simulated directional lighting, based on elevation surface normals
464
+ */
465
+ useLighting?: boolean;
466
+ /**
467
+ * Whether to render subtle grid cell borders
468
+ */
469
+ showLines?: boolean;
470
+ /**
471
+ * Color of the cell grid lines
472
+ */
473
+ lineColor?: string;
474
+ /**
475
+ * Optional field to displace each grid cell in the Z axis; if not set, elevation is 0 for all cells
476
+ */
477
+ elevationLayer?: string;
478
+ /**
479
+ * Numeric field in message used for coloring logic
480
+ */
481
+ colorLayer?: string;
482
+ /**
483
+ * The two colors to interpolate between, based on the colorLayer
484
+ *
485
+ * @minItems 2
486
+ * @maxItems 2
487
+ */
488
+ colorGradient?: [string, string];
489
+ colorMode?: "colorMap" | "gradient";
490
+ /**
491
+ * For mapping colorLayer values to colors
492
+ */
493
+ colorMap?: "turbo" | "rainbow";
494
+ /**
495
+ * Sets alpha value for all cells
496
+ */
497
+ explicitAlpha?: number;
498
+ };
499
+ /**
500
+ * Settings for a VoxelGrid topic.
501
+ *
502
+ * This interface was referenced by `Layout`'s JSON-Schema
503
+ * via the `definition` "BaseRendererVoxelGridTopicSettings".
504
+ */
505
+ export type BaseRendererVoxelGridTopicSettings = BaseRendererBaseGridSettings & {
506
+ /**
507
+ * If true the grid is rendered before the rest of the scene, so it appears behind other scene elements regardless of their relative depth. Otherwise the grid is rendered normally
508
+ */
509
+ drawBehind?: boolean;
510
+ /**
511
+ * true means the grid is locked to the frame specified by its frame_id, and will move as that frame's transforms change. false means the grid is relative to the fixed frame and will not move after it is first displayed.
512
+ */
513
+ frameLocked?: boolean;
514
+ /**
515
+ * Enables shading from simulated directional lighting, based on elevation surface normals
516
+ */
517
+ useLighting?: boolean;
518
+ };
519
+ /**
520
+ * Base class for URDF settings.
521
+ *
522
+ * This interface was referenced by `Layout`'s JSON-Schema
523
+ * via the `definition` "BaseRendererUrdfBaseSettings".
524
+ */
525
+ export type BaseRendererUrdfBaseSettings = BaseRendererBaseSettings & {
526
+ /**
527
+ * Robot link geometries to display.
528
+ *
529
+ * - auto: Defaults to visual geometries, but falls back to collision geometries if there are no visuals
530
+ * - visual: Visual geometries
531
+ * - collision: Collision geometries
532
+ */
533
+ displayMode?: "auto" | "visual" | "collision";
534
+ /**
535
+ * Fallback color for the URDF model, if the source doesn't contain colors.
536
+ */
537
+ fallbackColor?: string;
538
+ /**
539
+ * Visualize coordinate frame axis for each URDF link.
540
+ */
541
+ showAxis?: boolean;
542
+ /**
543
+ * Scale of link coordinate frame axis.
544
+ */
545
+ axisScale?: number;
546
+ /**
547
+ * Visualize edges of URDF link geometries.
548
+ */
549
+ showOutlines?: boolean;
550
+ /**
551
+ * Opacity of link geometries on a scale from 0 (fully transparent) to 1 (fully opaque).
552
+ */
553
+ opacity?: number;
554
+ };
98
555
  /**
99
- * Timestamp used for message ordering
100
- * - receiveTime: standard timestamp used for playback message ordering across the app
101
- * - customField: any field within the message data containing sec and nsec integers
102
- * - headerStamp: header.stamp ROS 1 or ROS 2 field containing sec and nsec integers (and special case of 'custom field')
103
- * - publishTime: optional MCAP-specific field
556
+ * Settings for a URDF topic.
104
557
  *
105
558
  * This interface was referenced by `Layout`'s JSON-Schema
106
- * via the `definition` "StateTransitionsTimestampMethod".
559
+ * via the `definition` "BaseRendererUrdfTopicSettings".
107
560
  */
108
- export type StateTransitionsTimestampMethod = "receiveTime" | "publishTime" | "headerStamp" | "customField";
561
+ export type BaseRendererUrdfTopicSettings = BaseRendererUrdfBaseSettings & {
562
+ label?: string;
563
+ /**
564
+ * Toggle visibility of each URDF link or set a custom offset with respect to the parent link. The latter is disabled when the transform to the parent link is provided by the datasource.
565
+ */
566
+ links?: {
567
+ [k: string]: BaseRendererUrdfLinkSettings;
568
+ };
569
+ };
109
570
  /**
110
- * Position of the playback bar in the view
571
+ * Settings for a ROS VelodyneScan topic.
111
572
  *
112
573
  * This interface was referenced by `Layout`'s JSON-Schema
113
- * via the `definition` "StateTransitionsPlaybackBarPosition".
574
+ * via the `definition` "BaseRendererRosVelodyneScanTopicSettings".
114
575
  */
115
- export type StateTransitionsPlaybackBarPosition = "center" | "right";
576
+ export type BaseRendererRosVelodyneScanTopicSettings = BaseRendererBasePointSettings & {
577
+ /**
578
+ * Visualize points as stixels that extend from the point's z location to 0
579
+ */
580
+ stixelsEnabled?: boolean;
581
+ };
116
582
  /**
117
- * Configure a sliding or fixed range of time.
118
- * - Automatic: Last 30 seconds for live data, or the full time range for recorded data
119
- * - Sliding: Specify a sliding time window that follows the current playback time
120
- * - Fixed: Set fixed min and max values
583
+ * Settings for a ROS marker namespace.
121
584
  *
122
585
  * This interface was referenced by `Layout`'s JSON-Schema
123
- * via the `definition` "StateTransitionsTimeWindowMode".
586
+ * via the `definition` "BaseRendererRosMarkerNamespaceSettings".
124
587
  */
125
- export type StateTransitionsTimeWindowMode = "automatic" | "sliding" | "fixed";
588
+ export type BaseRendererRosMarkerNamespaceSettings = BaseRendererBaseSettings;
126
589
  /**
127
- * Track when values change over time.
128
- *
129
- * For more information, see [the documentation](https://docs.foxglove.dev/docs/visualization/panels/state-transitions).
590
+ * A collection of primitive shapes used to display anything from a basic bounding box to a complex 3D decision tree or road network.
130
591
  *
131
592
  * This interface was referenced by `Layout`'s JSON-Schema
132
- * via the `definition` "StateTransitionsPanel".
593
+ * via the `definition` "BaseRendererRosMarkerTopicSettings".
133
594
  */
134
- export type StateTransitionsPanel = BasePanel & {
135
- panelType: "StateTransitions";
136
- config: StateTransitionsConfig;
137
- /**
138
- * The title of the panel.
139
- */
140
- title?: string;
141
- /**
142
- * The version of the panel config schema.
143
- */
144
- version: 1;
595
+ export type BaseRendererRosMarkerTopicSettings = BaseRendererBaseSettings & {
596
+ color?: string;
597
+ showOutlines?: boolean;
598
+ selectedIdVariable?: string;
599
+ namespaces?: {
600
+ [k: string]: BaseRendererRosMarkerNamespaceSettings;
601
+ };
145
602
  };
146
603
  /**
147
- * Plot numerical values over time or other values.
148
- *
149
- * For more information, see [the documentation](https://docs.foxglove.dev/docs/visualization/panels/plot).
604
+ * A collection of N-dimensional points, which may contain additional fields with information like normals, intensity, etc.
150
605
  *
151
606
  * This interface was referenced by `Layout`'s JSON-Schema
152
- * via the `definition` "PlotPanel".
607
+ * via the `definition` "BaseRendererPointCloudTopicSettings".
153
608
  */
154
- export type PlotPanel = BasePanel & {
155
- panelType: "Plot";
156
- config: PlotConfig;
157
- /**
158
- * The title of the panel.
159
- */
160
- title?: string;
609
+ export type BaseRendererPointCloudTopicSettings = BaseRendererBasePointSettings & {
161
610
  /**
162
- * The version of the panel config schema.
611
+ * Visualize points as stixels that extend from the point's z location to 0.
163
612
  */
164
- version: 1;
613
+ stixelsEnabled?: boolean;
165
614
  };
166
615
  /**
167
- * Display the transform tree.
168
- *
169
- * For more information, see [the documentation](https://docs.foxglove.dev/docs/visualization/panels/tf-tree).
616
+ * Settings for an image topic.
170
617
  *
171
618
  * This interface was referenced by `Layout`'s JSON-Schema
172
- * via the `definition` "TransformTreePanel".
619
+ * via the `definition` "BaseRendererImageTopicSettings".
173
620
  */
174
- export type TransformTreePanel = BasePanel & {
175
- panelType: "TransformTree";
176
- /**
177
- * The version of the panel config schema.
178
- */
179
- version: 1;
621
+ export type BaseRendererImageTopicSettings = BaseRendererBasePointSettings & {
622
+ cameraInfoTopic?: string;
623
+ distance?: number;
624
+ planarProjectionFactor?: number;
625
+ renderMode?: "default" | "planeProjection" | "pointCloud";
626
+ projectionFrameId?: string;
627
+ color?: string;
628
+ pointSize?: number;
629
+ customDepthScale?: number;
180
630
  };
181
631
  /**
182
- * The direction to use as "up" when loading meshes without orientation info (e.g. STL, OBJ)
632
+ * Settings for topics in the 3D scene
183
633
  *
184
634
  * This interface was referenced by `Layout`'s JSON-Schema
185
- * via the `definition` "BaseRendererMeshUpAxis".
635
+ * via the `definition` "BaseRendererTopicSettings".
186
636
  */
187
- export type BaseRendererMeshUpAxis = "y_up" | "z_up";
637
+ export type BaseRendererTopicSettings =
638
+ | BaseRendererCameraTopicSettings
639
+ | BaseRendererGridTopicSettings
640
+ | BaseRendererLaserScanTopicSettings
641
+ | BaseRendererPointCloudTopicSettings
642
+ | BaseRendererPosesTopicSettings
643
+ | BaseRendererPoseTopicSettings
644
+ | BaseRendererRosGridMapTopicSettings
645
+ | BaseRendererRosMarkerTopicSettings
646
+ | BaseRendererRosOccupancyGridTopicSettings
647
+ | BaseRendererRosPolygonTopicSettings
648
+ | BaseRendererRosVelodyneScanTopicSettings
649
+ | BaseRendererRosVoxelGridTopicSettings
650
+ | BaseRendererSceneUpdateTopicSettings
651
+ | BaseRendererUrdfTopicSettings
652
+ | BaseRendererVoxelGridTopicSettings
653
+ | BaseRendererImageTopicSettings;
188
654
  /**
655
+ * Settings for a transform frame.
656
+ *
189
657
  * This interface was referenced by `Layout`'s JSON-Schema
190
658
  * via the `definition` "BaseRendererLayerSettingsTransform".
191
659
  */
@@ -202,10 +670,12 @@ export type BaseRendererLayerSettingsTransform = BaseRendererBaseSettings & {
202
670
  rpyCoefficient?: [number, number, number];
203
671
  };
204
672
  /**
673
+ * Base class for custom layer settings in a 3D or Image panel.
674
+ *
205
675
  * This interface was referenced by `Layout`'s JSON-Schema
206
- * via the `definition` "BaseRendererCustomLayerSettings".
676
+ * via the `definition` "BaseRendererBaseLayerSettings".
207
677
  */
208
- export type BaseRendererCustomLayerSettings = BaseRendererBaseSettings & {
678
+ export type BaseRendererBaseLayerSettings = BaseRendererBaseSettings & {
209
679
  /**
210
680
  * An identifier for a unique instance of a layer.
211
681
  */
@@ -224,17 +694,130 @@ export type BaseRendererCustomLayerSettings = BaseRendererBaseSettings & {
224
694
  order?: number;
225
695
  };
226
696
  /**
227
- * Viewport following behavior during playback: fixed, or the pose or position of the display frame
697
+ * A grid is 2D square with a fixed size and number of divisions.
698
+ *
699
+ * This interface was referenced by `Layout`'s JSON-Schema
700
+ * via the `definition` "BaseRendererGridLayerSettings".
701
+ */
702
+ export type BaseRendererGridLayerSettings = BaseRendererBaseLayerSettings & {
703
+ drawBehind?: boolean;
704
+ layerId: "foxglove.Grid";
705
+ frameId?: string;
706
+ size?: number;
707
+ divisions?: number;
708
+ lineWidth?: number;
709
+ color?: string;
710
+ /**
711
+ * @minItems 3
712
+ * @maxItems 3
713
+ */
714
+ position?: [number, number, number];
715
+ /**
716
+ * @minItems 3
717
+ * @maxItems 3
718
+ */
719
+ rotation?: [number, number, number];
720
+ };
721
+ /**
722
+ * A tiled map layer for displaying geographic map tiles in the 3D scene.
723
+ *
724
+ * This interface was referenced by `Layout`'s JSON-Schema
725
+ * via the `definition` "BaseRendererTiledMapLayerSettings".
726
+ */
727
+ export type BaseRendererTiledMapLayerSettings = BaseRendererBaseLayerSettings & {
728
+ drawBehind?: boolean;
729
+ layerId: "foxglove.TiledMap";
730
+ serverConfig?: "map" | "satellite" | "custom";
731
+ customMapTileServer?: string;
732
+ opacity?: number;
733
+ /**
734
+ * The Z-position in meters relative to the fixed frame's XY-plane.
735
+ */
736
+ zPosition?: number;
737
+ };
738
+ /**
739
+ * Configuration for a URDF (Unified Robot Description Format) custom layer, which can load robot models from various sources.
228
740
  *
229
741
  * This interface was referenced by `Layout`'s JSON-Schema
230
- * via the `definition` "ThreeDeeFollowMode".
742
+ * via the `definition` "BaseRendererUrdfLayerSettings".
231
743
  */
232
- export type ThreeDeeFollowMode = "follow-pose" | "follow-position" | "follow-none";
744
+ export type BaseRendererUrdfLayerSettings = BaseRendererBaseLayerSettings & {
745
+ layerId: "foxglove.Urdf";
746
+ /**
747
+ * The source type for the URDF data. One of:
748
+ *
749
+ * - **url**: URL to the source URDF file
750
+ * - **filePath**: Absolute file path to the source URDF file. Only supported when using the desktop app
751
+ * - **param**: Parameter containing the source URDF file
752
+ * - **topic**: Topic containing the source URDF file
753
+ *
754
+ */
755
+ sourceType?: "url" | "filePath" | "param" | "topic";
756
+ /**
757
+ * package:// URL or http(s) URL pointing to a Unified Robot Description Format (URDF) XML file. Only shown when sourceType is `url`.
758
+ */
759
+ url?: string;
760
+ /**
761
+ * Absolute file path to a URDF file (desktop app only). Only shown when sourceType is `filePath`.
762
+ */
763
+ filePath?: string;
764
+ /**
765
+ * Name of the parameter containing the URDF data. Only shown when sourceType is `param`.
766
+ */
767
+ parameter?: string;
768
+ /**
769
+ * Name of the topic containing the URDF data. Only shown when sourceType is `topic`.
770
+ */
771
+ topic?: string;
772
+ /**
773
+ * Prefix for robot's transforms. Also commonly known as a TF prefix.
774
+ */
775
+ framePrefix?: string;
776
+ /**
777
+ * Robot link geometries to display.
778
+ *
779
+ * - auto: Defaults to visual geometries, but falls back to collision geometries if there are no visuals
780
+ * - visual: Visual geometries
781
+ * - collision: Collision geometries
782
+ */
783
+ displayMode?: "auto" | "visual" | "collision";
784
+ /**
785
+ * Fallback color for the URDF model, if the source doesn't contain colors.
786
+ */
787
+ fallbackColor?: string;
788
+ /**
789
+ * Visualize coordinate frame axis for each URDF link.
790
+ */
791
+ showAxis?: boolean;
792
+ /**
793
+ * Scale of link coordinate frame axis.
794
+ */
795
+ axisScale?: number;
796
+ /**
797
+ * Visualize edges of URDF link geometries.
798
+ */
799
+ showOutlines?: boolean;
800
+ /**
801
+ * Opacity of link geometries on a scale from 0 (fully transparent) to 1 (fully opaque).
802
+ */
803
+ opacity?: number;
804
+ /**
805
+ * Toggle visibility of each URDF link or set a custom offset with respect to the parent link. The latter is disabled when the transform to the parent link is provided by the datasource.
806
+ */
807
+ links?: {
808
+ [k: string]: BaseRendererUrdfLinkSettings;
809
+ };
810
+ };
233
811
  /**
812
+ * Union of available layer settings types.
813
+ *
234
814
  * This interface was referenced by `Layout`'s JSON-Schema
235
- * via the `definition` "ThreeDeePublishClickType".
815
+ * via the `definition` "BaseRendererCustomLayerSettings".
236
816
  */
237
- export type ThreeDeePublishClickType = "pose_estimate" | "pose" | "point";
817
+ export type BaseRendererCustomLayerSettings =
818
+ | BaseRendererGridLayerSettings
819
+ | BaseRendererTiledMapLayerSettings
820
+ | BaseRendererUrdfLayerSettings;
238
821
  /**
239
822
  * Configuration for the 3D panel
240
823
  *
@@ -251,7 +834,10 @@ export type ThreeDeeConfig = BaseRendererConfig & {
251
834
  * The stationary world reference relative to which all other objects in the scene are located. Elements that accumulate over time (for example, point clouds) are stored and displayed in this frame, and in 2D mode the camera faces this frame's x-y plane.
252
835
  */
253
836
  fixedFrame?: string;
254
- followMode?: ThreeDeeFollowMode;
837
+ /**
838
+ * Viewport following behavior during playback: fixed, or the pose or position of the display frame
839
+ */
840
+ followMode?: "follow-pose" | "follow-position" | "follow-none";
255
841
  /**
256
842
  * Topic containing location fix data associated with a frame in the scene. Auto will use the first available topic.
257
843
  */
@@ -666,6 +1252,8 @@ export type UserScripts = {
666
1252
  [k: string]: UserScript;
667
1253
  }
668
1254
  /**
1255
+ * A user script saved in a layout.
1256
+ *
669
1257
  * This interface was referenced by `Layout`'s JSON-Schema
670
1258
  * via the `definition` "UserScript".
671
1259
  */
@@ -702,9 +1290,9 @@ export type BasePanel = {
702
1290
  * A container for quickly switching between different groups of panels using a tab bar.
703
1291
  *
704
1292
  * This interface was referenced by `Layout`'s JSON-Schema
705
- * via the `definition` "Tabs".
1293
+ * via the `definition` "TabContainer".
706
1294
  */
707
- export type Tabs = {
1295
+ export type TabContainer = {
708
1296
  type: "tabs";
709
1297
  /**
710
1298
  * The 0-based index of the tab that is selected. Defaults to 0.
@@ -713,15 +1301,15 @@ export type Tabs = {
713
1301
  /**
714
1302
  * The tabs to display in the container.
715
1303
  */
716
- tabs: Tab[];
1304
+ tabs: TabItem[];
717
1305
  }
718
1306
  /**
719
- * A tab in a tabs container.
1307
+ * A single tab in a tab container.
720
1308
  *
721
1309
  * This interface was referenced by `Layout`'s JSON-Schema
722
- * via the `definition` "Tab".
1310
+ * via the `definition` "TabItem".
723
1311
  */
724
- export type Tab = {
1312
+ export type TabItem = {
725
1313
  /**
726
1314
  * The title of the tab.
727
1315
  */
@@ -732,9 +1320,9 @@ export type Tab = {
732
1320
  * A container for a vertically-scrollable stack of panels.
733
1321
  *
734
1322
  * This interface was referenced by `Layout`'s JSON-Schema
735
- * via the `definition` "Stack".
1323
+ * via the `definition` "StackContainer".
736
1324
  */
737
- export type Stack = {
1325
+ export type StackContainer = {
738
1326
  type: "stack";
739
1327
  /**
740
1328
  * The panels to display in the stack.
@@ -762,14 +1350,14 @@ export type StackItem = {
762
1350
  * A sequence of items displayed in a vertical or horizontal direction. Items are placed one next to the other (or one above the other for vertical direction), with space allocated according to their ratios.
763
1351
  *
764
1352
  * This interface was referenced by `Layout`'s JSON-Schema
765
- * via the `definition` "Split".
1353
+ * via the `definition` "SplitContainer".
766
1354
  */
767
- export type Split = {
1355
+ export type SplitContainer = {
768
1356
  type: "split";
769
1357
  /**
770
- * The direction in which items are displayed in the list. Defaults to horizontal.
1358
+ * The direction in which items are displayed in the list. Defaults to row.
771
1359
  */
772
- direction: "vertical" | "horizontal";
1360
+ direction?: "row" | "column";
773
1361
  /**
774
1362
  * The items to display in the split container.
775
1363
  *
@@ -778,23 +1366,30 @@ export type Split = {
778
1366
  items: [SplitItem, ...SplitItem[]];
779
1367
  }
780
1368
  /**
781
- * An item in a layout with a ratio for space allocation.
782
- *
783
- * The ratio determines the proportion of space this item takes up. The direction of the Split container determines whether the ratio applies to width (horizontal) or height (vertical).
784
- * For example, if a split has 3 items with ratios 1, 2, and 3, the first item takes 1/6 of the space,
785
- * the second item takes 2/6, and the third item takes 3/6.
1369
+ * An item in a split container with a proportion for space allocation.
786
1370
  *
787
1371
  * This interface was referenced by `Layout`'s JSON-Schema
788
1372
  * via the `definition` "SplitItem".
789
1373
  */
790
1374
  export type SplitItem = {
791
1375
  /**
792
- * Proportion of space this item occupies relative to other items in the split. The actual space allocated is calculated by dividing this item's ratio by the sum of all ratios in the split. The ratio must be greater than 0.
1376
+ * Proportion of space this item occupies relative to other items in the split. The actual space allocated is calculated by dividing this item's proportion by the sum of all proportions in the split. The proportion must be greater than 0. Defaults to 1.
793
1377
  */
794
- ratio: number;
1378
+ proportion?: number;
795
1379
  content: Content;
796
1380
  }
797
1381
  /**
1382
+ * A dictionary of configuration properties for the panel.
1383
+ *
1384
+ * This interface was referenced by `Layout`'s JSON-Schema
1385
+ * via the `definition` "PanelConfig".
1386
+ */
1387
+ export type PanelConfig = {
1388
+ [k: string]: unknown;
1389
+ }
1390
+ /**
1391
+ * Configuration for the Markdown panel.
1392
+ *
798
1393
  * This interface was referenced by `Layout`'s JSON-Schema
799
1394
  * via the `definition` "MarkdownConfig".
800
1395
  */
@@ -803,20 +1398,19 @@ export type MarkdownConfig = {
803
1398
  * Sets the base font size for the Markdown renderer.
804
1399
  */
805
1400
  fontSize?: number;
1401
+ /**
1402
+ * Choose whether to render static markdown or message data.
1403
+ */
1404
+ renderMode?: "static" | "message";
1405
+ /**
1406
+ * Message path to a field containing Markdown text as a string.
1407
+ */
1408
+ messagePath?: string;
806
1409
  /**
807
1410
  * The markdown content to display.
808
1411
  */
809
1412
  markdown?: string;
810
1413
  }
811
- /**
812
- * A dictionary of configuration properties for the panel.
813
- *
814
- * This interface was referenced by `Layout`'s JSON-Schema
815
- * via the `definition` "PanelConfig".
816
- */
817
- export type PanelConfig = {
818
- [k: string]: unknown;
819
- }
820
1414
  /**
821
1415
  * Display options for a discrete or continuous custom state
822
1416
  *
@@ -838,8 +1432,8 @@ export type StateTransitionsRangeCustomStates = {
838
1432
  /**
839
1433
  * The list of range states to display in the panel.
840
1434
  */
841
- states: StateTransitionsRangeCustomState[];
842
- otherwise: StateTransitionsBaseCustomState;
1435
+ states?: StateTransitionsRangeCustomState[];
1436
+ otherwise?: StateTransitionsBaseCustomState;
843
1437
  }
844
1438
  /**
845
1439
  * Discrete state customization strategy
@@ -852,7 +1446,7 @@ export type StateTransitionsDiscreteCustomStates = {
852
1446
  /**
853
1447
  * The list of discrete states to display in the panel.
854
1448
  */
855
- states: StateTransitionsDiscreteCustomState[];
1449
+ states?: StateTransitionsDiscreteCustomState[];
856
1450
  }
857
1451
  /**
858
1452
  * A series to display in the panel.
@@ -864,7 +1458,7 @@ export type StateTransitionsSeries = {
864
1458
  /**
865
1459
  * Message path containing values for the series
866
1460
  */
867
- value: string;
1461
+ value?: string;
868
1462
  /**
869
1463
  * Label displayed in the legend for the series
870
1464
  */
@@ -873,7 +1467,14 @@ export type StateTransitionsSeries = {
873
1467
  * Whether the series is enabled. If disabled, the series will not be displayed in the panel.
874
1468
  */
875
1469
  enabled?: boolean;
876
- timestampMethod: StateTransitionsTimestampMethod;
1470
+ /**
1471
+ * Timestamp used for message ordering
1472
+ * - receiveTime: standard timestamp used for playback message ordering across the app
1473
+ * - customField: any field within the message data containing sec and nsec integers
1474
+ * - headerStamp: header.stamp ROS 1 or ROS 2 field containing sec and nsec integers (and special case of 'custom field')
1475
+ * - publishTime: optional MCAP-specific field
1476
+ */
1477
+ timestampMethod?: "receiveTime" | "publishTime" | "headerStamp" | "customField";
877
1478
  /**
878
1479
  * Message path containing a timestamp field on the same topic as the y-value path
879
1480
  */
@@ -890,11 +1491,11 @@ export type StateTransitionsConfig = {
890
1491
  /**
891
1492
  * The list of series to display in the panel.
892
1493
  */
893
- paths: StateTransitionsSeries[];
1494
+ paths?: StateTransitionsSeries[];
894
1495
  /**
895
1496
  * Sync zooming and panning with other plots
896
1497
  */
897
- isSynced: boolean;
1498
+ isSynced?: boolean;
898
1499
  /**
899
1500
  * Minimum time value to display (in seconds)
900
1501
  */
@@ -911,14 +1512,25 @@ export type StateTransitionsConfig = {
911
1512
  * Label displayed along the time axis
912
1513
  */
913
1514
  xAxisLabel?: string;
914
- timeWindowMode?: StateTransitionsTimeWindowMode;
915
- playbackBarPosition?: StateTransitionsPlaybackBarPosition;
1515
+ /**
1516
+ * Configure a sliding or fixed range of time.
1517
+ * - Automatic: Last 30 seconds for live data, or the full time range for recorded data
1518
+ * - Sliding: Specify a sliding time window that follows the current playback time
1519
+ * - Fixed: Set fixed min and max values
1520
+ */
1521
+ timeWindowMode?: "automatic" | "sliding" | "fixed";
1522
+ /**
1523
+ * Position of the playback bar in the view
1524
+ */
1525
+ playbackBarPosition?: "center" | "right";
916
1526
  /**
917
1527
  * Show a point for each incoming message
918
1528
  */
919
1529
  showPoints?: boolean;
920
1530
  }
921
1531
  /**
1532
+ * A series in a Plot panel.
1533
+ *
922
1534
  * This interface was referenced by `Layout`'s JSON-Schema
923
1535
  * via the `definition` "PlotSeries".
924
1536
  */
@@ -926,11 +1538,11 @@ export type PlotSeries = {
926
1538
  /**
927
1539
  * Message path containing y-axis values for the series
928
1540
  */
929
- value: string;
1541
+ value?: string;
930
1542
  /**
931
1543
  * Whether the series is enabled. If disabled, the series will not be displayed in the panel.
932
1544
  */
933
- enabled: boolean;
1545
+ enabled?: boolean;
934
1546
  /**
935
1547
  * A unique identifier for the series.
936
1548
  */
@@ -948,9 +1560,9 @@ export type PlotSeries = {
948
1560
  * - receiveTime is the standard timestamp used for playback message ordering across the app. For live connections, this is when the message was received; for recorded files, this is when the message was originally recorded
949
1561
  * - customField is a message path which can point to any field within the message data containing sec and nsec integers
950
1562
  * - headerStamp is a header.stamp ROS 1 or ROS 2 field containing sec and nsec integers (and special case of 'custom field', above). This typically represents when sensor data was captured
951
- * - publishTime is an optional MCAP-specific field representing when the event occured
1563
+ * - publishTime is an optional MCAP-specific field representing when the event occurred
952
1564
  */
953
- timestampMethod: "receiveTime" | "publishTime" | "headerStamp" | "customField";
1565
+ timestampMethod?: "receiveTime" | "publishTime" | "headerStamp" | "customField";
954
1566
  /**
955
1567
  * Message path containing a timestamp field on the same topic as the y-value path
956
1568
  */
@@ -978,11 +1590,11 @@ export type PlotXAxisPath = {
978
1590
  /**
979
1591
  * Message path containing y-axis values for the series
980
1592
  */
981
- value: string;
1593
+ value?: string;
982
1594
  /**
983
1595
  * Whether the series is enabled. If disabled, the series will not be displayed in the panel.
984
1596
  */
985
- enabled: boolean;
1597
+ enabled?: boolean;
986
1598
  }
987
1599
  /**
988
1600
  * Configuration for the Plot panel.
@@ -994,7 +1606,7 @@ export type PlotConfig = {
994
1606
  /**
995
1607
  * The list of series to display in the panel.
996
1608
  */
997
- paths: PlotSeries[];
1609
+ paths?: PlotSeries[];
998
1610
  /**
999
1611
  * For Fixed time window: min value in seconds
1000
1612
  */
@@ -1014,34 +1626,34 @@ export type PlotConfig = {
1014
1626
  /**
1015
1627
  * Display the legend
1016
1628
  */
1017
- showLegend: boolean;
1629
+ showLegend?: boolean;
1018
1630
  /**
1019
1631
  * Position of the legend in relation to the chart
1020
1632
  */
1021
- legendDisplay: "floating" | "top" | "left";
1633
+ legendDisplay?: "floating" | "top" | "left";
1022
1634
  /**
1023
1635
  * Show the corresponding y value next to each series in the legend (either at the current playback time or at a point on user hover)
1024
1636
  */
1025
- showPlotValuesInLegend: boolean;
1637
+ showPlotValuesInLegend?: boolean;
1026
1638
  /**
1027
1639
  * Whether or not to display numeric values for x-axis tick marks
1028
1640
  */
1029
- showXAxisLabels: boolean;
1641
+ showXAxisLabels?: boolean;
1030
1642
  /**
1031
1643
  * Whether or not to display numeric values for y-axis tick marks
1032
1644
  */
1033
- showYAxisLabels: boolean;
1645
+ showYAxisLabels?: boolean;
1034
1646
  /**
1035
1647
  * For Timestamp plots: Sync timeline to other Plot and State Transitions panels.
1036
1648
  */
1037
- isSynced: boolean;
1649
+ isSynced?: boolean;
1038
1650
  /**
1039
1651
  * Type and source of data for values plotted on the x-axis:
1040
1652
  * - Timestamp: x-values for time series data
1041
1653
  * - Message path: numeric message fields for XY plots
1042
1654
  * - Array index: integer indices of an array in the latest message
1043
1655
  */
1044
- xAxisVal: "timestamp" | "index" | "custom" | "currentCustom";
1656
+ xAxisVal?: "timestamp" | "index" | "custom" | "currentCustom";
1045
1657
  /**
1046
1658
  * For Message path plots:
1047
1659
  * - All shows data from the full time range
@@ -1075,7 +1687,7 @@ export type PlotConfig = {
1075
1687
  /**
1076
1688
  * Size of the legend in pixels, when the legend position is Left or Top
1077
1689
  */
1078
- sidebarDimension: number;
1690
+ sidebarDimension?: number;
1079
1691
  /**
1080
1692
  * For Message path plots:
1081
1693
  * - Independent (the default) lets you configure min and max values for the scales independently.
@@ -1084,22 +1696,25 @@ export type PlotConfig = {
1084
1696
  axisScalesMode?: "independent" | "lockedScales";
1085
1697
  }
1086
1698
  /**
1699
+ * Base class for entities in a 3D or Image panel.
1700
+ *
1087
1701
  * This interface was referenced by `Layout`'s JSON-Schema
1088
1702
  * via the `definition` "BaseRendererBaseSettings".
1089
1703
  */
1090
1704
  export type BaseRendererBaseSettings = {
1091
- /**
1092
- * true means the grid is rendered before the rest of the scene, so it appears behind other scene elements regardless of their relative depth. false means the grid is rendered normally.
1093
- */
1094
- drawBehind?: boolean;
1095
1705
  /**
1096
1706
  * Whether this renderable should be displayed in the scene.
1097
1707
  */
1098
1708
  visible?: boolean;
1099
- /**
1100
- * true means the grid is locked to the frame specified by its frame_id, and will move as that frame's transforms change. false means the grid is relative to the fixed frame and will not move after it is first displayed.
1101
- */
1102
- frameLocked?: boolean;
1709
+ }
1710
+ /**
1711
+ * Settings for a URDF link.
1712
+ *
1713
+ * This interface was referenced by `Layout`'s JSON-Schema
1714
+ * via the `definition` "BaseRendererUrdfLinkSettings".
1715
+ */
1716
+ export type BaseRendererUrdfLinkSettings = {
1717
+ visible?: boolean;
1103
1718
  }
1104
1719
  /**
1105
1720
  * Scene settings for the currently rendering scene
@@ -1124,7 +1739,10 @@ export type BaseRendererSceneSettings = {
1124
1739
  * Match the behavior of RViz by ignoring the <up_axis> tag in COLLADA files
1125
1740
  */
1126
1741
  ignoreColladaUpAxis?: boolean;
1127
- meshUpAxis?: BaseRendererMeshUpAxis;
1742
+ /**
1743
+ * The direction to use as "up" when loading meshes without orientation info (e.g. STL, OBJ)
1744
+ */
1745
+ meshUpAxis?: "y_up" | "z_up";
1128
1746
  transforms?: BaseRendererTransforms;
1129
1747
  /**
1130
1748
  * Sync the camera with other panels that also have this setting enabled
@@ -1199,7 +1817,7 @@ export type BaseRendererConfig = {
1199
1817
  * Settings for topics, indexed by topicName
1200
1818
  */
1201
1819
  topics?: {
1202
- [k: string]: BaseRendererBaseSettings;
1820
+ [k: string]: BaseRendererTopicSettings;
1203
1821
  };
1204
1822
  }
1205
1823
  /**
@@ -1266,7 +1884,7 @@ export type ThreeDeeCameraState = {
1266
1884
  * via the `definition` "ThreeDeePublishSettings".
1267
1885
  */
1268
1886
  export type ThreeDeePublishSettings = {
1269
- type?: ThreeDeePublishClickType;
1887
+ type?: "pose_estimate" | "pose" | "point";
1270
1888
  /**
1271
1889
  * The topic on which to publish
1272
1890
  */
@@ -1293,6 +1911,8 @@ export type ThreeDeePublishSettings = {
1293
1911
  poseEstimateThetaDeviation?: number;
1294
1912
  }
1295
1913
  /**
1914
+ * Settings for 3D panel overlays.
1915
+ *
1296
1916
  * This interface was referenced by `Layout`'s JSON-Schema
1297
1917
  * via the `definition` "ThreeDeeOverlaySettings".
1298
1918
  */
@@ -1300,6 +1920,8 @@ export type ThreeDeeOverlaySettings = {
1300
1920
  visible?: boolean;
1301
1921
  }
1302
1922
  /**
1923
+ * Settings for an image annotation topic.
1924
+ *
1303
1925
  * This interface was referenced by `Layout`'s JSON-Schema
1304
1926
  * via the `definition` "ImageAnnotationSettings".
1305
1927
  */
@@ -1310,10 +1932,63 @@ export type ImageAnnotationSettings = {
1310
1932
  visible?: boolean;
1311
1933
  }
1312
1934
  /**
1935
+ * Cursor publishing settings.
1936
+ *
1937
+ * This interface was referenced by `Layout`'s JSON-Schema
1938
+ * via the `definition` "ImageModePublishConfig".
1939
+ */
1940
+ export type ImageModePublishConfig = {
1941
+ /**
1942
+ * Whether click publishing is enabled.
1943
+ */
1944
+ clickEnabled?: boolean;
1945
+ /**
1946
+ * Topic name for publishing cursor position when clicking on the image.
1947
+ */
1948
+ cursorClickTopic?: string;
1949
+ /**
1950
+ * Whether hover publishing is enabled.
1951
+ */
1952
+ hoverEnabled?: boolean;
1953
+ /**
1954
+ * Topic name for publishing cursor position when hovering over the image.
1955
+ */
1956
+ cursorHoverTopic?: string;
1957
+ }
1958
+ /**
1959
+ * Settings specific to the Image panel.
1960
+ *
1313
1961
  * This interface was referenced by `Layout`'s JSON-Schema
1314
1962
  * via the `definition` "ImageModeConfig".
1315
1963
  */
1316
1964
  export type ImageModeConfig = {
1965
+ /**
1966
+ * One of: "flat", "gradient", "colormap", "rgb", "rgba", or "rgba-fields".
1967
+ */
1968
+ colorMode?: "flat" | "gradient" | "colormap" | "rgb" | "rgba" | "rgba-fields";
1969
+ /**
1970
+ * Hex code for color of each point. Used only when "colorMode" is "flat".
1971
+ */
1972
+ flatColor?: string;
1973
+ /**
1974
+ * Value used for "colorMap" coloring logic; any numeric field in the message. Used only if "colorMode" is not "flat".
1975
+ */
1976
+ colorField?: string;
1977
+ /**
1978
+ * The two colors to interpolate between. Used only if "colorMode" is "gradient".
1979
+ *
1980
+ * @minItems 2
1981
+ * @maxItems 2
1982
+ */
1983
+ gradient?: [string, string];
1984
+ /**
1985
+ * Color palette for mapping "colorField" values to colors. Used only if "colorMode" is "colormap".
1986
+ */
1987
+ colorMap?: "turbo" | "rainbow";
1988
+ /**
1989
+ * Sets alpha value for all colors. Used only when "colorMode" is "colormap" or "rgb".
1990
+ */
1991
+ explicitAlpha?: number;
1317
1992
  /**
1318
1993
  * Camera image or video topic to display.
1319
1994
  */
@@ -1348,14 +2023,6 @@ export type ImageModeConfig = {
1348
2023
  * Flip image across the horizontal axis
1349
2024
  */
1350
2025
  flipVertical?: boolean;
1351
- /**
1352
- * Minimum (black) value for single-channel images.
1353
- */
1354
- minValue?: number;
1355
- /**
1356
- * Maximum (white) value for single-channel images.
1357
- */
1358
- maxValue?: number;
1359
2026
  /**
1360
2027
  * Video decoder
1361
2028
  */
@@ -1364,6 +2031,15 @@ export type ImageModeConfig = {
1364
2031
  * Whether to rectify (undistort) the image. If turned off, images will be displayed as is and 3D topic visualization will be disabled.
1365
2032
  */
1366
2033
  rectifyImage?: boolean;
2034
+ publish?: ImageModePublishConfig;
2035
+ /**
2036
+ * Minimum (black) value for single-channel images.
2037
+ */
2038
+ minValue?: number;
2039
+ /**
2040
+ * Maximum (white) value for single-channel images.
2041
+ */
2042
+ maxValue?: number;
1367
2043
  }
1368
2044
  /**
1369
2045
  * Configuration for the Audio panel.
@@ -1403,19 +2079,19 @@ export type DiagnosticsSummaryConfig = {
1403
2079
  /**
1404
2080
  * Minimum level of diagnostic messages to display
1405
2081
  */
1406
- minLevel: number;
2082
+ minLevel?: number;
1407
2083
  /**
1408
2084
  * List of diagnostic IDs to pin to the top of the list. The format is `|hardware_id|name|` or `|hardware_id|` for a hardware ID without a name.
1409
2085
  */
1410
- pinnedIds: string[];
2086
+ pinnedIds?: string[];
1411
2087
  /**
1412
2088
  * ROS DiagnosticArray topic to subscribe to
1413
2089
  */
1414
- topicToRender: string;
2090
+ topicToRender?: string;
1415
2091
  /**
1416
2092
  * Fuzzy filter entries by hardware ID and node names
1417
2093
  */
1418
- hardwareIdFilter: string;
2094
+ hardwareIdFilter?: string;
1419
2095
  /**
1420
2096
  * Sort visible nodes by level
1421
2097
  */
@@ -1447,7 +2123,7 @@ export type DiagnosticsDetailConfig = {
1447
2123
  /**
1448
2124
  * ROS DiagnosticArray topic to subscribe to
1449
2125
  */
1450
- topicToRender: string;
2126
+ topicToRender?: string;
1451
2127
  /**
1452
2128
  * Number of decimal places to display for numeric values
1453
2129
  */
@@ -1467,19 +2143,19 @@ export type IndicatorRule = {
1467
2143
  /**
1468
2144
  * Value to compare against
1469
2145
  */
1470
- rawValue: string;
2146
+ rawValue?: string;
1471
2147
  /**
1472
2148
  * Operator to use for the indicator rule
1473
2149
  */
1474
- operator: "=" | "<" | "<=" | ">" | ">=";
2150
+ operator?: "=" | "<" | "<=" | ">" | ">=";
1475
2151
  /**
1476
2152
  * Color to use when the rule matches
1477
2153
  */
1478
- color: string;
2154
+ color?: string;
1479
2155
  /**
1480
2156
  * Label to use when the rule matches
1481
2157
  */
1482
- label: string;
2158
+ label?: string;
1483
2159
  }
1484
2160
  /**
1485
2161
  * Configuration for the Indicator panel.
@@ -1491,11 +2167,11 @@ export type IndicatorConfig = {
1491
2167
  /**
1492
2168
  * Message path to the data
1493
2169
  */
1494
- path: string;
2170
+ path?: string;
1495
2171
  /**
1496
2172
  * Style of indicator to display
1497
2173
  */
1498
- style: "bulb" | "background";
2174
+ style?: "bulb" | "background";
1499
2175
  /**
1500
2176
  * Font size of the indicator
1501
2177
  */
@@ -1503,15 +2179,15 @@ export type IndicatorConfig = {
1503
2179
  /**
1504
2180
  * Range rules list to determine what the indicator should display, evaluated in order of precedence
1505
2181
  */
1506
- rules: IndicatorRule[];
2182
+ rules?: IndicatorRule[];
1507
2183
  /**
1508
2184
  * Color to use when no other rules match
1509
2185
  */
1510
- fallbackColor: string;
2186
+ fallbackColor?: string;
1511
2187
  /**
1512
2188
  * Label to use when no other rules match
1513
2189
  */
1514
- fallbackLabel: string;
2190
+ fallbackLabel?: string;
1515
2191
  }
1516
2192
  /**
1517
2193
  * Configuration for the Gauge panel.
@@ -1523,38 +2199,42 @@ export type GaugeConfig = {
1523
2199
  /**
1524
2200
  * Message path containing a numeric value (or string value that can be coerced to a numeric value)
1525
2201
  */
1526
- path: string;
2202
+ path?: string;
2203
+ /**
2204
+ * Visual style of the gauge
2205
+ */
2206
+ style?: "dial" | "bar";
1527
2207
  /**
1528
2208
  * Minimum value for the gauge
1529
2209
  */
1530
- minValue: number;
2210
+ minValue?: number;
1531
2211
  /**
1532
2212
  * Maximum value for the gauge
1533
2213
  */
1534
- maxValue: number;
2214
+ maxValue?: number;
1535
2215
  /**
1536
2216
  * Type of gradient to use for the gauge
1537
2217
  */
1538
- colorMode: "colormap" | "gradient";
2218
+ colorMode?: "colormap" | "gradient";
1539
2219
  /**
1540
2220
  * Preset gradients for the gauge
1541
2221
  */
1542
- colorMap: "red-yellow-green" | "rainbow" | "turbo";
2222
+ colorMap?: "red-yellow-green" | "rainbow" | "turbo";
1543
2223
  /**
1544
2224
  * Starting and ending color stops for custom gradient
1545
2225
  *
1546
2226
  * @minItems 2
1547
2227
  * @maxItems 2
1548
2228
  */
1549
- gradient: [string, string];
2229
+ gradient?: [string, string];
1550
2230
  /**
1551
2231
  * Reverse the colors of the gauge
1552
2232
  */
1553
- reverse: boolean;
2233
+ reverse?: boolean;
1554
2234
  /**
1555
2235
  * Reverse the direction of the gauge (min on right, max on left)
1556
2236
  */
1557
- reverseDirection: boolean;
2237
+ reverseDirection?: boolean;
1558
2238
  }
1559
2239
  /**
1560
2240
  * A button to teleoperate a robot
@@ -1566,11 +2246,11 @@ export type TeleopButton = {
1566
2246
  /**
1567
2247
  * Field (linear or angular x, y, or z)
1568
2248
  */
1569
- field: string;
2249
+ field?: string;
1570
2250
  /**
1571
2251
  * Value to publish when the button is pressed
1572
2252
  */
1573
- value: number;
2253
+ value?: number;
1574
2254
  }
1575
2255
  /**
1576
2256
  * Configuration for the Teleop panel.
@@ -1587,22 +2267,14 @@ export type TeleopConfig = {
1587
2267
  * Rate at which to publish geometry_msgs/Twist or geometry_msgs/msg/Twist messages
1588
2268
  */
1589
2269
  publishRate?: number;
1590
- upButton: TeleopButton;
1591
- downButton: TeleopButton;
1592
- leftButton: TeleopButton;
1593
- rightButton: TeleopButton;
2270
+ upButton?: TeleopButton;
2271
+ downButton?: TeleopButton;
2272
+ leftButton?: TeleopButton;
2273
+ rightButton?: TeleopButton;
1594
2274
  }
1595
2275
  /**
1596
- * Coordinates of the center of the map
2276
+ * Settings for a topic displayed on the map.
1597
2277
  *
1598
- * This interface was referenced by `Layout`'s JSON-Schema
1599
- * via the `definition` "MapCoordinates".
1600
- */
1601
- export type MapCoordinates = {
1602
- lat: number;
1603
- lon: number;
1604
- }
1605
- /**
1606
2278
  * This interface was referenced by `Layout`'s JSON-Schema
1607
2279
  * via the `definition` "MapTopicSettings".
1608
2280
  */
@@ -1610,15 +2282,43 @@ export type MapTopicSettings = {
1610
2282
  /**
1611
2283
  * Which messages to display when history (or future data via preloading) is available.
1612
2284
  */
1613
- historyMode?: "all" | "none" | "previous";
2285
+ historyMode?: "all" | "none" | "previous" | "last-n-seconds";
1614
2286
  /**
1615
2287
  * Configure GPS location display
1616
2288
  */
1617
- pointDisplayMode?: "dot" | "pin";
2289
+ pointDisplayMode?: "dot" | "pin" | "diamond" | "square" | "plus" | "cross";
1618
2290
  /**
1619
2291
  * Sets the diameter of points rendered on the map for this topic, in pixels
1620
2292
  */
1621
2293
  pointSize?: number;
2294
+ /**
2295
+ * Time window in seconds for 'previous' mode sliding window. When left blank, shows all data from the beginning up to current playback time. When set, shows only the last N seconds of data.
2296
+ */
2297
+ timeWindowSeconds?: number;
2298
+ }
2299
+ /**
2300
+ * Configuration for a map layer displayed on top of the base map.
2301
+ *
2302
+ * This interface was referenced by `Layout`'s JSON-Schema
2303
+ * via the `definition` "MapLayerConfig".
2304
+ */
2305
+ export type MapLayerConfig = {
2306
+ /**
2307
+ * Type of map layer to display.
2308
+ */
2309
+ type: "street" | "satellite" | "custom" | "shaded-relief" | "seamark" | "isobaths";
2310
+ /**
2311
+ * Whether this layer is visible
2312
+ */
2313
+ enabled?: boolean;
2314
+ /**
2315
+ * Opacity of the layer (0 to 1)
2316
+ */
2317
+ opacity?: number;
2318
+ /**
2319
+ * URL to custom map tiles when type is 'custom', following Tile Map Service specs
2320
+ */
2321
+ customTileUrl?: string;
1622
2322
  }
1623
2323
  /**
1624
2324
  * Configuration for the Map panel.
@@ -1627,7 +2327,6 @@ export type MapTopicSettings = {
1627
2327
  * via the `definition` "MapConfig".
1628
2328
  */
1629
2329
  export type MapConfig = {
1630
- center?: MapCoordinates;
1631
2330
  /**
1632
2331
  * URL to your custom map tiles following the Tile Map Service specs, e.g. https://my.custom.url/{x}/{y}/{z}.png
1633
2332
  */
@@ -1647,7 +2346,7 @@ export type MapConfig = {
1647
2346
  /**
1648
2347
  * Type of map to display
1649
2348
  */
1650
- layer?: "map" | "satellite" | "custom";
2349
+ layer?: "map" | "satellite" | "custom" | "shaded-relief";
1651
2350
  /**
1652
2351
  * Colors for topics on the map
1653
2352
  */
@@ -1668,6 +2367,10 @@ export type MapConfig = {
1668
2367
  topicConfig?: {
1669
2368
  [k: string]: MapTopicSettings;
1670
2369
  };
2370
+ /**
2371
+ * Additional layers displayed on top of the base map layer
2372
+ */
2373
+ layers?: MapLayerConfig[];
1671
2374
  }
1672
2375
  /**
1673
2376
  * Configuration for the Publish panel.
@@ -1699,7 +2402,7 @@ export type PublishConfig = {
1699
2402
  /**
1700
2403
  * When enabled, editing the message is allowed and the content is displayed. When disabled, only the button is visible.
1701
2404
  */
1702
- advancedView: boolean;
2405
+ advancedView?: boolean;
1703
2406
  /**
1704
2407
  * JSON blob to publish
1705
2408
  */
@@ -1755,15 +2458,15 @@ export type RawMessagesConfig = {
1755
2458
  /**
1756
2459
  * Whether to enable diff mode
1757
2460
  */
1758
- diffEnabled: boolean;
2461
+ diffEnabled?: boolean;
1759
2462
  /**
1760
2463
  * Method to use for diffing
1761
2464
  */
1762
- diffMethod: "custom" | "previous message";
2465
+ diffMethod?: "custom" | "previous message";
1763
2466
  /**
1764
2467
  * Topic path to use for diffing
1765
2468
  */
1766
- diffTopicPath: string;
2469
+ diffTopicPath?: string;
1767
2470
  /**
1768
2471
  * Node expansion state. Can be 'all' (all nodes expanded), 'none' (all nodes collapsed), or a map of node paths to expansion states. In the map, keys are reversed node paths joined by '~', and values are 'c' (collapsed) or 'e' (expanded).
1769
2472
  */
@@ -1775,17 +2478,19 @@ export type RawMessagesConfig = {
1775
2478
  /**
1776
2479
  * Whether to show the full message for diffing
1777
2480
  */
1778
- showFullMessageForDiff: boolean;
2481
+ showFullMessageForDiff?: boolean;
1779
2482
  /**
1780
2483
  * Message path to display
1781
2484
  */
1782
- topicPath: string;
2485
+ topicPath?: string;
1783
2486
  /**
1784
2487
  * Font size for text display
1785
2488
  */
1786
2489
  fontSize?: number;
1787
2490
  }
1788
2491
  /**
2492
+ * Settings for a namespace in the Log panel.
2493
+ *
1789
2494
  * This interface was referenced by `Layout`'s JSON-Schema
1790
2495
  * via the `definition` "LogNamespaceSettings".
1791
2496
  */
@@ -1802,15 +2507,15 @@ export type LogConfig = {
1802
2507
  /**
1803
2508
  * Search terms to filter log messages
1804
2509
  */
1805
- searchTerms: string[];
2510
+ searchTerms?: string[];
1806
2511
  /**
1807
2512
  * Attempt to preload logs for recorded sources. If the recording contains over 100,000 messages, fallback to live mode
1808
2513
  */
1809
- preload: boolean;
2514
+ preload?: boolean;
1810
2515
  /**
1811
2516
  * Minimum severity of messages to display – always enforced, even if the node name is selected or the message text matches the search filter
1812
2517
  */
1813
- minLogLevel: number;
2518
+ minLogLevel?: number;
1814
2519
  /**
1815
2520
  * Topic to display log messages from
1816
2521
  */
@@ -1827,6 +2532,8 @@ export type LogConfig = {
1827
2532
  fontSize?: number;
1828
2533
  }
1829
2534
  /**
2535
+ * Configuration for the Table panel.
2536
+ *
1830
2537
  * This interface was referenced by `Layout`'s JSON-Schema
1831
2538
  * via the `definition` "TableConfig".
1832
2539
  */
@@ -1834,7 +2541,7 @@ export type TableConfig = {
1834
2541
  /**
1835
2542
  * Message path to display
1836
2543
  */
1837
- topicPath: string;
2544
+ topicPath?: string;
1838
2545
  }
1839
2546
  /**
1840
2547
  * Settings for the slider
@@ -1857,6 +2564,8 @@ export type VariableSliderProps = {
1857
2564
  step?: number;
1858
2565
  }
1859
2566
  /**
2567
+ * Configuration for the Variable Slider panel.
2568
+ *
1860
2569
  * This interface was referenced by `Layout`'s JSON-Schema
1861
2570
  * via the `definition` "VariableSliderConfig".
1862
2571
  */
@@ -1864,10 +2573,12 @@ export type VariableSliderConfig = {
1864
2573
  /**
1865
2574
  * Name of variable
1866
2575
  */
1867
- globalVariableName: string;
1868
- sliderProps: VariableSliderProps;
2576
+ globalVariableName?: string;
2577
+ sliderProps?: VariableSliderProps;
1869
2578
  }
1870
2579
  /**
2580
+ * Configuration for the User Scripts panel.
2581
+ *
1871
2582
  * This interface was referenced by `Layout`'s JSON-Schema
1872
2583
  * via the `definition` "UserScriptsConfig".
1873
2584
  */