@neuracore/types 4.6.0 → 6.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.
- package/README.md +64 -5
- package/dist/neuracore_types.d.ts +569 -3
- package/dist/neuracore_types.js +131 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -63,12 +63,71 @@ npm run build
|
|
|
63
63
|
|
|
64
64
|
This compiles the TypeScript files to JavaScript and generates type declarations in the `dist/` directory.
|
|
65
65
|
|
|
66
|
+
## Release Process
|
|
67
|
+
|
|
68
|
+
### Creating PRs
|
|
69
|
+
|
|
70
|
+
All PRs must follow these conventions:
|
|
71
|
+
|
|
72
|
+
1. **Version Label**: Add exactly one version label to your PR:
|
|
73
|
+
- `version:major` - Breaking changes
|
|
74
|
+
- `version:minor` - New features
|
|
75
|
+
- `version:patch` - Bug fixes
|
|
76
|
+
- `version:none` - No release (docs, chores, etc.)
|
|
77
|
+
|
|
78
|
+
2. **Commit Format**: PR title and all commits must use conventional commit format:
|
|
79
|
+
```
|
|
80
|
+
<prefix>: <description>
|
|
81
|
+
```
|
|
82
|
+
Valid prefixes: `feat`, `fix`, `chore`, `docs`, `ci`, `test`, `refactor`, `style`, `perf`
|
|
83
|
+
|
|
84
|
+
Examples:
|
|
85
|
+
- `feat: add new data type for robot state`
|
|
86
|
+
- `fix: resolve serialization issue in TypeScript types`
|
|
87
|
+
- `chore: update dependencies`
|
|
88
|
+
|
|
89
|
+
### Pending Changelog
|
|
90
|
+
|
|
91
|
+
For significant changes (`version:major` or `version:minor`), update `changelogs/pending-changelog.md`:
|
|
92
|
+
|
|
93
|
+
```markdown
|
|
94
|
+
## Summary
|
|
95
|
+
|
|
96
|
+
This release adds support for new sensor data types and improves TypeScript type generation.
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
Simply append your summary to the existing content. This will appear at the top of the release notes.
|
|
100
|
+
|
|
101
|
+
### Triggering a Release
|
|
102
|
+
|
|
103
|
+
Releases are manual and triggered via GitHub Actions:
|
|
104
|
+
|
|
105
|
+
1. Go to **Actions** → **Release** → **Run workflow**
|
|
106
|
+
2. Optional: Check **dry_run** to preview without publishing
|
|
107
|
+
3. The workflow will:
|
|
108
|
+
- Analyze all PRs since last release
|
|
109
|
+
- Determine version bump (highest priority across all PRs)
|
|
110
|
+
- Generate changelog with all PRs grouped by type
|
|
111
|
+
- Bump version in `pyproject.toml`, `package.json`, and `__init__.py`
|
|
112
|
+
- Generate TypeScript types from Python models
|
|
113
|
+
- Publish Python package to PyPI
|
|
114
|
+
- Build and publish npm package to npm registry
|
|
115
|
+
- Create GitHub release
|
|
116
|
+
|
|
117
|
+
**Dry run** shows what would happen without making any changes - useful for testing before a real release.
|
|
118
|
+
|
|
66
119
|
## CI/CD
|
|
67
120
|
|
|
68
|
-
The repository includes GitHub Actions workflows
|
|
121
|
+
The repository includes GitHub Actions workflows:
|
|
122
|
+
|
|
123
|
+
1. **PR Checks**:
|
|
124
|
+
- Validates version labels
|
|
125
|
+
- Enforces conventional commit format
|
|
126
|
+
- Runs pre-commit hooks
|
|
127
|
+
- Suggests changelog updates for major/minor changes
|
|
69
128
|
|
|
70
|
-
|
|
71
|
-
-
|
|
129
|
+
2. **Release** (manual trigger):
|
|
130
|
+
- Generates TypeScript types from Python models
|
|
72
131
|
- Builds and validates both packages
|
|
73
|
-
- Publishes
|
|
74
|
-
-
|
|
132
|
+
- Publishes to PyPI and npm registry
|
|
133
|
+
- Creates GitHub release with changelog
|
|
@@ -129,6 +129,87 @@ export interface Custom1DData {
|
|
|
129
129
|
type: Type1;
|
|
130
130
|
data: unknown[] | null;
|
|
131
131
|
}
|
|
132
|
+
/**
|
|
133
|
+
* Import configuration for Custom1DData.
|
|
134
|
+
*/
|
|
135
|
+
export interface Custom1DDataImportConfig {
|
|
136
|
+
source?: string;
|
|
137
|
+
mapping?: MappingItem[];
|
|
138
|
+
format?: DataFormat;
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* Mapping information to extract individual items from a data source.
|
|
142
|
+
*/
|
|
143
|
+
export interface MappingItem {
|
|
144
|
+
name: string;
|
|
145
|
+
source_name?: string | null;
|
|
146
|
+
index?: number | null;
|
|
147
|
+
index_range?: IndexRangeConfig | null;
|
|
148
|
+
offset?: number;
|
|
149
|
+
inverted?: boolean;
|
|
150
|
+
transforms?: DataTransformSequence;
|
|
151
|
+
[k: string]: unknown;
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* Configuration for index range of data extraction.
|
|
155
|
+
*/
|
|
156
|
+
export interface IndexRangeConfig {
|
|
157
|
+
start: number;
|
|
158
|
+
end: number;
|
|
159
|
+
[k: string]: unknown;
|
|
160
|
+
}
|
|
161
|
+
/**
|
|
162
|
+
* Sequence of data transformations.
|
|
163
|
+
*/
|
|
164
|
+
export interface DataTransformSequence {
|
|
165
|
+
transforms?: DataTransform[];
|
|
166
|
+
[k: string]: unknown;
|
|
167
|
+
}
|
|
168
|
+
/**
|
|
169
|
+
* Base class for data transformations.
|
|
170
|
+
*/
|
|
171
|
+
export interface DataTransform {
|
|
172
|
+
[k: string]: unknown;
|
|
173
|
+
}
|
|
174
|
+
/**
|
|
175
|
+
* Per datatype format specifications.
|
|
176
|
+
*
|
|
177
|
+
* This class is used for the 'format:' section in YAML config files and
|
|
178
|
+
* when importing data. Relevant fields depend on the data type.
|
|
179
|
+
*/
|
|
180
|
+
export interface DataFormat {
|
|
181
|
+
image_convention?: ImageConventionConfig;
|
|
182
|
+
order_of_channels?: ImageChannelOrderConfig;
|
|
183
|
+
normalized_pixel_values?: boolean;
|
|
184
|
+
angle_units?: AngleConfig;
|
|
185
|
+
torque_units?: TorqueUnitsConfig;
|
|
186
|
+
distance_units?: DistanceUnitsConfig;
|
|
187
|
+
pose_type?: PoseConfig;
|
|
188
|
+
orientation?: OrientationConfig | null;
|
|
189
|
+
language_type?: LanguageConfig;
|
|
190
|
+
normalize?: NormalizeConfig | null;
|
|
191
|
+
visual_joint_type?: VisualJointTypeConfig;
|
|
192
|
+
joint_position_type?: JointPositionTypeConfig;
|
|
193
|
+
[k: string]: unknown;
|
|
194
|
+
}
|
|
195
|
+
/**
|
|
196
|
+
* Configuration for orientation of poses.
|
|
197
|
+
*/
|
|
198
|
+
export interface OrientationConfig {
|
|
199
|
+
type?: RotationConfig;
|
|
200
|
+
quaternion_order?: QuaternionOrderConfig;
|
|
201
|
+
euler_order?: EulerOrderConfig;
|
|
202
|
+
angle_units?: AngleConfig1;
|
|
203
|
+
[k: string]: unknown;
|
|
204
|
+
}
|
|
205
|
+
/**
|
|
206
|
+
* Configuration for normalizing data.
|
|
207
|
+
*/
|
|
208
|
+
export interface NormalizeConfig {
|
|
209
|
+
min?: number;
|
|
210
|
+
max?: number;
|
|
211
|
+
[k: string]: unknown;
|
|
212
|
+
}
|
|
132
213
|
/**
|
|
133
214
|
* Statistics for Custom1DData.
|
|
134
215
|
*/
|
|
@@ -186,6 +267,330 @@ export interface Dataset {
|
|
|
186
267
|
};
|
|
187
268
|
deleted: boolean;
|
|
188
269
|
}
|
|
270
|
+
/**
|
|
271
|
+
* Main dataset configuration model.
|
|
272
|
+
*
|
|
273
|
+
* Specifies the configuration for importing data to Neuracore.
|
|
274
|
+
* For each data type, define the format of the incoming data which will be
|
|
275
|
+
* converted to the format expected by Neuracore.
|
|
276
|
+
*/
|
|
277
|
+
export interface DatasetImportConfig {
|
|
278
|
+
input_dataset_name: string;
|
|
279
|
+
output_dataset: OutputDatasetConfig;
|
|
280
|
+
robot: RobotConfig;
|
|
281
|
+
frequency?: number | null;
|
|
282
|
+
data_import_config?: {
|
|
283
|
+
[k: string]: RGBCameraDataImportConfig | DepthCameraDataImportConfig | PointCloudDataImportConfig | JointPositionsDataImportConfig | JointVelocitiesDataImportConfig | JointTorquesDataImportConfig | VisualJointPositionsDataImportConfig | PoseDataImportConfig | ParallelGripperOpenAmountDataImportConfig | LanguageDataImportConfig | Custom1DDataImportConfig;
|
|
284
|
+
};
|
|
285
|
+
dataset_type?: DatasetTypeConfig | null;
|
|
286
|
+
}
|
|
287
|
+
/**
|
|
288
|
+
* Output dataset configuration.
|
|
289
|
+
*/
|
|
290
|
+
export interface OutputDatasetConfig {
|
|
291
|
+
name: string;
|
|
292
|
+
tags?: string[];
|
|
293
|
+
description?: string;
|
|
294
|
+
}
|
|
295
|
+
/**
|
|
296
|
+
* Robot configuration.
|
|
297
|
+
*/
|
|
298
|
+
export interface RobotConfig {
|
|
299
|
+
name: string;
|
|
300
|
+
urdf_path?: string | null;
|
|
301
|
+
mjcf_path?: string | null;
|
|
302
|
+
overwrite_existing?: boolean;
|
|
303
|
+
}
|
|
304
|
+
/**
|
|
305
|
+
* Import configuration for RGBCameraData.
|
|
306
|
+
*/
|
|
307
|
+
export interface RGBCameraDataImportConfig {
|
|
308
|
+
source?: string;
|
|
309
|
+
mapping?: MappingItem[];
|
|
310
|
+
format?: DataFormat1;
|
|
311
|
+
}
|
|
312
|
+
/**
|
|
313
|
+
* Per datatype format specifications.
|
|
314
|
+
*
|
|
315
|
+
* This class is used for the 'format:' section in YAML config files and
|
|
316
|
+
* when importing data. Relevant fields depend on the data type.
|
|
317
|
+
*/
|
|
318
|
+
export interface DataFormat1 {
|
|
319
|
+
image_convention?: ImageConventionConfig;
|
|
320
|
+
order_of_channels?: ImageChannelOrderConfig;
|
|
321
|
+
normalized_pixel_values?: boolean;
|
|
322
|
+
angle_units?: AngleConfig;
|
|
323
|
+
torque_units?: TorqueUnitsConfig;
|
|
324
|
+
distance_units?: DistanceUnitsConfig;
|
|
325
|
+
pose_type?: PoseConfig;
|
|
326
|
+
orientation?: OrientationConfig | null;
|
|
327
|
+
language_type?: LanguageConfig;
|
|
328
|
+
normalize?: NormalizeConfig | null;
|
|
329
|
+
visual_joint_type?: VisualJointTypeConfig;
|
|
330
|
+
joint_position_type?: JointPositionTypeConfig;
|
|
331
|
+
[k: string]: unknown;
|
|
332
|
+
}
|
|
333
|
+
/**
|
|
334
|
+
* Import configuration for DepthCameraData.
|
|
335
|
+
*/
|
|
336
|
+
export interface DepthCameraDataImportConfig {
|
|
337
|
+
source?: string;
|
|
338
|
+
mapping?: MappingItem[];
|
|
339
|
+
format?: DataFormat2;
|
|
340
|
+
}
|
|
341
|
+
/**
|
|
342
|
+
* Per datatype format specifications.
|
|
343
|
+
*
|
|
344
|
+
* This class is used for the 'format:' section in YAML config files and
|
|
345
|
+
* when importing data. Relevant fields depend on the data type.
|
|
346
|
+
*/
|
|
347
|
+
export interface DataFormat2 {
|
|
348
|
+
image_convention?: ImageConventionConfig;
|
|
349
|
+
order_of_channels?: ImageChannelOrderConfig;
|
|
350
|
+
normalized_pixel_values?: boolean;
|
|
351
|
+
angle_units?: AngleConfig;
|
|
352
|
+
torque_units?: TorqueUnitsConfig;
|
|
353
|
+
distance_units?: DistanceUnitsConfig;
|
|
354
|
+
pose_type?: PoseConfig;
|
|
355
|
+
orientation?: OrientationConfig | null;
|
|
356
|
+
language_type?: LanguageConfig;
|
|
357
|
+
normalize?: NormalizeConfig | null;
|
|
358
|
+
visual_joint_type?: VisualJointTypeConfig;
|
|
359
|
+
joint_position_type?: JointPositionTypeConfig;
|
|
360
|
+
[k: string]: unknown;
|
|
361
|
+
}
|
|
362
|
+
/**
|
|
363
|
+
* Import configuration for PointCloudData.
|
|
364
|
+
*/
|
|
365
|
+
export interface PointCloudDataImportConfig {
|
|
366
|
+
source?: string;
|
|
367
|
+
mapping?: MappingItem[];
|
|
368
|
+
format?: DataFormat3;
|
|
369
|
+
}
|
|
370
|
+
/**
|
|
371
|
+
* Per datatype format specifications.
|
|
372
|
+
*
|
|
373
|
+
* This class is used for the 'format:' section in YAML config files and
|
|
374
|
+
* when importing data. Relevant fields depend on the data type.
|
|
375
|
+
*/
|
|
376
|
+
export interface DataFormat3 {
|
|
377
|
+
image_convention?: ImageConventionConfig;
|
|
378
|
+
order_of_channels?: ImageChannelOrderConfig;
|
|
379
|
+
normalized_pixel_values?: boolean;
|
|
380
|
+
angle_units?: AngleConfig;
|
|
381
|
+
torque_units?: TorqueUnitsConfig;
|
|
382
|
+
distance_units?: DistanceUnitsConfig;
|
|
383
|
+
pose_type?: PoseConfig;
|
|
384
|
+
orientation?: OrientationConfig | null;
|
|
385
|
+
language_type?: LanguageConfig;
|
|
386
|
+
normalize?: NormalizeConfig | null;
|
|
387
|
+
visual_joint_type?: VisualJointTypeConfig;
|
|
388
|
+
joint_position_type?: JointPositionTypeConfig;
|
|
389
|
+
[k: string]: unknown;
|
|
390
|
+
}
|
|
391
|
+
/**
|
|
392
|
+
* Import configuration for JointPositionsData.
|
|
393
|
+
*/
|
|
394
|
+
export interface JointPositionsDataImportConfig {
|
|
395
|
+
source?: string;
|
|
396
|
+
mapping?: MappingItem[];
|
|
397
|
+
format?: DataFormat4;
|
|
398
|
+
}
|
|
399
|
+
/**
|
|
400
|
+
* Per datatype format specifications.
|
|
401
|
+
*
|
|
402
|
+
* This class is used for the 'format:' section in YAML config files and
|
|
403
|
+
* when importing data. Relevant fields depend on the data type.
|
|
404
|
+
*/
|
|
405
|
+
export interface DataFormat4 {
|
|
406
|
+
image_convention?: ImageConventionConfig;
|
|
407
|
+
order_of_channels?: ImageChannelOrderConfig;
|
|
408
|
+
normalized_pixel_values?: boolean;
|
|
409
|
+
angle_units?: AngleConfig;
|
|
410
|
+
torque_units?: TorqueUnitsConfig;
|
|
411
|
+
distance_units?: DistanceUnitsConfig;
|
|
412
|
+
pose_type?: PoseConfig;
|
|
413
|
+
orientation?: OrientationConfig | null;
|
|
414
|
+
language_type?: LanguageConfig;
|
|
415
|
+
normalize?: NormalizeConfig | null;
|
|
416
|
+
visual_joint_type?: VisualJointTypeConfig;
|
|
417
|
+
joint_position_type?: JointPositionTypeConfig;
|
|
418
|
+
[k: string]: unknown;
|
|
419
|
+
}
|
|
420
|
+
/**
|
|
421
|
+
* Import configuration for JointVelocitiesData.
|
|
422
|
+
*/
|
|
423
|
+
export interface JointVelocitiesDataImportConfig {
|
|
424
|
+
source?: string;
|
|
425
|
+
mapping?: MappingItem[];
|
|
426
|
+
format?: DataFormat5;
|
|
427
|
+
}
|
|
428
|
+
/**
|
|
429
|
+
* Per datatype format specifications.
|
|
430
|
+
*
|
|
431
|
+
* This class is used for the 'format:' section in YAML config files and
|
|
432
|
+
* when importing data. Relevant fields depend on the data type.
|
|
433
|
+
*/
|
|
434
|
+
export interface DataFormat5 {
|
|
435
|
+
image_convention?: ImageConventionConfig;
|
|
436
|
+
order_of_channels?: ImageChannelOrderConfig;
|
|
437
|
+
normalized_pixel_values?: boolean;
|
|
438
|
+
angle_units?: AngleConfig;
|
|
439
|
+
torque_units?: TorqueUnitsConfig;
|
|
440
|
+
distance_units?: DistanceUnitsConfig;
|
|
441
|
+
pose_type?: PoseConfig;
|
|
442
|
+
orientation?: OrientationConfig | null;
|
|
443
|
+
language_type?: LanguageConfig;
|
|
444
|
+
normalize?: NormalizeConfig | null;
|
|
445
|
+
visual_joint_type?: VisualJointTypeConfig;
|
|
446
|
+
joint_position_type?: JointPositionTypeConfig;
|
|
447
|
+
[k: string]: unknown;
|
|
448
|
+
}
|
|
449
|
+
/**
|
|
450
|
+
* Import configuration for JointTorquesData.
|
|
451
|
+
*/
|
|
452
|
+
export interface JointTorquesDataImportConfig {
|
|
453
|
+
source?: string;
|
|
454
|
+
mapping?: MappingItem[];
|
|
455
|
+
format?: DataFormat6;
|
|
456
|
+
}
|
|
457
|
+
/**
|
|
458
|
+
* Per datatype format specifications.
|
|
459
|
+
*
|
|
460
|
+
* This class is used for the 'format:' section in YAML config files and
|
|
461
|
+
* when importing data. Relevant fields depend on the data type.
|
|
462
|
+
*/
|
|
463
|
+
export interface DataFormat6 {
|
|
464
|
+
image_convention?: ImageConventionConfig;
|
|
465
|
+
order_of_channels?: ImageChannelOrderConfig;
|
|
466
|
+
normalized_pixel_values?: boolean;
|
|
467
|
+
angle_units?: AngleConfig;
|
|
468
|
+
torque_units?: TorqueUnitsConfig;
|
|
469
|
+
distance_units?: DistanceUnitsConfig;
|
|
470
|
+
pose_type?: PoseConfig;
|
|
471
|
+
orientation?: OrientationConfig | null;
|
|
472
|
+
language_type?: LanguageConfig;
|
|
473
|
+
normalize?: NormalizeConfig | null;
|
|
474
|
+
visual_joint_type?: VisualJointTypeConfig;
|
|
475
|
+
joint_position_type?: JointPositionTypeConfig;
|
|
476
|
+
[k: string]: unknown;
|
|
477
|
+
}
|
|
478
|
+
/**
|
|
479
|
+
* Import configuration for VisualJointPositionsData.
|
|
480
|
+
*/
|
|
481
|
+
export interface VisualJointPositionsDataImportConfig {
|
|
482
|
+
source?: string;
|
|
483
|
+
mapping?: MappingItem[];
|
|
484
|
+
format?: DataFormat7;
|
|
485
|
+
}
|
|
486
|
+
/**
|
|
487
|
+
* Per datatype format specifications.
|
|
488
|
+
*
|
|
489
|
+
* This class is used for the 'format:' section in YAML config files and
|
|
490
|
+
* when importing data. Relevant fields depend on the data type.
|
|
491
|
+
*/
|
|
492
|
+
export interface DataFormat7 {
|
|
493
|
+
image_convention?: ImageConventionConfig;
|
|
494
|
+
order_of_channels?: ImageChannelOrderConfig;
|
|
495
|
+
normalized_pixel_values?: boolean;
|
|
496
|
+
angle_units?: AngleConfig;
|
|
497
|
+
torque_units?: TorqueUnitsConfig;
|
|
498
|
+
distance_units?: DistanceUnitsConfig;
|
|
499
|
+
pose_type?: PoseConfig;
|
|
500
|
+
orientation?: OrientationConfig | null;
|
|
501
|
+
language_type?: LanguageConfig;
|
|
502
|
+
normalize?: NormalizeConfig | null;
|
|
503
|
+
visual_joint_type?: VisualJointTypeConfig;
|
|
504
|
+
joint_position_type?: JointPositionTypeConfig;
|
|
505
|
+
[k: string]: unknown;
|
|
506
|
+
}
|
|
507
|
+
/**
|
|
508
|
+
* Import configuration for PoseData.
|
|
509
|
+
*/
|
|
510
|
+
export interface PoseDataImportConfig {
|
|
511
|
+
source?: string;
|
|
512
|
+
mapping?: MappingItem[];
|
|
513
|
+
format?: DataFormat8;
|
|
514
|
+
}
|
|
515
|
+
/**
|
|
516
|
+
* Per datatype format specifications.
|
|
517
|
+
*
|
|
518
|
+
* This class is used for the 'format:' section in YAML config files and
|
|
519
|
+
* when importing data. Relevant fields depend on the data type.
|
|
520
|
+
*/
|
|
521
|
+
export interface DataFormat8 {
|
|
522
|
+
image_convention?: ImageConventionConfig;
|
|
523
|
+
order_of_channels?: ImageChannelOrderConfig;
|
|
524
|
+
normalized_pixel_values?: boolean;
|
|
525
|
+
angle_units?: AngleConfig;
|
|
526
|
+
torque_units?: TorqueUnitsConfig;
|
|
527
|
+
distance_units?: DistanceUnitsConfig;
|
|
528
|
+
pose_type?: PoseConfig;
|
|
529
|
+
orientation?: OrientationConfig | null;
|
|
530
|
+
language_type?: LanguageConfig;
|
|
531
|
+
normalize?: NormalizeConfig | null;
|
|
532
|
+
visual_joint_type?: VisualJointTypeConfig;
|
|
533
|
+
joint_position_type?: JointPositionTypeConfig;
|
|
534
|
+
[k: string]: unknown;
|
|
535
|
+
}
|
|
536
|
+
/**
|
|
537
|
+
* Import configuration for ParallelGripperOpenAmountData.
|
|
538
|
+
*/
|
|
539
|
+
export interface ParallelGripperOpenAmountDataImportConfig {
|
|
540
|
+
source?: string;
|
|
541
|
+
mapping?: MappingItem[];
|
|
542
|
+
format?: DataFormat9;
|
|
543
|
+
}
|
|
544
|
+
/**
|
|
545
|
+
* Per datatype format specifications.
|
|
546
|
+
*
|
|
547
|
+
* This class is used for the 'format:' section in YAML config files and
|
|
548
|
+
* when importing data. Relevant fields depend on the data type.
|
|
549
|
+
*/
|
|
550
|
+
export interface DataFormat9 {
|
|
551
|
+
image_convention?: ImageConventionConfig;
|
|
552
|
+
order_of_channels?: ImageChannelOrderConfig;
|
|
553
|
+
normalized_pixel_values?: boolean;
|
|
554
|
+
angle_units?: AngleConfig;
|
|
555
|
+
torque_units?: TorqueUnitsConfig;
|
|
556
|
+
distance_units?: DistanceUnitsConfig;
|
|
557
|
+
pose_type?: PoseConfig;
|
|
558
|
+
orientation?: OrientationConfig | null;
|
|
559
|
+
language_type?: LanguageConfig;
|
|
560
|
+
normalize?: NormalizeConfig | null;
|
|
561
|
+
visual_joint_type?: VisualJointTypeConfig;
|
|
562
|
+
joint_position_type?: JointPositionTypeConfig;
|
|
563
|
+
[k: string]: unknown;
|
|
564
|
+
}
|
|
565
|
+
/**
|
|
566
|
+
* Import configuration for LanguageData.
|
|
567
|
+
*/
|
|
568
|
+
export interface LanguageDataImportConfig {
|
|
569
|
+
source?: string;
|
|
570
|
+
mapping?: MappingItem[];
|
|
571
|
+
format?: DataFormat10;
|
|
572
|
+
}
|
|
573
|
+
/**
|
|
574
|
+
* Per datatype format specifications.
|
|
575
|
+
*
|
|
576
|
+
* This class is used for the 'format:' section in YAML config files and
|
|
577
|
+
* when importing data. Relevant fields depend on the data type.
|
|
578
|
+
*/
|
|
579
|
+
export interface DataFormat10 {
|
|
580
|
+
image_convention?: ImageConventionConfig;
|
|
581
|
+
order_of_channels?: ImageChannelOrderConfig;
|
|
582
|
+
normalized_pixel_values?: boolean;
|
|
583
|
+
angle_units?: AngleConfig;
|
|
584
|
+
torque_units?: TorqueUnitsConfig;
|
|
585
|
+
distance_units?: DistanceUnitsConfig;
|
|
586
|
+
pose_type?: PoseConfig;
|
|
587
|
+
orientation?: OrientationConfig | null;
|
|
588
|
+
language_type?: LanguageConfig;
|
|
589
|
+
normalize?: NormalizeConfig | null;
|
|
590
|
+
visual_joint_type?: VisualJointTypeConfig;
|
|
591
|
+
joint_position_type?: JointPositionTypeConfig;
|
|
592
|
+
[k: string]: unknown;
|
|
593
|
+
}
|
|
189
594
|
/**
|
|
190
595
|
* Configuration for model deployment.
|
|
191
596
|
*
|
|
@@ -473,6 +878,35 @@ export interface PointCloudDataStats {
|
|
|
473
878
|
export interface NCData {
|
|
474
879
|
timestamp: number;
|
|
475
880
|
}
|
|
881
|
+
/**
|
|
882
|
+
* Configuration for importing data to Neuracore.
|
|
883
|
+
*/
|
|
884
|
+
export interface NCDataImportConfig {
|
|
885
|
+
source?: string;
|
|
886
|
+
mapping?: MappingItem[];
|
|
887
|
+
format?: DataFormat11;
|
|
888
|
+
}
|
|
889
|
+
/**
|
|
890
|
+
* Per datatype format specifications.
|
|
891
|
+
*
|
|
892
|
+
* This class is used for the 'format:' section in YAML config files and
|
|
893
|
+
* when importing data. Relevant fields depend on the data type.
|
|
894
|
+
*/
|
|
895
|
+
export interface DataFormat11 {
|
|
896
|
+
image_convention?: ImageConventionConfig;
|
|
897
|
+
order_of_channels?: ImageChannelOrderConfig;
|
|
898
|
+
normalized_pixel_values?: boolean;
|
|
899
|
+
angle_units?: AngleConfig;
|
|
900
|
+
torque_units?: TorqueUnitsConfig;
|
|
901
|
+
distance_units?: DistanceUnitsConfig;
|
|
902
|
+
pose_type?: PoseConfig;
|
|
903
|
+
orientation?: OrientationConfig | null;
|
|
904
|
+
language_type?: LanguageConfig;
|
|
905
|
+
normalize?: NormalizeConfig | null;
|
|
906
|
+
visual_joint_type?: VisualJointTypeConfig;
|
|
907
|
+
joint_position_type?: JointPositionTypeConfig;
|
|
908
|
+
[k: string]: unknown;
|
|
909
|
+
}
|
|
476
910
|
/**
|
|
477
911
|
* Base class for statistics of Neuracore data types.
|
|
478
912
|
*/
|
|
@@ -529,10 +963,15 @@ export interface ParallelGripperOpenAmountData {
|
|
|
529
963
|
*
|
|
530
964
|
* Attributes:
|
|
531
965
|
* saved_dataset_id: ID of the dataset where the recording is saved
|
|
966
|
+
* status: Current status of the pending recording
|
|
967
|
+
* progress: Upload progress percentage (0-100)
|
|
968
|
+
* expected_trace_count: Number of traces expected (set by register_traces API)
|
|
969
|
+
* total_bytes: Total bytes expected across all traces (for progress bar)
|
|
970
|
+
* upload_method: Method used to upload recording data (streaming or daemon)
|
|
532
971
|
*/
|
|
533
972
|
export interface PendingRecording {
|
|
534
973
|
id: string;
|
|
535
|
-
robot_id
|
|
974
|
+
robot_id?: string | null;
|
|
536
975
|
instance: number;
|
|
537
976
|
org_id: string;
|
|
538
977
|
created_by: string;
|
|
@@ -542,9 +981,11 @@ export interface PendingRecording {
|
|
|
542
981
|
total_bytes: number;
|
|
543
982
|
is_shared: boolean;
|
|
544
983
|
data_types: DataType[];
|
|
545
|
-
saved_dataset_id
|
|
984
|
+
saved_dataset_id?: string | null;
|
|
546
985
|
status: PendingRecordingStatus;
|
|
547
986
|
progress: number;
|
|
987
|
+
expected_trace_count: number;
|
|
988
|
+
upload_method: RecordingUploadMethod;
|
|
548
989
|
}
|
|
549
990
|
/**
|
|
550
991
|
* Metadata details for a recording.
|
|
@@ -616,7 +1057,7 @@ export interface RGBCameraData {
|
|
|
616
1057
|
*/
|
|
617
1058
|
export interface Recording {
|
|
618
1059
|
id: string;
|
|
619
|
-
robot_id
|
|
1060
|
+
robot_id?: string | null;
|
|
620
1061
|
instance: number;
|
|
621
1062
|
org_id: string;
|
|
622
1063
|
created_by: string;
|
|
@@ -804,6 +1245,16 @@ export interface SynchronizedPoint {
|
|
|
804
1245
|
};
|
|
805
1246
|
};
|
|
806
1247
|
}
|
|
1248
|
+
/**
|
|
1249
|
+
* Request to register trace metadata for a recording.
|
|
1250
|
+
*
|
|
1251
|
+
* Maps trace IDs to their expected sizes in bytes.
|
|
1252
|
+
*/
|
|
1253
|
+
export interface TracesMetadataRequest {
|
|
1254
|
+
traces?: {
|
|
1255
|
+
[k: string]: number;
|
|
1256
|
+
};
|
|
1257
|
+
}
|
|
807
1258
|
/**
|
|
808
1259
|
* Training job record.
|
|
809
1260
|
*
|
|
@@ -917,6 +1368,7 @@ export declare enum DataType {
|
|
|
917
1368
|
JOINT_VELOCITIES = "JOINT_VELOCITIES",
|
|
918
1369
|
JOINT_TORQUES = "JOINT_TORQUES",
|
|
919
1370
|
JOINT_TARGET_POSITIONS = "JOINT_TARGET_POSITIONS",
|
|
1371
|
+
VISUAL_JOINT_POSITIONS = "VISUAL_JOINT_POSITIONS",
|
|
920
1372
|
END_EFFECTOR_POSES = "END_EFFECTOR_POSES",
|
|
921
1373
|
PARALLEL_GRIPPER_OPEN_AMOUNTS = "PARALLEL_GRIPPER_OPEN_AMOUNTS",
|
|
922
1374
|
PARALLEL_GRIPPER_TARGET_OPEN_AMOUNTS = "PARALLEL_GRIPPER_TARGET_OPEN_AMOUNTS",
|
|
@@ -933,9 +1385,114 @@ export declare enum Type {
|
|
|
933
1385
|
export declare enum Type1 {
|
|
934
1386
|
Custom1DData = "Custom1DData"
|
|
935
1387
|
}
|
|
1388
|
+
/**
|
|
1389
|
+
* Convention of image channels.
|
|
1390
|
+
*/
|
|
1391
|
+
export declare enum ImageConventionConfig {
|
|
1392
|
+
CHANNELS_LAST = "CHANNELS_LAST",
|
|
1393
|
+
CHANNELS_FIRST = "CHANNELS_FIRST"
|
|
1394
|
+
}
|
|
1395
|
+
/**
|
|
1396
|
+
* Order of image channels.
|
|
1397
|
+
*/
|
|
1398
|
+
export declare enum ImageChannelOrderConfig {
|
|
1399
|
+
RGB = "RGB",
|
|
1400
|
+
BGR = "BGR"
|
|
1401
|
+
}
|
|
1402
|
+
/**
|
|
1403
|
+
* Types of angles.
|
|
1404
|
+
*/
|
|
1405
|
+
export declare enum AngleConfig {
|
|
1406
|
+
DEGREES = "DEGREES",
|
|
1407
|
+
RADIANS = "RADIANS"
|
|
1408
|
+
}
|
|
1409
|
+
/**
|
|
1410
|
+
* Types of torque units.
|
|
1411
|
+
*/
|
|
1412
|
+
export declare enum TorqueUnitsConfig {
|
|
1413
|
+
NM = "NM",
|
|
1414
|
+
NCM = "NCM"
|
|
1415
|
+
}
|
|
1416
|
+
/**
|
|
1417
|
+
* Types of distance units.
|
|
1418
|
+
*/
|
|
1419
|
+
export declare enum DistanceUnitsConfig {
|
|
1420
|
+
M = "M",
|
|
1421
|
+
MM = "MM"
|
|
1422
|
+
}
|
|
1423
|
+
/**
|
|
1424
|
+
* Types of poses.
|
|
1425
|
+
*/
|
|
1426
|
+
export declare enum PoseConfig {
|
|
1427
|
+
MATRIX = "MATRIX",
|
|
1428
|
+
POSITION_ORIENTATION = "POSITION_ORIENTATION"
|
|
1429
|
+
}
|
|
1430
|
+
/**
|
|
1431
|
+
* Types of rotations.
|
|
1432
|
+
*/
|
|
1433
|
+
export declare enum RotationConfig {
|
|
1434
|
+
QUATERNION = "QUATERNION",
|
|
1435
|
+
MATRIX = "MATRIX",
|
|
1436
|
+
EULER = "EULER",
|
|
1437
|
+
AXIS_ANGLE = "AXIS_ANGLE"
|
|
1438
|
+
}
|
|
1439
|
+
/**
|
|
1440
|
+
* Order of quaternion.
|
|
1441
|
+
*/
|
|
1442
|
+
export declare enum QuaternionOrderConfig {
|
|
1443
|
+
XYZW = "XYZW",
|
|
1444
|
+
WXYZ = "WXYZ"
|
|
1445
|
+
}
|
|
1446
|
+
/**
|
|
1447
|
+
* Order of euler angles.
|
|
1448
|
+
*/
|
|
1449
|
+
export declare enum EulerOrderConfig {
|
|
1450
|
+
XYZ = "XYZ",
|
|
1451
|
+
ZYX = "ZYX",
|
|
1452
|
+
YXZ = "YXZ",
|
|
1453
|
+
ZXY = "ZXY",
|
|
1454
|
+
YZX = "YZX",
|
|
1455
|
+
XZY = "XZY"
|
|
1456
|
+
}
|
|
1457
|
+
/**
|
|
1458
|
+
* Types of angles.
|
|
1459
|
+
*/
|
|
1460
|
+
export declare enum AngleConfig1 {
|
|
1461
|
+
DEGREES = "DEGREES",
|
|
1462
|
+
RADIANS = "RADIANS"
|
|
1463
|
+
}
|
|
1464
|
+
/**
|
|
1465
|
+
* Types of languages.
|
|
1466
|
+
*/
|
|
1467
|
+
export declare enum LanguageConfig {
|
|
1468
|
+
STRING = "STRING",
|
|
1469
|
+
BYTES = "BYTES"
|
|
1470
|
+
}
|
|
1471
|
+
/**
|
|
1472
|
+
* Types of visual joint positions.
|
|
1473
|
+
*/
|
|
1474
|
+
export declare enum VisualJointTypeConfig {
|
|
1475
|
+
GRIPPER = "GRIPPER",
|
|
1476
|
+
CUSTOM = "CUSTOM"
|
|
1477
|
+
}
|
|
1478
|
+
/**
|
|
1479
|
+
* Types of joint positions.
|
|
1480
|
+
*/
|
|
1481
|
+
export declare enum JointPositionTypeConfig {
|
|
1482
|
+
TCP = "TCP",
|
|
1483
|
+
CUSTOM = "CUSTOM"
|
|
1484
|
+
}
|
|
936
1485
|
export declare enum Type2 {
|
|
937
1486
|
Custom1DDataStats = "Custom1DDataStats"
|
|
938
1487
|
}
|
|
1488
|
+
/**
|
|
1489
|
+
* Enumeration of supported dataset types.
|
|
1490
|
+
*/
|
|
1491
|
+
export declare enum DatasetTypeConfig {
|
|
1492
|
+
RLDS = "RLDS",
|
|
1493
|
+
LEROBOT = "LEROBOT",
|
|
1494
|
+
TFDS = "TFDS"
|
|
1495
|
+
}
|
|
939
1496
|
/**
|
|
940
1497
|
* GPU types available for training.
|
|
941
1498
|
*/
|
|
@@ -1020,6 +1577,15 @@ export declare enum PendingRecordingStatus {
|
|
|
1020
1577
|
UPLOADING = "UPLOADING",
|
|
1021
1578
|
UPLOADED = "UPLOADED"
|
|
1022
1579
|
}
|
|
1580
|
+
/**
|
|
1581
|
+
* Method used to upload recording data.
|
|
1582
|
+
*
|
|
1583
|
+
* Indicates how the recording data is being uploaded to the backend.
|
|
1584
|
+
*/
|
|
1585
|
+
export declare enum RecordingUploadMethod {
|
|
1586
|
+
streaming = "streaming",
|
|
1587
|
+
data_daemon = "data_daemon"
|
|
1588
|
+
}
|
|
1023
1589
|
export declare enum Type14 {
|
|
1024
1590
|
PointCloudData = "PointCloudData"
|
|
1025
1591
|
}
|
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.GPUType1 = exports.TrainingJobStatus = exports.RecordingNotificationType = exports.RecordingDataTraceStatus = exports.Type16 = exports.Type15 = exports.Type14 = 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.Type5 = exports.Type4 = exports.Type3 = exports.GPUType = exports.Type2 = exports.Type1 = exports.Type = exports.DataType = void 0;
|
|
9
|
+
exports.GPUType1 = 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.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;
|
|
10
10
|
/**
|
|
11
11
|
* Enumeration of supported data types in the Neuracore system.
|
|
12
12
|
*
|
|
@@ -19,6 +19,7 @@ var DataType;
|
|
|
19
19
|
DataType["JOINT_VELOCITIES"] = "JOINT_VELOCITIES";
|
|
20
20
|
DataType["JOINT_TORQUES"] = "JOINT_TORQUES";
|
|
21
21
|
DataType["JOINT_TARGET_POSITIONS"] = "JOINT_TARGET_POSITIONS";
|
|
22
|
+
DataType["VISUAL_JOINT_POSITIONS"] = "VISUAL_JOINT_POSITIONS";
|
|
22
23
|
DataType["END_EFFECTOR_POSES"] = "END_EFFECTOR_POSES";
|
|
23
24
|
DataType["PARALLEL_GRIPPER_OPEN_AMOUNTS"] = "PARALLEL_GRIPPER_OPEN_AMOUNTS";
|
|
24
25
|
DataType["PARALLEL_GRIPPER_TARGET_OPEN_AMOUNTS"] = "PARALLEL_GRIPPER_TARGET_OPEN_AMOUNTS";
|
|
@@ -37,10 +38,129 @@ var Type1;
|
|
|
37
38
|
(function (Type1) {
|
|
38
39
|
Type1["Custom1DData"] = "Custom1DData";
|
|
39
40
|
})(Type1 || (exports.Type1 = Type1 = {}));
|
|
41
|
+
/**
|
|
42
|
+
* Convention of image channels.
|
|
43
|
+
*/
|
|
44
|
+
var ImageConventionConfig;
|
|
45
|
+
(function (ImageConventionConfig) {
|
|
46
|
+
ImageConventionConfig["CHANNELS_LAST"] = "CHANNELS_LAST";
|
|
47
|
+
ImageConventionConfig["CHANNELS_FIRST"] = "CHANNELS_FIRST";
|
|
48
|
+
})(ImageConventionConfig || (exports.ImageConventionConfig = ImageConventionConfig = {}));
|
|
49
|
+
/**
|
|
50
|
+
* Order of image channels.
|
|
51
|
+
*/
|
|
52
|
+
var ImageChannelOrderConfig;
|
|
53
|
+
(function (ImageChannelOrderConfig) {
|
|
54
|
+
ImageChannelOrderConfig["RGB"] = "RGB";
|
|
55
|
+
ImageChannelOrderConfig["BGR"] = "BGR";
|
|
56
|
+
})(ImageChannelOrderConfig || (exports.ImageChannelOrderConfig = ImageChannelOrderConfig = {}));
|
|
57
|
+
/**
|
|
58
|
+
* Types of angles.
|
|
59
|
+
*/
|
|
60
|
+
var AngleConfig;
|
|
61
|
+
(function (AngleConfig) {
|
|
62
|
+
AngleConfig["DEGREES"] = "DEGREES";
|
|
63
|
+
AngleConfig["RADIANS"] = "RADIANS";
|
|
64
|
+
})(AngleConfig || (exports.AngleConfig = AngleConfig = {}));
|
|
65
|
+
/**
|
|
66
|
+
* Types of torque units.
|
|
67
|
+
*/
|
|
68
|
+
var TorqueUnitsConfig;
|
|
69
|
+
(function (TorqueUnitsConfig) {
|
|
70
|
+
TorqueUnitsConfig["NM"] = "NM";
|
|
71
|
+
TorqueUnitsConfig["NCM"] = "NCM";
|
|
72
|
+
})(TorqueUnitsConfig || (exports.TorqueUnitsConfig = TorqueUnitsConfig = {}));
|
|
73
|
+
/**
|
|
74
|
+
* Types of distance units.
|
|
75
|
+
*/
|
|
76
|
+
var DistanceUnitsConfig;
|
|
77
|
+
(function (DistanceUnitsConfig) {
|
|
78
|
+
DistanceUnitsConfig["M"] = "M";
|
|
79
|
+
DistanceUnitsConfig["MM"] = "MM";
|
|
80
|
+
})(DistanceUnitsConfig || (exports.DistanceUnitsConfig = DistanceUnitsConfig = {}));
|
|
81
|
+
/**
|
|
82
|
+
* Types of poses.
|
|
83
|
+
*/
|
|
84
|
+
var PoseConfig;
|
|
85
|
+
(function (PoseConfig) {
|
|
86
|
+
PoseConfig["MATRIX"] = "MATRIX";
|
|
87
|
+
PoseConfig["POSITION_ORIENTATION"] = "POSITION_ORIENTATION";
|
|
88
|
+
})(PoseConfig || (exports.PoseConfig = PoseConfig = {}));
|
|
89
|
+
/**
|
|
90
|
+
* Types of rotations.
|
|
91
|
+
*/
|
|
92
|
+
var RotationConfig;
|
|
93
|
+
(function (RotationConfig) {
|
|
94
|
+
RotationConfig["QUATERNION"] = "QUATERNION";
|
|
95
|
+
RotationConfig["MATRIX"] = "MATRIX";
|
|
96
|
+
RotationConfig["EULER"] = "EULER";
|
|
97
|
+
RotationConfig["AXIS_ANGLE"] = "AXIS_ANGLE";
|
|
98
|
+
})(RotationConfig || (exports.RotationConfig = RotationConfig = {}));
|
|
99
|
+
/**
|
|
100
|
+
* Order of quaternion.
|
|
101
|
+
*/
|
|
102
|
+
var QuaternionOrderConfig;
|
|
103
|
+
(function (QuaternionOrderConfig) {
|
|
104
|
+
QuaternionOrderConfig["XYZW"] = "XYZW";
|
|
105
|
+
QuaternionOrderConfig["WXYZ"] = "WXYZ";
|
|
106
|
+
})(QuaternionOrderConfig || (exports.QuaternionOrderConfig = QuaternionOrderConfig = {}));
|
|
107
|
+
/**
|
|
108
|
+
* Order of euler angles.
|
|
109
|
+
*/
|
|
110
|
+
var EulerOrderConfig;
|
|
111
|
+
(function (EulerOrderConfig) {
|
|
112
|
+
EulerOrderConfig["XYZ"] = "XYZ";
|
|
113
|
+
EulerOrderConfig["ZYX"] = "ZYX";
|
|
114
|
+
EulerOrderConfig["YXZ"] = "YXZ";
|
|
115
|
+
EulerOrderConfig["ZXY"] = "ZXY";
|
|
116
|
+
EulerOrderConfig["YZX"] = "YZX";
|
|
117
|
+
EulerOrderConfig["XZY"] = "XZY";
|
|
118
|
+
})(EulerOrderConfig || (exports.EulerOrderConfig = EulerOrderConfig = {}));
|
|
119
|
+
/**
|
|
120
|
+
* Types of angles.
|
|
121
|
+
*/
|
|
122
|
+
var AngleConfig1;
|
|
123
|
+
(function (AngleConfig1) {
|
|
124
|
+
AngleConfig1["DEGREES"] = "DEGREES";
|
|
125
|
+
AngleConfig1["RADIANS"] = "RADIANS";
|
|
126
|
+
})(AngleConfig1 || (exports.AngleConfig1 = AngleConfig1 = {}));
|
|
127
|
+
/**
|
|
128
|
+
* Types of languages.
|
|
129
|
+
*/
|
|
130
|
+
var LanguageConfig;
|
|
131
|
+
(function (LanguageConfig) {
|
|
132
|
+
LanguageConfig["STRING"] = "STRING";
|
|
133
|
+
LanguageConfig["BYTES"] = "BYTES";
|
|
134
|
+
})(LanguageConfig || (exports.LanguageConfig = LanguageConfig = {}));
|
|
135
|
+
/**
|
|
136
|
+
* Types of visual joint positions.
|
|
137
|
+
*/
|
|
138
|
+
var VisualJointTypeConfig;
|
|
139
|
+
(function (VisualJointTypeConfig) {
|
|
140
|
+
VisualJointTypeConfig["GRIPPER"] = "GRIPPER";
|
|
141
|
+
VisualJointTypeConfig["CUSTOM"] = "CUSTOM";
|
|
142
|
+
})(VisualJointTypeConfig || (exports.VisualJointTypeConfig = VisualJointTypeConfig = {}));
|
|
143
|
+
/**
|
|
144
|
+
* Types of joint positions.
|
|
145
|
+
*/
|
|
146
|
+
var JointPositionTypeConfig;
|
|
147
|
+
(function (JointPositionTypeConfig) {
|
|
148
|
+
JointPositionTypeConfig["TCP"] = "TCP";
|
|
149
|
+
JointPositionTypeConfig["CUSTOM"] = "CUSTOM";
|
|
150
|
+
})(JointPositionTypeConfig || (exports.JointPositionTypeConfig = JointPositionTypeConfig = {}));
|
|
40
151
|
var Type2;
|
|
41
152
|
(function (Type2) {
|
|
42
153
|
Type2["Custom1DDataStats"] = "Custom1DDataStats";
|
|
43
154
|
})(Type2 || (exports.Type2 = Type2 = {}));
|
|
155
|
+
/**
|
|
156
|
+
* Enumeration of supported dataset types.
|
|
157
|
+
*/
|
|
158
|
+
var DatasetTypeConfig;
|
|
159
|
+
(function (DatasetTypeConfig) {
|
|
160
|
+
DatasetTypeConfig["RLDS"] = "RLDS";
|
|
161
|
+
DatasetTypeConfig["LEROBOT"] = "LEROBOT";
|
|
162
|
+
DatasetTypeConfig["TFDS"] = "TFDS";
|
|
163
|
+
})(DatasetTypeConfig || (exports.DatasetTypeConfig = DatasetTypeConfig = {}));
|
|
44
164
|
/**
|
|
45
165
|
* GPU types available for training.
|
|
46
166
|
*/
|
|
@@ -141,6 +261,16 @@ var PendingRecordingStatus;
|
|
|
141
261
|
PendingRecordingStatus["UPLOADING"] = "UPLOADING";
|
|
142
262
|
PendingRecordingStatus["UPLOADED"] = "UPLOADED";
|
|
143
263
|
})(PendingRecordingStatus || (exports.PendingRecordingStatus = PendingRecordingStatus = {}));
|
|
264
|
+
/**
|
|
265
|
+
* Method used to upload recording data.
|
|
266
|
+
*
|
|
267
|
+
* Indicates how the recording data is being uploaded to the backend.
|
|
268
|
+
*/
|
|
269
|
+
var RecordingUploadMethod;
|
|
270
|
+
(function (RecordingUploadMethod) {
|
|
271
|
+
RecordingUploadMethod["streaming"] = "streaming";
|
|
272
|
+
RecordingUploadMethod["data_daemon"] = "data_daemon";
|
|
273
|
+
})(RecordingUploadMethod || (exports.RecordingUploadMethod = RecordingUploadMethod = {}));
|
|
144
274
|
var Type14;
|
|
145
275
|
(function (Type14) {
|
|
146
276
|
Type14["PointCloudData"] = "PointCloudData";
|