@neuracore/types 6.10.0 → 6.11.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.
@@ -194,6 +194,9 @@ export interface DataFormat {
194
194
  visual_joint_type?: VisualJointTypeConfig;
195
195
  joint_position_type?: JointPositionTypeConfig;
196
196
  ik_init_config?: number[] | null;
197
+ extrinsics_format?: PoseConfig1;
198
+ extrinsics_orientation?: OrientationConfig | null;
199
+ intrinsics_format?: IntrinsicsConfig;
197
200
  [k: string]: unknown;
198
201
  }
199
202
  /**
@@ -310,9 +313,26 @@ export interface RobotConfig {
310
313
  */
311
314
  export interface RGBCameraDataImportConfig {
312
315
  source?: string;
313
- mapping?: MappingItem[];
316
+ mapping?: RGBCameraDataMappingItem[];
314
317
  format?: DataFormat1;
315
318
  }
319
+ /**
320
+ * Mapping item for RGB camera streams, with optional calibration sources.
321
+ */
322
+ export interface RGBCameraDataMappingItem {
323
+ name: string;
324
+ source_name?: string | null;
325
+ index?: number | null;
326
+ index_range?: IndexRangeConfig | null;
327
+ offset?: number;
328
+ inverted?: boolean;
329
+ transforms?: DataTransformSequence;
330
+ extrinsics_source?: string | null;
331
+ intrinsics_source?: string | null;
332
+ extrinsics_transforms?: DataTransformSequence;
333
+ intrinsics_transforms?: DataTransformSequence;
334
+ [k: string]: unknown;
335
+ }
316
336
  /**
317
337
  * Per datatype format specifications.
318
338
  *
@@ -334,6 +354,9 @@ export interface DataFormat1 {
334
354
  visual_joint_type?: VisualJointTypeConfig;
335
355
  joint_position_type?: JointPositionTypeConfig;
336
356
  ik_init_config?: number[] | null;
357
+ extrinsics_format?: PoseConfig1;
358
+ extrinsics_orientation?: OrientationConfig | null;
359
+ intrinsics_format?: IntrinsicsConfig;
337
360
  [k: string]: unknown;
338
361
  }
339
362
  /**
@@ -341,9 +364,26 @@ export interface DataFormat1 {
341
364
  */
342
365
  export interface DepthCameraDataImportConfig {
343
366
  source?: string;
344
- mapping?: MappingItem[];
367
+ mapping?: DepthCameraDataMappingItem[];
345
368
  format?: DataFormat2;
346
369
  }
370
+ /**
371
+ * Mapping item for depth camera streams, with optional calibration sources.
372
+ */
373
+ export interface DepthCameraDataMappingItem {
374
+ name: string;
375
+ source_name?: string | null;
376
+ index?: number | null;
377
+ index_range?: IndexRangeConfig | null;
378
+ offset?: number;
379
+ inverted?: boolean;
380
+ transforms?: DataTransformSequence;
381
+ extrinsics_source?: string | null;
382
+ intrinsics_source?: string | null;
383
+ extrinsics_transforms?: DataTransformSequence;
384
+ intrinsics_transforms?: DataTransformSequence;
385
+ [k: string]: unknown;
386
+ }
347
387
  /**
348
388
  * Per datatype format specifications.
349
389
  *
@@ -365,6 +405,9 @@ export interface DataFormat2 {
365
405
  visual_joint_type?: VisualJointTypeConfig;
366
406
  joint_position_type?: JointPositionTypeConfig;
367
407
  ik_init_config?: number[] | null;
408
+ extrinsics_format?: PoseConfig1;
409
+ extrinsics_orientation?: OrientationConfig | null;
410
+ intrinsics_format?: IntrinsicsConfig;
368
411
  [k: string]: unknown;
369
412
  }
370
413
  /**
@@ -372,9 +415,26 @@ export interface DataFormat2 {
372
415
  */
373
416
  export interface PointCloudDataImportConfig {
374
417
  source?: string;
375
- mapping?: MappingItem[];
418
+ mapping?: PointCloudDataMappingItem[];
376
419
  format?: DataFormat3;
377
420
  }
