@neuracore/types 6.11.0 → 6.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -188,16 +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
- visual_joint_type?: VisualJointTypeConfig;
195
- joint_position_type?: JointPositionTypeConfig;
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;
197
200
  extrinsics_format?: PoseConfig1;
198
201
  extrinsics_orientation?: OrientationConfig | null;
199
202
  intrinsics_format?: IntrinsicsConfig;
200
- [k: string]: unknown;
201
203
  }
202
204
  /**
203
205
  * Configuration for orientation of poses.
@@ -348,16 +350,18 @@ export interface DataFormat1 {
348
350
  distance_units?: DistanceUnitsConfig;
349
351
  pose_type?: PoseConfig;
350
352
  orientation?: OrientationConfig | null;
353
+ ee_pose_input_type?: EndEffectorPoseInputTypeConfig;
351
354
  language_type?: LanguageConfig;
352
355
  normalize?: NormalizeConfig | null;
353
356
  invert_gripper_amount?: boolean;
354
- visual_joint_type?: VisualJointTypeConfig;
355
- joint_position_type?: JointPositionTypeConfig;
357
+ visual_joint_input_type?: VisualJointInputTypeConfig;
358
+ joint_position_input_type?: JointPositionInputTypeConfig;
356
359
  ik_init_config?: number[] | null;
360
+ action_type?: ActionTypeConfig;
361
+ action_space?: ActionSpaceConfig;
357
362
  extrinsics_format?: PoseConfig1;
358
363
  extrinsics_orientation?: OrientationConfig | null;
359
364
  intrinsics_format?: IntrinsicsConfig;
360
- [k: string]: unknown;
361
365
  }
362
366
  /**
363
367
  * Import configuration for DepthCameraData.
@@ -399,16 +403,18 @@ export interface DataFormat2 {
399
403
  distance_units?: DistanceUnitsConfig;
400
404
  pose_type?: PoseConfig;
401
405
  orientation?: OrientationConfig | null;
406
+ ee_pose_input_type?: EndEffectorPoseInputTypeConfig;
402
407
  language_type?: LanguageConfig;
403
408
  normalize?: NormalizeConfig | null;
404
409
  invert_gripper_amount?: boolean;
405
- visual_joint_type?: VisualJointTypeConfig;
406
- joint_position_type?: JointPositionTypeConfig;
410
+ visual_joint_input_type?: VisualJointInputTypeConfig;
411
+ joint_position_input_type?: JointPositionInputTypeConfig;
407
412
  ik_init_config?: number[] | null;
413
+ action_type?: ActionTypeConfig;
414
+ action_space?: ActionSpaceConfig;
408
415
  extrinsics_format?: PoseConfig1;
409
416
  extrinsics_orientation?: OrientationConfig | null;
410
417
  intrinsics_format?: IntrinsicsConfig;
411
- [k: string]: unknown;
412
418
  }
413
419
  /**
414
420
  * Import configuration for PointCloudData.
@@ -450,16 +456,18 @@ export interface DataFormat3 {
450
456
  distance_units?: DistanceUnitsConfig;
451
457
  pose_type?: PoseConfig;
452
458
  orientation?: OrientationConfig | null;
459
+ ee_pose_input_type?: EndEffectorPoseInputTypeConfig;
453
460
  language_type?: LanguageConfig;
454
461
  normalize?: NormalizeConfig | null;
455
462
  invert_gripper_amount?: boolean;
456
- visual_joint_type?: VisualJointTypeConfig;
457
- joint_position_type?: JointPositionTypeConfig;
463
+ visual_joint_input_type?: VisualJointInputTypeConfig;
464
+ joint_position_input_type?: JointPositionInputTypeConfig;
458
465
  ik_init_config?: number[] | null;
466
+ action_type?: ActionTypeConfig;
467
+ action_space?: ActionSpaceConfig;
459
468
  extrinsics_format?: PoseConfig1;
460
469
  extrinsics_orientation?: OrientationConfig | null;
461
470
  intrinsics_format?: IntrinsicsConfig;
462
- [k: string]: unknown;
463
471
  }
464
472
  /**
465
473
  * Import configuration for JointPositionsData.
@@ -484,16 +492,18 @@ export interface DataFormat4 {
484
492
  distance_units?: DistanceUnitsConfig;
485
493
  pose_type?: PoseConfig;
486
494
  orientation?: OrientationConfig | null;
495
+ ee_pose_input_type?: EndEffectorPoseInputTypeConfig;
487
496
  language_type?: LanguageConfig;
488
497
  normalize?: NormalizeConfig | null;
489
498
  invert_gripper_amount?: boolean;
490
- visual_joint_type?: VisualJointTypeConfig;
491
- joint_position_type?: JointPositionTypeConfig;
499
+ visual_joint_input_type?: VisualJointInputTypeConfig;
500
+ joint_position_input_type?: JointPositionInputTypeConfig;
492
501
  ik_init_config?: number[] | null;
502
+ action_type?: ActionTypeConfig;
503
+ action_space?: ActionSpaceConfig;
493
504
  extrinsics_format?: PoseConfig1;
494
505
  extrinsics_orientation?: OrientationConfig | null;
495
506
  intrinsics_format?: IntrinsicsConfig;
496
- [k: string]: unknown;
497
507
  }
498
508
  /**
499
509
  * Import configuration for JointVelocitiesData.
@@ -518,16 +528,18 @@ export interface DataFormat5 {
518
528
  distance_units?: DistanceUnitsConfig;
519
529
  pose_type?: PoseConfig;
520
530
  orientation?: OrientationConfig | null;
531
+ ee_pose_input_type?: EndEffectorPoseInputTypeConfig;
521
532
  language_type?: LanguageConfig;
522
533
  normalize?: NormalizeConfig | null;
523
534
  invert_gripper_amount?: boolean;
524
- visual_joint_type?: VisualJointTypeConfig;
525
- joint_position_type?: JointPositionTypeConfig;
535
+ visual_joint_input_type?: VisualJointInputTypeConfig;
536
+ joint_position_input_type?: JointPositionInputTypeConfig;
526
537
  ik_init_config?: number[] | null;
538
+ action_type?: ActionTypeConfig;
539
+ action_space?: ActionSpaceConfig;
527
540
  extrinsics_format?: PoseConfig1;
528
541
  extrinsics_orientation?: OrientationConfig | null;
529
542
  intrinsics_format?: IntrinsicsConfig;
530
- [k: string]: unknown;
531
543
  }
532
544
  /**
533
545
  * Import configuration for JointTorquesData.
@@ -552,16 +564,18 @@ export interface DataFormat6 {
552
564
  distance_units?: DistanceUnitsConfig;
553
565
  pose_type?: PoseConfig;
554
566
  orientation?: OrientationConfig | null;
567
+ ee_pose_input_type?: EndEffectorPoseInputTypeConfig;
555
568
  language_type?: LanguageConfig;
556
569
  normalize?: NormalizeConfig | null;
557
570
  invert_gripper_amount?: boolean;
558
- visual_joint_type?: VisualJointTypeConfig;
559
- joint_position_type?: JointPositionTypeConfig;
571
+ visual_joint_input_type?: VisualJointInputTypeConfig;
572
+ joint_position_input_type?: JointPositionInputTypeConfig;
560
573
  ik_init_config?: number[] | null;
574
+ action_type?: ActionTypeConfig;
575
+ action_space?: ActionSpaceConfig;
561
576
  extrinsics_format?: PoseConfig1;
562
577
  extrinsics_orientation?: OrientationConfig | null;
563
578
  intrinsics_format?: IntrinsicsConfig;
564
- [k: string]: unknown;
565
579
  }
566
580
  /**
567
581
  * Import configuration for VisualJointPositionsData.
@@ -586,16 +600,18 @@ export interface DataFormat7 {
586
600
  distance_units?: DistanceUnitsConfig;
587
601
  pose_type?: PoseConfig;
588
602
  orientation?: OrientationConfig | null;
603
+ ee_pose_input_type?: EndEffectorPoseInputTypeConfig;
589
604
  language_type?: LanguageConfig;
590
605
  normalize?: NormalizeConfig | null;
591
606
  invert_gripper_amount?: boolean;
592
- visual_joint_type?: VisualJointTypeConfig;
593
- joint_position_type?: JointPositionTypeConfig;
607
+ visual_joint_input_type?: VisualJointInputTypeConfig;
608
+ joint_position_input_type?: JointPositionInputTypeConfig;
594
609
  ik_init_config?: number[] | null;
610
+ action_type?: ActionTypeConfig;
611
+ action_space?: ActionSpaceConfig;
595
612
  extrinsics_format?: PoseConfig1;
596
613
  extrinsics_orientation?: OrientationConfig | null;
597
614
  intrinsics_format?: IntrinsicsConfig;
598
- [k: string]: unknown;
599
615
  }
600
616
  /**
601
617
  * Import configuration for PoseData.
@@ -620,16 +636,18 @@ export interface DataFormat8 {
620
636
  distance_units?: DistanceUnitsConfig;
621
637
  pose_type?: PoseConfig;
622
638
  orientation?: OrientationConfig | null;
639
+ ee_pose_input_type?: EndEffectorPoseInputTypeConfig;
623
640
  language_type?: LanguageConfig;
624
641
  normalize?: NormalizeConfig | null;
625
642
  invert_gripper_amount?: boolean;
626
- visual_joint_type?: VisualJointTypeConfig;
627
- joint_position_type?: JointPositionTypeConfig;
643
+ visual_joint_input_type?: VisualJointInputTypeConfig;
644
+ joint_position_input_type?: JointPositionInputTypeConfig;
628
645
  ik_init_config?: number[] | null;
646
+ action_type?: ActionTypeConfig;
647
+ action_space?: ActionSpaceConfig;
629
648
  extrinsics_format?: PoseConfig1;
630
649
  extrinsics_orientation?: OrientationConfig | null;
631
650
  intrinsics_format?: IntrinsicsConfig;
632
- [k: string]: unknown;
633
651
  }
634
652
  /**
635
653
  * Import configuration for ParallelGripperOpenAmountData.
@@ -654,16 +672,18 @@ export interface DataFormat9 {
654
672
  distance_units?: DistanceUnitsConfig;
655
673
  pose_type?: PoseConfig;
656
674
  orientation?: OrientationConfig | null;
675
+ ee_pose_input_type?: EndEffectorPoseInputTypeConfig;
657
676
  language_type?: LanguageConfig;
658
677
  normalize?: NormalizeConfig | null;
659
678
  invert_gripper_amount?: boolean;
660
- visual_joint_type?: VisualJointTypeConfig;
661
- joint_position_type?: JointPositionTypeConfig;
679
+ visual_joint_input_type?: VisualJointInputTypeConfig;
680
+ joint_position_input_type?: JointPositionInputTypeConfig;
662
681
  ik_init_config?: number[] | null;
682
+ action_type?: ActionTypeConfig;
683
+ action_space?: ActionSpaceConfig;
663
684
  extrinsics_format?: PoseConfig1;
664
685
  extrinsics_orientation?: OrientationConfig | null;
665
686
  intrinsics_format?: IntrinsicsConfig;
666
- [k: string]: unknown;
667
687
  }
668
688
  /**
669
689
  * Import configuration for LanguageData.
@@ -688,16 +708,18 @@ export interface DataFormat10 {
688
708
  distance_units?: DistanceUnitsConfig;
689
709
  pose_type?: PoseConfig;
690
710
  orientation?: OrientationConfig | null;
711
+ ee_pose_input_type?: EndEffectorPoseInputTypeConfig;
691
712
  language_type?: LanguageConfig;
692
713
  normalize?: NormalizeConfig | null;
693
714
  invert_gripper_amount?: boolean;
694
- visual_joint_type?: VisualJointTypeConfig;
695
- joint_position_type?: JointPositionTypeConfig;
715
+ visual_joint_input_type?: VisualJointInputTypeConfig;
716
+ joint_position_input_type?: JointPositionInputTypeConfig;
696
717
  ik_init_config?: number[] | null;
718
+ action_type?: ActionTypeConfig;
719
+ action_space?: ActionSpaceConfig;
697
720
  extrinsics_format?: PoseConfig1;
698
721
  extrinsics_orientation?: OrientationConfig | null;
699
722
  intrinsics_format?: IntrinsicsConfig;
700
- [k: string]: unknown;
701
723
  }
702
724
  /**
703
725
  * Request model for dataset updates.
@@ -1056,16 +1078,18 @@ export interface DataFormat11 {
1056
1078
  distance_units?: DistanceUnitsConfig;
1057
1079
  pose_type?: PoseConfig;
1058
1080
  orientation?: OrientationConfig | null;
1081
+ ee_pose_input_type?: EndEffectorPoseInputTypeConfig;
1059
1082
  language_type?: LanguageConfig;
1060
1083
  normalize?: NormalizeConfig | null;
1061
1084
  invert_gripper_amount?: boolean;
1062
- visual_joint_type?: VisualJointTypeConfig;
1063
- joint_position_type?: JointPositionTypeConfig;
1085
+ visual_joint_input_type?: VisualJointInputTypeConfig;
1086
+ joint_position_input_type?: JointPositionInputTypeConfig;
1064
1087
  ik_init_config?: number[] | null;
1088
+ action_type?: ActionTypeConfig;
1089
+ action_space?: ActionSpaceConfig;
1065
1090
  extrinsics_format?: PoseConfig1;
1066
1091
  extrinsics_orientation?: OrientationConfig | null;
1067
1092
  intrinsics_format?: IntrinsicsConfig;
1068
- [k: string]: unknown;
1069
1093
  }
1070
1094
  /**
1071
1095
  * Base class for statistics of Neuracore data types.
@@ -1627,6 +1651,17 @@ export declare enum AngleConfig1 {
1627
1651
  DEGREES = "DEGREES",
1628
1652
  RADIANS = "RADIANS"
1629
1653
  }
1654
+ /**
1655
+ * Types of end effector poses.
1656
+ *
1657
+ * JOINT_POSITIONS: Extract end effector pose from the joint positions using
1658
+ * Forward Kinematics.
1659
+ * CUSTOM: Directly use the specified end effector pose from the source.
1660
+ */
1661
+ export declare enum EndEffectorPoseInputTypeConfig {
1662
+ JOINT_POSITIONS = "JOINT_POSITIONS",
1663
+ CUSTOM = "CUSTOM"
1664
+ }
1630
1665
  /**
1631
1666
  * Types of languages.
1632
1667
  */
