@neuracore/types 6.10.0 → 6.12.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/neuracore_types.d.ts +205 -29
- package/dist/neuracore_types.js +69 -11
- package/package.json +1 -1
|
@@ -188,12 +188,18 @@ export interface DataFormat {
|
|
|
188
188
|
distance_units?: DistanceUnitsConfig;
|
|
189
189
|
pose_type?: PoseConfig;
|
|
190
190
|
orientation?: OrientationConfig | null;
|
|
191
|
+
ee_pose_input_type?: EndEffectorPoseInputTypeConfig;
|
|
191
192
|
language_type?: LanguageConfig;
|
|
192
193
|
normalize?: NormalizeConfig | null;
|
|
193
194
|
invert_gripper_amount?: boolean;
|
|
194
|
-
|
|
195
|
-
|
|
195
|
+
visual_joint_input_type?: VisualJointInputTypeConfig;
|
|
196
|
+
joint_position_input_type?: JointPositionInputTypeConfig;
|
|
196
197
|
ik_init_config?: number[] | null;
|
|
198
|
+
action_type?: ActionTypeConfig;
|
|
199
|
+
action_space?: ActionSpaceConfig;
|
|
200
|
+
extrinsics_format?: PoseConfig1;
|
|
201
|
+
extrinsics_orientation?: OrientationConfig | null;
|
|
202
|
+
intrinsics_format?: IntrinsicsConfig;
|
|
197
203
|
[k: string]: unknown;
|
|
198
204
|
}
|
|
199
205
|
/**
|
|
@@ -310,9 +316,26 @@ export interface RobotConfig {
|
|
|
310
316
|
*/
|
|
311
317
|
export interface RGBCameraDataImportConfig {
|
|
312
318
|
source?: string;
|
|
313
|
-
mapping?:
|
|
319
|
+
mapping?: RGBCameraDataMappingItem[];
|
|
314
320
|
format?: DataFormat1;
|
|
315
321
|
}
|
|
322
|
+
/**
|
|
323
|
+
* Mapping item for RGB camera streams, with optional calibration sources.
|
|
324
|
+
*/
|
|
325
|
+
export interface RGBCameraDataMappingItem {
|
|
326
|
+
name: string;
|
|
327
|
+
source_name?: string | null;
|
|
328
|
+
index?: number | null;
|
|
329
|
+
index_range?: IndexRangeConfig | null;
|
|
330
|
+
offset?: number;
|
|
331
|
+
inverted?: boolean;
|
|
332
|
+
transforms?: DataTransformSequence;
|
|
333
|
+
extrinsics_source?: string | null;
|
|
334
|
+
intrinsics_source?: string | null;
|
|
335
|
+
extrinsics_transforms?: DataTransformSequence;
|
|
336
|
+
intrinsics_transforms?: DataTransformSequence;
|
|
337
|
+
[k: string]: unknown;
|
|
338
|
+
}
|
|
316
339
|
/**
|
|
317
340
|
* Per datatype format specifications.
|
|
318
341
|
*
|
|
@@ -328,12 +351,18 @@ export interface DataFormat1 {
|
|
|
328
351
|
distance_units?: DistanceUnitsConfig;
|
|
329
352
|
pose_type?: PoseConfig;
|
|
330
353
|
orientation?: OrientationConfig | null;
|
|
354
|
+
ee_pose_input_type?: EndEffectorPoseInputTypeConfig;
|
|
331
355
|
language_type?: LanguageConfig;
|
|
332
356
|
normalize?: NormalizeConfig | null;
|
|
333
357
|
invert_gripper_amount?: boolean;
|
|
334
|
-
|
|
335
|
-
|
|
358
|
+
visual_joint_input_type?: VisualJointInputTypeConfig;
|
|
359
|
+
joint_position_input_type?: JointPositionInputTypeConfig;
|
|
336
360
|
ik_init_config?: number[] | null;
|
|
361
|
+
action_type?: ActionTypeConfig;
|
|
362
|
+
action_space?: ActionSpaceConfig;
|
|
363
|
+
extrinsics_format?: PoseConfig1;
|
|
364
|
+
extrinsics_orientation?: OrientationConfig | null;
|
|
365
|
+
intrinsics_format?: IntrinsicsConfig;
|
|
337
366
|
[k: string]: unknown;
|
|
338
367
|
}
|
|
339
368
|
/**
|
|
@@ -341,9 +370,26 @@ export interface DataFormat1 {
|
|
|
341
370
|
*/
|
|
342
371
|
export interface DepthCameraDataImportConfig {
|
|
343
372
|
source?: string;
|
|
344
|
-
mapping?:
|
|
373
|
+
mapping?: DepthCameraDataMappingItem[];
|
|
345
374
|
format?: DataFormat2;
|
|
346
375
|
}
|
|
376
|
+
/**
|
|
377
|
+
* Mapping item for depth camera streams, with optional calibration sources.
|
|
378
|
+
*/
|
|
379
|
+
export interface DepthCameraDataMappingItem {
|
|
380
|
+
name: string;
|
|
381
|
+
source_name?: string | null;
|
|
382
|
+
index?: number | null;
|
|
383
|
+
index_range?: IndexRangeConfig | null;
|
|
384
|
+
offset?: number;
|
|
385
|
+
inverted?: boolean;
|
|
386
|
+
transforms?: DataTransformSequence;
|
|
387
|
+
extrinsics_source?: string | null;
|
|
388
|
+
intrinsics_source?: string | null;
|
|
389
|
+
extrinsics_transforms?: DataTransformSequence;
|
|
390
|
+
intrinsics_transforms?: DataTransformSequence;
|
|
391
|
+
[k: string]: unknown;
|
|
392
|
+
}
|
|
347
393
|
/**
|
|
348
394
|
* Per datatype format specifications.
|
|
349
395
|
*
|
|
@@ -359,12 +405,18 @@ export interface DataFormat2 {
|
|
|
359
405
|
distance_units?: DistanceUnitsConfig;
|
|
360
406
|
pose_type?: PoseConfig;
|
|
361
407
|
orientation?: OrientationConfig | null;
|
|
408
|
+
ee_pose_input_type?: EndEffectorPoseInputTypeConfig;
|
|
362
409
|
language_type?: LanguageConfig;
|
|
363
410
|
normalize?: NormalizeConfig | null;
|
|
364
411
|
invert_gripper_amount?: boolean;
|
|
365
|
-
|
|
366
|
-
|
|
412
|
+
visual_joint_input_type?: VisualJointInputTypeConfig;
|
|
413
|
+
joint_position_input_type?: JointPositionInputTypeConfig;
|
|
367
414
|
ik_init_config?: number[] | null;
|
|
415
|
+
action_type?: ActionTypeConfig;
|
|
416
|
+
action_space?: ActionSpaceConfig;
|
|
417
|
+
extrinsics_format?: PoseConfig1;
|
|
418
|
+
extrinsics_orientation?: OrientationConfig | null;
|
|
419
|
+
intrinsics_format?: IntrinsicsConfig;
|
|
368
420
|
[k: string]: unknown;
|
|
369
421
|
}
|
|
370
422
|
/**
|
|
@@ -372,9 +424,26 @@ export interface DataFormat2 {
|
|
|
372
424
|
*/
|
|
373
425
|
export interface PointCloudDataImportConfig {
|
|
374
426
|
source?: string;
|
|
375
|
-
mapping?:
|
|
427
|
+
mapping?: PointCloudDataMappingItem[];
|
|
376
428
|
format?: DataFormat3;
|
|
377
429
|
}
|
|
430
|
+
/**
|
|
431
|
+
* Mapping item for point cloud streams, with optional calibration sources.
|
|
432
|
+
*/
|
|
433
|
+
export interface PointCloudDataMappingItem {
|
|
434
|
+
name: string;
|
|
435
|
+
source_name?: string | null;
|
|
436
|
+
index?: number | null;
|
|
437
|
+
index_range?: IndexRangeConfig | null;
|
|
438
|
+
offset?: number;
|
|
439
|
+
inverted?: boolean;
|
|
440
|
+
transforms?: DataTransformSequence;
|
|
441
|
+
extrinsics_source?: string | null;
|
|
442
|
+
intrinsics_source?: string | null;
|
|
443
|
+
extrinsics_transforms?: DataTransformSequence;
|
|
444
|
+
intrinsics_transforms?: DataTransformSequence;
|
|
445
|
+
[k: string]: unknown;
|
|
446
|
+
}
|
|
378
447
|
/**
|
|
379
448
|
* Per datatype format specifications.
|
|
380
449
|
*
|
|
@@ -390,12 +459,18 @@ export interface DataFormat3 {
|
|
|
390
459
|
distance_units?: DistanceUnitsConfig;
|
|
391
460
|
pose_type?: PoseConfig;
|
|
392
461
|
orientation?: OrientationConfig | null;
|
|
462
|
+
ee_pose_input_type?: EndEffectorPoseInputTypeConfig;
|
|
393
463
|
language_type?: LanguageConfig;
|
|
394
464
|
normalize?: NormalizeConfig | null;
|
|
395
465
|
invert_gripper_amount?: boolean;
|
|
396
|
-
|
|
397
|
-
|
|
466
|
+
visual_joint_input_type?: VisualJointInputTypeConfig;
|
|
467
|
+
joint_position_input_type?: JointPositionInputTypeConfig;
|
|
398
468
|
ik_init_config?: number[] | null;
|
|
469
|
+
action_type?: ActionTypeConfig;
|
|
470
|
+
action_space?: ActionSpaceConfig;
|
|
471
|
+
extrinsics_format?: PoseConfig1;
|
|
472
|
+
extrinsics_orientation?: OrientationConfig | null;
|
|
473
|
+
intrinsics_format?: IntrinsicsConfig;
|
|
399
474
|
[k: string]: unknown;
|
|
400
475
|
}
|
|
401
476
|
/**
|
|
@@ -421,12 +496,18 @@ export interface DataFormat4 {
|
|
|
421
496
|
distance_units?: DistanceUnitsConfig;
|
|
422
497
|
pose_type?: PoseConfig;
|
|
423
498
|
orientation?: OrientationConfig | null;
|
|
499
|
+
ee_pose_input_type?: EndEffectorPoseInputTypeConfig;
|
|
424
500
|
language_type?: LanguageConfig;
|
|
425
501
|
normalize?: NormalizeConfig | null;
|
|
426
502
|
invert_gripper_amount?: boolean;
|
|
427
|
-
|
|
428
|
-
|
|
503
|
+
visual_joint_input_type?: VisualJointInputTypeConfig;
|
|
504
|
+
joint_position_input_type?: JointPositionInputTypeConfig;
|
|
429
505
|
ik_init_config?: number[] | null;
|
|
506
|
+
action_type?: ActionTypeConfig;
|
|
507
|
+
action_space?: ActionSpaceConfig;
|
|
508
|
+
extrinsics_format?: PoseConfig1;
|
|
509
|
+
extrinsics_orientation?: OrientationConfig | null;
|
|
510
|
+
intrinsics_format?: IntrinsicsConfig;
|
|
430
511
|
[k: string]: unknown;
|
|
431
512
|
}
|
|
432
513
|
/**
|
|
@@ -452,12 +533,18 @@ export interface DataFormat5 {
|
|
|
452
533
|
distance_units?: DistanceUnitsConfig;
|
|
453
534
|
pose_type?: PoseConfig;
|
|
454
535
|
orientation?: OrientationConfig | null;
|
|
536
|
+
ee_pose_input_type?: EndEffectorPoseInputTypeConfig;
|
|
455
537
|
language_type?: LanguageConfig;
|
|
456
538
|
normalize?: NormalizeConfig | null;
|
|
457
539
|
invert_gripper_amount?: boolean;
|
|
458
|
-
|
|
459
|
-
|
|
540
|
+
visual_joint_input_type?: VisualJointInputTypeConfig;
|
|
541
|
+
joint_position_input_type?: JointPositionInputTypeConfig;
|
|
460
542
|
ik_init_config?: number[] | null;
|
|
543
|
+
action_type?: ActionTypeConfig;
|
|
544
|
+
action_space?: ActionSpaceConfig;
|
|
545
|
+
extrinsics_format?: PoseConfig1;
|
|
546
|
+
extrinsics_orientation?: OrientationConfig | null;
|
|
547
|
+
intrinsics_format?: IntrinsicsConfig;
|
|
461
548
|
[k: string]: unknown;
|
|
462
549
|
}
|
|
463
550
|
/**
|
|
@@ -483,12 +570,18 @@ export interface DataFormat6 {
|
|
|
483
570
|
distance_units?: DistanceUnitsConfig;
|
|
484
571
|
pose_type?: PoseConfig;
|
|
485
572
|
orientation?: OrientationConfig | null;
|
|
573
|
+
ee_pose_input_type?: EndEffectorPoseInputTypeConfig;
|
|
486
574
|
language_type?: LanguageConfig;
|
|
487
575
|
normalize?: NormalizeConfig | null;
|
|
488
576
|
invert_gripper_amount?: boolean;
|
|
489
|
-
|
|
490
|
-
|
|
577
|
+
visual_joint_input_type?: VisualJointInputTypeConfig;
|
|
578
|
+
joint_position_input_type?: JointPositionInputTypeConfig;
|
|
491
579
|
ik_init_config?: number[] | null;
|
|
580
|
+
action_type?: ActionTypeConfig;
|
|
581
|
+
action_space?: ActionSpaceConfig;
|
|
582
|
+
extrinsics_format?: PoseConfig1;
|
|
583
|
+
extrinsics_orientation?: OrientationConfig | null;
|
|
584
|
+
intrinsics_format?: IntrinsicsConfig;
|
|
492
585
|
[k: string]: unknown;
|
|
493
586
|
}
|
|
494
587
|
/**
|
|
@@ -514,12 +607,18 @@ export interface DataFormat7 {
|
|
|
514
607
|
distance_units?: DistanceUnitsConfig;
|
|
515
608
|
pose_type?: PoseConfig;
|
|
516
609
|
orientation?: OrientationConfig | null;
|
|
610
|
+
ee_pose_input_type?: EndEffectorPoseInputTypeConfig;
|
|
517
611
|
language_type?: LanguageConfig;
|
|
518
612
|
normalize?: NormalizeConfig | null;
|
|
519
613
|
invert_gripper_amount?: boolean;
|
|
520
|
-
|
|
521
|
-
|
|
614
|
+
visual_joint_input_type?: VisualJointInputTypeConfig;
|
|
615
|
+
joint_position_input_type?: JointPositionInputTypeConfig;
|
|
522
616
|
ik_init_config?: number[] | null;
|
|
617
|
+
action_type?: ActionTypeConfig;
|
|
618
|
+
action_space?: ActionSpaceConfig;
|
|
619
|
+
extrinsics_format?: PoseConfig1;
|
|
620
|
+
extrinsics_orientation?: OrientationConfig | null;
|
|
621
|
+
intrinsics_format?: IntrinsicsConfig;
|
|
523
622
|
[k: string]: unknown;
|
|
524
623
|
}
|
|
525
624
|
/**
|
|
@@ -545,12 +644,18 @@ export interface DataFormat8 {
|
|
|
545
644
|
distance_units?: DistanceUnitsConfig;
|
|
546
645
|
pose_type?: PoseConfig;
|
|
547
646
|
orientation?: OrientationConfig | null;
|
|
647
|
+
ee_pose_input_type?: EndEffectorPoseInputTypeConfig;
|
|
548
648
|
language_type?: LanguageConfig;
|
|
549
649
|
normalize?: NormalizeConfig | null;
|
|
550
650
|
invert_gripper_amount?: boolean;
|
|
551
|
-
|
|
552
|
-
|
|
651
|
+
visual_joint_input_type?: VisualJointInputTypeConfig;
|
|
652
|
+
joint_position_input_type?: JointPositionInputTypeConfig;
|
|
553
653
|
ik_init_config?: number[] | null;
|
|
654
|
+
action_type?: ActionTypeConfig;
|
|
655
|
+
action_space?: ActionSpaceConfig;
|
|
656
|
+
extrinsics_format?: PoseConfig1;
|
|
657
|
+
extrinsics_orientation?: OrientationConfig | null;
|
|
658
|
+
intrinsics_format?: IntrinsicsConfig;
|
|
554
659
|
[k: string]: unknown;
|
|
555
660
|
}
|
|
556
661
|
/**
|
|
@@ -576,12 +681,18 @@ export interface DataFormat9 {
|
|
|
576
681
|
distance_units?: DistanceUnitsConfig;
|
|
577
682
|
pose_type?: PoseConfig;
|
|
578
683
|
orientation?: OrientationConfig | null;
|
|
684
|
+
ee_pose_input_type?: EndEffectorPoseInputTypeConfig;
|
|
579
685
|
language_type?: LanguageConfig;
|
|
580
686
|
normalize?: NormalizeConfig | null;
|
|
581
687
|
invert_gripper_amount?: boolean;
|
|
582
|
-
|
|
583
|
-
|
|
688
|
+
visual_joint_input_type?: VisualJointInputTypeConfig;
|
|
689
|
+
joint_position_input_type?: JointPositionInputTypeConfig;
|
|
584
690
|
ik_init_config?: number[] | null;
|
|
691
|
+
action_type?: ActionTypeConfig;
|
|
692
|
+
action_space?: ActionSpaceConfig;
|
|
693
|
+
extrinsics_format?: PoseConfig1;
|
|
694
|
+
extrinsics_orientation?: OrientationConfig | null;
|
|
695
|
+
intrinsics_format?: IntrinsicsConfig;
|
|
585
696
|
[k: string]: unknown;
|
|
586
697
|
}
|
|
587
698
|
/**
|
|
@@ -607,12 +718,18 @@ export interface DataFormat10 {
|
|
|
607
718
|
distance_units?: DistanceUnitsConfig;
|
|
608
719
|
pose_type?: PoseConfig;
|
|
609
720
|
orientation?: OrientationConfig | null;
|
|
721
|
+
ee_pose_input_type?: EndEffectorPoseInputTypeConfig;
|
|
610
722
|
language_type?: LanguageConfig;
|
|
611
723
|
normalize?: NormalizeConfig | null;
|
|
612
724
|
invert_gripper_amount?: boolean;
|
|
613
|
-
|
|
614
|
-
|
|
725
|
+
visual_joint_input_type?: VisualJointInputTypeConfig;
|
|
726
|
+
joint_position_input_type?: JointPositionInputTypeConfig;
|
|
615
727
|
ik_init_config?: number[] | null;
|
|
728
|
+
action_type?: ActionTypeConfig;
|
|
729
|
+
action_space?: ActionSpaceConfig;
|
|
730
|
+
extrinsics_format?: PoseConfig1;
|
|
731
|
+
extrinsics_orientation?: OrientationConfig | null;
|
|
732
|
+
intrinsics_format?: IntrinsicsConfig;
|
|
616
733
|
[k: string]: unknown;
|
|
617
734
|
}
|
|
618
735
|
/**
|
|
@@ -972,12 +1089,18 @@ export interface DataFormat11 {
|
|
|
972
1089
|
distance_units?: DistanceUnitsConfig;
|
|
973
1090
|
pose_type?: PoseConfig;
|
|
974
1091
|
orientation?: OrientationConfig | null;
|
|
1092
|
+
ee_pose_input_type?: EndEffectorPoseInputTypeConfig;
|
|
975
1093
|
language_type?: LanguageConfig;
|
|
976
1094
|
normalize?: NormalizeConfig | null;
|
|
977
1095
|
invert_gripper_amount?: boolean;
|
|
978
|
-
|
|
979
|
-
|
|
1096
|
+
visual_joint_input_type?: VisualJointInputTypeConfig;
|
|
1097
|
+
joint_position_input_type?: JointPositionInputTypeConfig;
|
|
980
1098
|
ik_init_config?: number[] | null;
|
|
1099
|
+
action_type?: ActionTypeConfig;
|
|
1100
|
+
action_space?: ActionSpaceConfig;
|
|
1101
|
+
extrinsics_format?: PoseConfig1;
|
|
1102
|
+
extrinsics_orientation?: OrientationConfig | null;
|
|
1103
|
+
intrinsics_format?: IntrinsicsConfig;
|
|
981
1104
|
[k: string]: unknown;
|
|
982
1105
|
}
|
|
983
1106
|
/**
|
|
@@ -1540,6 +1663,17 @@ export declare enum AngleConfig1 {
|
|
|
1540
1663
|
DEGREES = "DEGREES",
|
|
1541
1664
|
RADIANS = "RADIANS"
|
|
1542
1665
|
}
|
|
1666
|
+
/**
|
|
1667
|
+
* Types of end effector poses.
|
|
1668
|
+
*
|
|
1669
|
+
* JOINT_POSITIONS: Extract end effector pose from the joint positions using
|
|
1670
|
+
* Forward Kinematics.
|
|
1671
|
+
* CUSTOM: Directly use the specified end effector pose from the source.
|
|
1672
|
+
*/
|
|
1673
|
+
export declare enum EndEffectorPoseInputTypeConfig {
|
|
1674
|
+
JOINT_POSITIONS = "JOINT_POSITIONS",
|
|
1675
|
+
CUSTOM = "CUSTOM"
|
|
1676
|
+
}
|
|
1543
1677
|
/**
|
|
1544
1678
|
* Types of languages.
|
|
1545
1679
|
*/
|
|
@@ -1549,18 +1683,60 @@ export declare enum LanguageConfig {
|
|
|
1549
1683
|
}
|
|
1550
1684
|
/**
|
|
1551
1685
|
* Types of visual joint positions.
|
|
1686
|
+
*
|
|
1687
|
+
* GRIPPER: Extract gripper joint positions from the gripper open amount.
|
|
1688
|
+
* CUSTOM: Directly use the specified joint positions from the source.
|
|
1552
1689
|
*/
|
|
1553
|
-
export declare enum
|
|
1690
|
+
export declare enum VisualJointInputTypeConfig {
|
|
1554
1691
|
GRIPPER = "GRIPPER",
|
|
1555
1692
|
CUSTOM = "CUSTOM"
|
|
1556
1693
|
}
|
|
1557
1694
|
/**
|
|
1558
1695
|
* Types of joint positions.
|
|
1696
|
+
*
|
|
1697
|
+
* END_EFFECTOR: Extract joint positions from the end effector pose using
|
|
1698
|
+
* Inverse Kinematics.
|
|
1699
|
+
* CUSTOM: Directly use the specified joint positions from the source.
|
|
1559
1700
|
*/
|
|
1560
|
-
export declare enum
|
|
1701
|
+
export declare enum JointPositionInputTypeConfig {
|
|
1561
1702
|
END_EFFECTOR = "END_EFFECTOR",
|
|
1562
1703
|
CUSTOM = "CUSTOM"
|
|
1563
1704
|
}
|
|
1705
|
+
/**
|
|
1706
|
+
* Action type configuration.
|
|
1707
|
+
*
|
|
1708
|
+
* Specifies whether actions are absolute or relative to the current state.
|
|
1709
|
+
*/
|
|
1710
|
+
export declare enum ActionTypeConfig {
|
|
1711
|
+
ABSOLUTE = "ABSOLUTE",
|
|
1712
|
+
RELATIVE = "RELATIVE"
|
|
1713
|
+
}
|
|
1714
|
+
/**
|
|
1715
|
+
* Action space configuration.
|
|
1716
|
+
*
|
|
1717
|
+
* Specifies whether actions are in joint space or end effector space.
|
|
1718
|
+
*/
|
|
1719
|
+
export declare enum ActionSpaceConfig {
|
|
1720
|
+
END_EFFECTOR = "END_EFFECTOR",
|
|
1721
|
+
JOINT = "JOINT"
|
|
1722
|
+
}
|
|
1723
|
+
/**
|
|
1724
|
+
* Types of poses.
|
|
1725
|
+
*/
|
|
1726
|
+
export declare enum PoseConfig1 {
|
|
1727
|
+
MATRIX = "MATRIX",
|
|
1728
|
+
POSITION_ORIENTATION = "POSITION_ORIENTATION"
|
|
1729
|
+
}
|
|
1730
|
+
/**
|
|
1731
|
+
* Format of camera intrinsics data in the source dataset.
|
|
1732
|
+
*
|
|
1733
|
+
* MATRIX: 3x3 camera intrinsics matrix.
|
|
1734
|
+
* FLAT: Flat array of [fx, fy, cx, cy].
|
|
1735
|
+
*/
|
|
1736
|
+
export declare enum IntrinsicsConfig {
|
|
1737
|
+
MATRIX = "MATRIX",
|
|
1738
|
+
FLAT = "FLAT"
|
|
1739
|
+
}
|
|
1564
1740
|
export declare enum Type2 {
|
|
1565
1741
|
Custom1DDataStats = "Custom1DDataStats"
|
|
1566
1742
|
}
|
package/dist/neuracore_types.js
CHANGED
|
@@ -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.
|
|
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.ActionSpaceConfig = exports.ActionTypeConfig = exports.JointPositionInputTypeConfig = exports.VisualJointInputTypeConfig = exports.LanguageConfig = exports.EndEffectorPoseInputTypeConfig = 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
|
*
|
|
@@ -124,6 +124,18 @@ var AngleConfig1;
|
|
|
124
124
|
AngleConfig1["DEGREES"] = "DEGREES";
|
|
125
125
|
AngleConfig1["RADIANS"] = "RADIANS";
|
|
126
126
|
})(AngleConfig1 || (exports.AngleConfig1 = AngleConfig1 = {}));
|
|
127
|
+
/**
|
|
128
|
+
* Types of end effector poses.
|
|
129
|
+
*
|
|
130
|
+
* JOINT_POSITIONS: Extract end effector pose from the joint positions using
|
|
131
|
+
* Forward Kinematics.
|
|
132
|
+
* CUSTOM: Directly use the specified end effector pose from the source.
|
|
133
|
+
*/
|
|
134
|
+
var EndEffectorPoseInputTypeConfig;
|
|
135
|
+
(function (EndEffectorPoseInputTypeConfig) {
|
|
136
|
+
EndEffectorPoseInputTypeConfig["JOINT_POSITIONS"] = "JOINT_POSITIONS";
|
|
137
|
+
EndEffectorPoseInputTypeConfig["CUSTOM"] = "CUSTOM";
|
|
138
|
+
})(EndEffectorPoseInputTypeConfig || (exports.EndEffectorPoseInputTypeConfig = EndEffectorPoseInputTypeConfig = {}));
|
|
127
139
|
/**
|
|
128
140
|
* Types of languages.
|
|
129
141
|
*/
|
|
@@ -134,20 +146,66 @@ var LanguageConfig;
|
|
|
134
146
|
})(LanguageConfig || (exports.LanguageConfig = LanguageConfig = {}));
|
|
135
147
|
/**
|
|
136
148
|
* Types of visual joint positions.
|
|
149
|
+
*
|
|
150
|
+
* GRIPPER: Extract gripper joint positions from the gripper open amount.
|
|
151
|
+
* CUSTOM: Directly use the specified joint positions from the source.
|
|
137
152
|
*/
|
|
138
|
-
var
|
|
139
|
-
(function (
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
})(
|
|
153
|
+
var VisualJointInputTypeConfig;
|
|
154
|
+
(function (VisualJointInputTypeConfig) {
|
|
155
|
+
VisualJointInputTypeConfig["GRIPPER"] = "GRIPPER";
|
|
156
|
+
VisualJointInputTypeConfig["CUSTOM"] = "CUSTOM";
|
|
157
|
+
})(VisualJointInputTypeConfig || (exports.VisualJointInputTypeConfig = VisualJointInputTypeConfig = {}));
|
|
143
158
|
/**
|
|
144
159
|
* Types of joint positions.
|
|
160
|
+
*
|
|
161
|
+
* END_EFFECTOR: Extract joint positions from the end effector pose using
|
|
162
|
+
* Inverse Kinematics.
|
|
163
|
+
* CUSTOM: Directly use the specified joint positions from the source.
|
|
164
|
+
*/
|
|
165
|
+
var JointPositionInputTypeConfig;
|
|
166
|
+
(function (JointPositionInputTypeConfig) {
|
|
167
|
+
JointPositionInputTypeConfig["END_EFFECTOR"] = "END_EFFECTOR";
|
|
168
|
+
JointPositionInputTypeConfig["CUSTOM"] = "CUSTOM";
|
|
169
|
+
})(JointPositionInputTypeConfig || (exports.JointPositionInputTypeConfig = JointPositionInputTypeConfig = {}));
|
|
170
|
+
/**
|
|
171
|
+
* Action type configuration.
|
|
172
|
+
*
|
|
173
|
+
* Specifies whether actions are absolute or relative to the current state.
|
|
174
|
+
*/
|
|
175
|
+
var ActionTypeConfig;
|
|
176
|
+
(function (ActionTypeConfig) {
|
|
177
|
+
ActionTypeConfig["ABSOLUTE"] = "ABSOLUTE";
|
|
178
|
+
ActionTypeConfig["RELATIVE"] = "RELATIVE";
|
|
179
|
+
})(ActionTypeConfig || (exports.ActionTypeConfig = ActionTypeConfig = {}));
|
|
180
|
+
/**
|
|
181
|
+
* Action space configuration.
|
|
182
|
+
*
|
|
183
|
+
* Specifies whether actions are in joint space or end effector space.
|
|
184
|
+
*/
|
|
185
|
+
var ActionSpaceConfig;
|
|
186
|
+
(function (ActionSpaceConfig) {
|
|
187
|
+
ActionSpaceConfig["END_EFFECTOR"] = "END_EFFECTOR";
|
|
188
|
+
ActionSpaceConfig["JOINT"] = "JOINT";
|
|
189
|
+
})(ActionSpaceConfig || (exports.ActionSpaceConfig = ActionSpaceConfig = {}));
|
|
190
|
+
/**
|
|
191
|
+
* Types of poses.
|
|
192
|
+
*/
|
|
193
|
+
var PoseConfig1;
|
|
194
|
+
(function (PoseConfig1) {
|
|
195
|
+
PoseConfig1["MATRIX"] = "MATRIX";
|
|
196
|
+
PoseConfig1["POSITION_ORIENTATION"] = "POSITION_ORIENTATION";
|
|
197
|
+
})(PoseConfig1 || (exports.PoseConfig1 = PoseConfig1 = {}));
|
|
198
|
+
/**
|
|
199
|
+
* Format of camera intrinsics data in the source dataset.
|
|
200
|
+
*
|
|
201
|
+
* MATRIX: 3x3 camera intrinsics matrix.
|
|
202
|
+
* FLAT: Flat array of [fx, fy, cx, cy].
|
|
145
203
|
*/
|
|
146
|
-
var
|
|
147
|
-
(function (
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
})(
|
|
204
|
+
var IntrinsicsConfig;
|
|
205
|
+
(function (IntrinsicsConfig) {
|
|
206
|
+
IntrinsicsConfig["MATRIX"] = "MATRIX";
|
|
207
|
+
IntrinsicsConfig["FLAT"] = "FLAT";
|
|
208
|
+
})(IntrinsicsConfig || (exports.IntrinsicsConfig = IntrinsicsConfig = {}));
|
|
151
209
|
var Type2;
|
|
152
210
|
(function (Type2) {
|
|
153
211
|
Type2["Custom1DDataStats"] = "Custom1DDataStats";
|