421
+ /**
422
+ * Mapping item for point cloud streams, with optional calibration sources.
423
+ */
424
+ export interface PointCloudDataMappingItem {
425
+ name: string;
426
+ source_name?: string | null;
427
+ index?: number | null;
428
+ index_range?: IndexRangeConfig | null;
429
+ offset?: number;
430
+ inverted?: boolean;
431
+ transforms?: DataTransformSequence;
432
+ extrinsics_source?: string | null;
433
+ intrinsics_source?: string | null;
434
+ extrinsics_transforms?: DataTransformSequence;
435
+ intrinsics_transforms?: DataTransformSequence;
436
+ [k: string]: unknown;
437
+ }
378
438
  /**
379
439
  * Per datatype format specifications.
380
440
  *
@@ -396,6 +456,9 @@ export interface DataFormat3 {
396
456
  visual_joint_type?: VisualJointTypeConfig;
397
457
  joint_position_type?: JointPositionTypeConfig;
398
458
  ik_init_config?: number[] | null;
459
+ extrinsics_format?: PoseConfig1;
460
+ extrinsics_orientation?: OrientationConfig | null;
461
+ intrinsics_format?: IntrinsicsConfig;
399
462
  [k: string]: unknown;
400
463
  }
401
464
  /**
@@ -427,6 +490,9 @@ export interface DataFormat4 {
427
490
  visual_joint_type?: VisualJointTypeConfig;
428
491
  joint_position_type?: JointPositionTypeConfig;
429
492
  ik_init_config?: number[] | null;
493
+ extrinsics_format?: PoseConfig1;
494
+ extrinsics_orientation?: OrientationConfig | null;
495
+ intrinsics_format?: IntrinsicsConfig;
430
496
  [k: string]: unknown;
431
497
  }
432
498
  /**
@@ -458,6 +524,9 @@ export interface DataFormat5 {
458
524
  visual_joint_type?: VisualJointTypeConfig;
459
525
  joint_position_type?: JointPositionTypeConfig;
460
526
  ik_init_config?: number[] | null;
527
+ extrinsics_format?: PoseConfig1;
528
+ extrinsics_orientation?: OrientationConfig | null;
529
+ intrinsics_format?: IntrinsicsConfig;
461
530
  [k: string]: unknown;
462
531
  }
463
532
  /**
@@ -489,6 +558,9 @@ export interface DataFormat6 {
489
558
  visual_joint_type?: VisualJointTypeConfig;
490
559
  joint_position_type?: JointPositionTypeConfig;
491
560
  ik_init_config?: number[] | null;
561
+ extrinsics_format?: PoseConfig1;
562
+ extrinsics_orientation?: OrientationConfig | null;
563
+ intrinsics_format?: IntrinsicsConfig;
492
564
  [k: string]: unknown;
493
565
  }
494
566
  /**
@@ -520,6 +592,9 @@ export interface DataFormat7 {
520
592
  visual_joint_type?: VisualJointTypeConfig;
521
593
  joint_position_type?: JointPositionTypeConfig;
522
594
  ik_init_config?: number[] | null;
595
+ extrinsics_format?: PoseConfig1;
596
+ extrinsics_orientation?: OrientationConfig | null;
597
+ intrinsics_format?: IntrinsicsConfig;
523
598
  [k: string]: unknown;
524
599
  }
525
600
  /**
@@ -551,6 +626,9 @@ export interface DataFormat8 {
551
626
  visual_joint_type?: VisualJointTypeConfig;
552
627
  joint_position_type?: JointPositionTypeConfig;
553
628
  ik_init_config?: number[] | null;
629
+ extrinsics_format?: PoseConfig1;
630
+ extrinsics_orientation?: OrientationConfig | null;
631
+ intrinsics_format?: IntrinsicsConfig;
554
632
  [k: string]: unknown;
555
633
  }
556
634
  /**
@@ -582,6 +660,9 @@ export interface DataFormat9 {
582
660
  visual_joint_type?: VisualJointTypeConfig;
583
661
  joint_position_type?: JointPositionTypeConfig;
584
662
  ik_init_config?: number[] | null;
663
+ extrinsics_format?: PoseConfig1;
664
+ extrinsics_orientation?: OrientationConfig | null;
665
+ intrinsics_format?: IntrinsicsConfig;
585
666
  [k: string]: unknown;
586
667
  }
587
668
  /**
@@ -613,6 +694,9 @@ export interface DataFormat10 {
613
694
  visual_joint_type?: VisualJointTypeConfig;
614
695
  joint_position_type?: JointPositionTypeConfig;
615
696
  ik_init_config?: number[] | null;
697
+ extrinsics_format?: PoseConfig1;
698
+ extrinsics_orientation?: OrientationConfig | null;
699
+ intrinsics_format?: IntrinsicsConfig;
616
700
  [k: string]: unknown;
617
701
  }
618
702
  /**
@@ -978,6 +1062,9 @@ export interface DataFormat11 {
978
1062
  visual_joint_type?: VisualJointTypeConfig;
979
1063
  joint_position_type?: JointPositionTypeConfig;
980
1064
  ik_init_config?: number[] | null;
1065
+ extrinsics_format?: PoseConfig1;
1066
+ extrinsics_orientation?: OrientationConfig | null;
1067
+ intrinsics_format?: IntrinsicsConfig;
981
1068
  [k: string]: unknown;
982
1069
  }
983
1070
  /**
@@ -1561,6 +1648,23 @@ export declare enum JointPositionTypeConfig {
1561
1648
  END_EFFECTOR = "END_EFFECTOR",
1562
1649
  CUSTOM = "CUSTOM"
1563
1650
  }
1651
+ /**
1652
+ * Types of poses.
1653
+ */
1654
+ export declare enum PoseConfig1 {
1655
+ MATRIX = "MATRIX",
1656
+ POSITION_ORIENTATION = "POSITION_ORIENTATION"
1657
+ }
1658
+ /**
1659
+ * Format of camera intrinsics data in the source dataset.
1660
+ *
1661
+ * MATRIX: 3x3 camera intrinsics matrix.
1662
+ * FLAT: Flat array of [fx, fy, cx, cy].
1663
+ */
1664
+ export declare enum IntrinsicsConfig {
1665
+ MATRIX = "MATRIX",
1666
+ FLAT = "FLAT"
1667
+ }
1564
1668
  export declare enum Type2 {
1565
1669
  Custom1DDataStats = "Custom1DDataStats"
1566
1670
  }