@@ -1636,18 +1671,43 @@ export declare enum LanguageConfig {
1636
1671
  }
1637
1672
  /**
1638
1673
  * Types of visual joint positions.
1674
+ *
1675
+ * GRIPPER: Extract gripper joint positions from the gripper open amount.
1676
+ * CUSTOM: Directly use the specified joint positions from the source.
1639
1677
  */
1640
- export declare enum VisualJointTypeConfig {
1678
+ export declare enum VisualJointInputTypeConfig {
1641
1679
  GRIPPER = "GRIPPER",
1642
1680
  CUSTOM = "CUSTOM"
1643
1681
  }
1644
1682
  /**
1645
1683
  * Types of joint positions.
1684
+ *
1685
+ * END_EFFECTOR: Extract joint positions from the end effector pose using
1686
+ * Inverse Kinematics.
1687
+ * CUSTOM: Directly use the specified joint positions from the source.
1646
1688
  */
1647
- export declare enum JointPositionTypeConfig {
1689
+ export declare enum JointPositionInputTypeConfig {
1648
1690
  END_EFFECTOR = "END_EFFECTOR",
1649
1691
  CUSTOM = "CUSTOM"
1650
1692
  }
1693
+ /**
1694
+ * Action type configuration.
1695
+ *
1696
+ * Specifies whether actions are absolute or relative to the current state.
1697
+ */
1698
+ export declare enum ActionTypeConfig {
1699
+ ABSOLUTE = "ABSOLUTE",
1700
+ RELATIVE = "RELATIVE"
1701
+ }
1702
+ /**
1703
+ * Action space configuration.
1704
+ *
1705
+ * Specifies whether actions are in joint space or end effector space.
1706
+ */
1707
+ export declare enum ActionSpaceConfig {
1708
+ END_EFFECTOR = "END_EFFECTOR",
1709
+ JOINT = "JOINT"
1710
+ }
1651
1711
  /**
1652
1712
  * Types of poses.
1653
1713
  */
@@ -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.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;
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,47 @@ 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 VisualJointTypeConfig;
139
- (function (VisualJointTypeConfig) {
140
- VisualJointTypeConfig["GRIPPER"] = "GRIPPER";
141
- VisualJointTypeConfig["CUSTOM"] = "CUSTOM";
142
- })(VisualJointTypeConfig || (exports.VisualJointTypeConfig = VisualJointTypeConfig = {}));
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.
145
184
  */
146
- var JointPositionTypeConfig;
147
- (function (JointPositionTypeConfig) {
148
- JointPositionTypeConfig["END_EFFECTOR"] = "END_EFFECTOR";
149
- JointPositionTypeConfig["CUSTOM"] = "CUSTOM";
150
- })(JointPositionTypeConfig || (exports.JointPositionTypeConfig = JointPositionTypeConfig = {}));
185
+ var ActionSpaceConfig;
186
+ (function (ActionSpaceConfig) {
187
+ ActionSpaceConfig["END_EFFECTOR"] = "END_EFFECTOR";
188
+ ActionSpaceConfig["JOINT"] = "JOINT";
189
+ })(ActionSpaceConfig || (exports.ActionSpaceConfig = ActionSpaceConfig = {}));
151
190
  /**
152
191
  * Types of poses.
153
192
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neuracore/types",
3
- "version": "6.11.0",
3
+ "version": "6.12.1",
4
4
  "description": "Shared TypeScript type definitions for Neuracore robotics platform",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",