@@ -6,7 +6,7 @@
6
6
  /* Do not modify it by hand - just update the pydantic models and then re-run the script
7
7
  */
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.GPUType2 = exports.TrainingJobStatus = exports.RecordingNotificationType = exports.RecordingDataTraceStatus = exports.Type16 = exports.Type15 = exports.Type14 = exports.RecordingUploadMethod = exports.PendingRecordingStatus = exports.RecordingStatus = exports.Type13 = exports.VideoFormat = exports.Type12 = exports.Type11 = exports.Type10 = exports.Type9 = exports.Type8 = exports.Type7 = exports.Type6 = exports.MessageType = exports.GPUType1 = exports.EndpointStatus = exports.Type5 = exports.Type4 = exports.Type3 = exports.GPUType = exports.DatasetTypeConfig = exports.Type2 = exports.JointPositionTypeConfig = exports.VisualJointTypeConfig = exports.LanguageConfig = exports.AngleConfig1 = exports.EulerOrderConfig = exports.QuaternionOrderConfig = exports.RotationConfig = exports.PoseConfig = exports.DistanceUnitsConfig = exports.TorqueUnitsConfig = exports.AngleConfig = exports.ImageChannelOrderConfig = exports.ImageConventionConfig = exports.Type1 = exports.Type = exports.DataType = void 0;
9
+ exports.GPUType2 = exports.TrainingJobStatus = exports.RecordingNotificationType = exports.RecordingDataTraceStatus = exports.Type16 = exports.Type15 = exports.Type14 = exports.RecordingUploadMethod = exports.PendingRecordingStatus = exports.RecordingStatus = exports.Type13 = exports.VideoFormat = exports.Type12 = exports.Type11 = exports.Type10 = exports.Type9 = exports.Type8 = exports.Type7 = exports.Type6 = exports.MessageType = exports.GPUType1 = exports.EndpointStatus = exports.Type5 = exports.Type4 = exports.Type3 = exports.GPUType = exports.DatasetTypeConfig = exports.Type2 = exports.IntrinsicsConfig = exports.PoseConfig1 = exports.JointPositionTypeConfig = exports.VisualJointTypeConfig = exports.LanguageConfig = exports.AngleConfig1 = exports.EulerOrderConfig = exports.QuaternionOrderConfig = exports.RotationConfig = exports.PoseConfig = exports.DistanceUnitsConfig = exports.TorqueUnitsConfig = exports.AngleConfig = exports.ImageChannelOrderConfig = exports.ImageConventionConfig = exports.Type1 = exports.Type = exports.DataType = void 0;
10
10
  /**
11
11
  * Enumeration of supported data types in the Neuracore system.
12
12
  *
@@ -148,6 +148,25 @@ var JointPositionTypeConfig;
148
148
  JointPositionTypeConfig["END_EFFECTOR"] = "END_EFFECTOR";
149
149
  JointPositionTypeConfig["CUSTOM"] = "CUSTOM";
150
150
  })(JointPositionTypeConfig || (exports.JointPositionTypeConfig = JointPositionTypeConfig = {}));
151
+ /**
152
+ * Types of poses.
153
+ */
154
+ var PoseConfig1;
155
+ (function (PoseConfig1) {
156
+ PoseConfig1["MATRIX"] = "MATRIX";
157
+ PoseConfig1["POSITION_ORIENTATION"] = "POSITION_ORIENTATION";
158
+ })(PoseConfig1 || (exports.PoseConfig1 = PoseConfig1 = {}));
159
+ /**
160
+ * Format of camera intrinsics data in the source dataset.
161
+ *
162
+ * MATRIX: 3x3 camera intrinsics matrix.
163
+ * FLAT: Flat array of [fx, fy, cx, cy].
164
+ */
165
+ var IntrinsicsConfig;
166
+ (function (IntrinsicsConfig) {
167
+ IntrinsicsConfig["MATRIX"] = "MATRIX";
168
+ IntrinsicsConfig["FLAT"] = "FLAT";
169
+ })(IntrinsicsConfig || (exports.IntrinsicsConfig = IntrinsicsConfig = {}));
151
170
  var Type2;
152
171
  (function (Type2) {
153
172
  Type2["Custom1DDataStats"] = "Custom1DDataStats";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neuracore/types",
3
- "version": "6.10.0",
3
+ "version": "6.11.0",
4
4
  "description": "Shared TypeScript type definitions for Neuracore robotics platform",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",