@wandelbots/nova-api 25.6.0-dev.36 → 25.6.0-dev.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. package/package.json +1 -1
  2. package/v2/api.d.ts +182 -118
  3. package/v2/api.js.map +1 -1
  4. package/v2/api.ts +182 -118
package/v2/api.ts CHANGED
@@ -122,7 +122,7 @@ export interface AddTrajectoryError {
122
122
  * @type AddTrajectoryErrorData
123
123
  * @export
124
124
  */
125
- export type AddTrajectoryErrorData = Collision2 | InconsitentTrajectorySize | InvalidDof | JointLimitExceeded | NanValue | TcpRequired | TorqueExceeded;
125
+ export type AddTrajectoryErrorData = CollisionError | InconsitentTrajectorySize | InvalidDof | JointLimitExceeded | NanValue | TcpRequired | TorqueExceeded;
126
126
 
127
127
  /**
128
128
  *
@@ -398,6 +398,37 @@ export const CapsuleShapeTypeEnum = {
398
398
 
399
399
  export type CapsuleShapeTypeEnum = typeof CapsuleShapeTypeEnum[keyof typeof CapsuleShapeTypeEnum];
400
400
 
401
+ /**
402
+ *
403
+ * @export
404
+ * @interface CartesianLimits
405
+ */
406
+ export interface CartesianLimits {
407
+ /**
408
+ *
409
+ * @type {number}
410
+ * @memberof CartesianLimits
411
+ */
412
+ 'velocity'?: number;
413
+ /**
414
+ *
415
+ * @type {number}
416
+ * @memberof CartesianLimits
417
+ */
418
+ 'acceleration'?: number;
419
+ /**
420
+ *
421
+ * @type {number}
422
+ * @memberof CartesianLimits
423
+ */
424
+ 'orientation_velocity'?: number;
425
+ /**
426
+ *
427
+ * @type {number}
428
+ * @memberof CartesianLimits
429
+ */
430
+ 'orientation_acceleration'?: number;
431
+ }
401
432
  /**
402
433
  * To create a robot cell, only a valid name is required. Once created, a robot cell provides access to the Wandelbots NOVA foundation services. The configuration can be customized, e.g. robot controllers, also within apps.
403
434
  * @export
@@ -503,19 +534,6 @@ export interface Collision {
503
534
  */
504
535
  'position_on_b'?: CollisionContact;
505
536
  }
506
- /**
507
- *
508
- * @export
509
- * @interface Collision2
510
- */
511
- export interface Collision2 {
512
- /**
513
- *
514
- * @type {FeedbackCollision}
515
- * @memberof Collision2
516
- */
517
- 'collision'?: FeedbackCollision;
518
- }
519
537
  /**
520
538
  *
521
539
  * @export
@@ -535,6 +553,19 @@ export interface CollisionContact {
535
553
  */
536
554
  'world'?: Array<number>;
537
555
  }
556
+ /**
557
+ *
558
+ * @export
559
+ * @interface CollisionError
560
+ */
561
+ export interface CollisionError {
562
+ /**
563
+ *
564
+ * @type {FeedbackCollision}
565
+ * @memberof CollisionError
566
+ */
567
+ 'collision'?: FeedbackCollision;
568
+ }
538
569
  /**
539
570
  *
540
571
  * @export
@@ -1856,10 +1887,10 @@ export interface InverseKinematicsRequest {
1856
1887
  'mounting'?: Pose;
1857
1888
  /**
1858
1889
  * Joint position limits in [rad], indexed starting from base.
1859
- * @type {Array<PlanningLimitsLimitRange>}
1890
+ * @type {Array<LimitRange>}
1860
1891
  * @memberof InverseKinematicsRequest
1861
1892
  */
1862
- 'joint_position_limits'?: Array<PlanningLimitsLimitRange>;
1893
+ 'joint_position_limits'?: Array<LimitRange>;
1863
1894
  /**
1864
1895
  * Collision scenes to be respected by the motion planner. Each contains the single motion group which is planned for. Scenes are checked individually along the trajectory and independently of other scenes. To respect the safety zones of the controller, fetch the safety zones, link and tool shapes from the controller and add one scene made up of those. To respect the safety zones of the controller and check for collision: 1. Fetch the safety zones, link and tool shapes from the controller. 2. Add the fetched zones, links and tools to a scene. 3. Create other scenes from your own 3D data as needed. 4. Execute this endpoint. 5. The response highlights the scenes in which a collision was detected by key.
1865
1896
  * @type {{ [key: string]: SingleMotionGroupCollisionScene; }}
@@ -1925,6 +1956,37 @@ export interface JointLimitExceeded {
1925
1956
  */
1926
1957
  'joint_limit_exceeded'?: FeedbackJointLimitExceeded;
1927
1958
  }
1959
+ /**
1960
+ *
1961
+ * @export
1962
+ * @interface JointLimits
1963
+ */
1964
+ export interface JointLimits {
1965
+ /**
1966
+ *
1967
+ * @type {LimitRange}
1968
+ * @memberof JointLimits
1969
+ */
1970
+ 'position'?: LimitRange;
1971
+ /**
1972
+ *
1973
+ * @type {number}
1974
+ * @memberof JointLimits
1975
+ */
1976
+ 'velocity'?: number;
1977
+ /**
1978
+ *
1979
+ * @type {number}
1980
+ * @memberof JointLimits
1981
+ */
1982
+ 'acceleration'?: number;
1983
+ /**
1984
+ *
1985
+ * @type {number}
1986
+ * @memberof JointLimits
1987
+ */
1988
+ 'torque'?: number;
1989
+ }
1928
1990
  /**
1929
1991
  *
1930
1992
  * @export
@@ -2177,6 +2239,75 @@ export const LicenseStatusEnum = {
2177
2239
  export type LicenseStatusEnum = typeof LicenseStatusEnum[keyof typeof LicenseStatusEnum];
2178
2240
 
2179
2241
 
2242
+ /**
2243
+ *
2244
+ * @export
2245
+ * @interface LimitConfig
2246
+ */
2247
+ export interface LimitConfig {
2248
+ /**
2249
+ *
2250
+ * @type {LimitSet}
2251
+ * @memberof LimitConfig
2252
+ */
2253
+ 'physical_limits'?: LimitSet;
2254
+ /**
2255
+ *
2256
+ * @type {OperationLimits}
2257
+ * @memberof LimitConfig
2258
+ */
2259
+ 'operation_limits'?: OperationLimits;
2260
+ }
2261
+ /**
2262
+ * The upper_limit must be greater then the lower_limit.
2263
+ * @export
2264
+ * @interface LimitRange
2265
+ */
2266
+ export interface LimitRange {
2267
+ /**
2268
+ *
2269
+ * @type {number}
2270
+ * @memberof LimitRange
2271
+ */
2272
+ 'lower_limit'?: number;
2273
+ /**
2274
+ *
2275
+ * @type {number}
2276
+ * @memberof LimitRange
2277
+ */
2278
+ 'upper_limit'?: number;
2279
+ }
2280
+ /**
2281
+ *
2282
+ * @export
2283
+ * @interface LimitSet
2284
+ */
2285
+ export interface LimitSet {
2286
+ /**
2287
+ *
2288
+ * @type {Array<JointLimits>}
2289
+ * @memberof LimitSet
2290
+ */
2291
+ 'joints'?: Array<JointLimits>;
2292
+ /**
2293
+ *
2294
+ * @type {CartesianLimits}
2295
+ * @memberof LimitSet
2296
+ */
2297
+ 'tcp'?: CartesianLimits;
2298
+ /**
2299
+ *
2300
+ * @type {CartesianLimits}
2301
+ * @memberof LimitSet
2302
+ */
2303
+ 'elbow'?: CartesianLimits;
2304
+ /**
2305
+ *
2306
+ * @type {CartesianLimits}
2307
+ * @memberof LimitSet
2308
+ */
2309
+ 'flange'?: CartesianLimits;
2310
+ }
2180
2311
  /**
2181
2312
  * If a limit is not set, the default value will be used.
2182
2313
  * @export
@@ -2379,10 +2510,10 @@ export interface MotionGroupDescription {
2379
2510
  'safety_tool_colliders'?: { [key: string]: { [key: string]: Collider; }; };
2380
2511
  /**
2381
2512
  *
2382
- * @type {PlanningLimits}
2513
+ * @type {LimitConfig}
2383
2514
  * @memberof MotionGroupDescription
2384
2515
  */
2385
- 'global_limits': PlanningLimits;
2516
+ 'global_limits': LimitConfig;
2386
2517
  /**
2387
2518
  * Maps a payload name to its configuration. Key must be a payload identifier. Values are payload objects.
2388
2519
  * @type {{ [key: string]: Payload; }}
@@ -2687,6 +2818,37 @@ export const OperatingState = {
2687
2818
  export type OperatingState = typeof OperatingState[keyof typeof OperatingState];
2688
2819
 
2689
2820
 
2821
+ /**
2822
+ *
2823
+ * @export
2824
+ * @interface OperationLimits
2825
+ */
2826
+ export interface OperationLimits {
2827
+ /**
2828
+ *
2829
+ * @type {LimitSet}
2830
+ * @memberof OperationLimits
2831
+ */
2832
+ 'auto_limits'?: LimitSet;
2833
+ /**
2834
+ *
2835
+ * @type {LimitSet}
2836
+ * @memberof OperationLimits
2837
+ */
2838
+ 'manual_limits'?: LimitSet;
2839
+ /**
2840
+ *
2841
+ * @type {LimitSet}
2842
+ * @memberof OperationLimits
2843
+ */
2844
+ 'manual_t1_limits'?: LimitSet;
2845
+ /**
2846
+ *
2847
+ * @type {LimitSet}
2848
+ * @memberof OperationLimits
2849
+ */
2850
+ 'manual_t2_limits'?: LimitSet;
2851
+ }
2690
2852
  /**
2691
2853
  * Current operation mode of the configured robot controller. Operation modes in which the attached motion groups can be moved are: - OPERATION_MODE_MANUAL (if enabling switch is pressed) - OPERATION_MODE_MANUAL_T1 (if enabling switch is pressed) - OPERATION_MODE_MANUAL_T2 (if enabling switch is pressed) - OPERATION_MODE_AUTO (without needing to press enabling switch) All other modes are considered as non-operational.
2692
2854
  * @export
@@ -3234,104 +3396,6 @@ export const PlaneShapeTypeEnum = {
3234
3396
 
3235
3397
  export type PlaneShapeTypeEnum = typeof PlaneShapeTypeEnum[keyof typeof PlaneShapeTypeEnum];
3236
3398
 
3237
- /**
3238
- * All known joint and cartesian limits of a motion-group. Used for motion planning.
3239
- * @export
3240
- * @interface PlanningLimits
3241
- */
3242
- export interface PlanningLimits {
3243
- /**
3244
- * Joint position limits in [rad], indexed starting from base.
3245
- * @type {Array<PlanningLimitsLimitRange>}
3246
- * @memberof PlanningLimits
3247
- */
3248
- 'joint_position_limits'?: Array<PlanningLimitsLimitRange>;
3249
- /**
3250
- * Maximum allowed velocity for joints in [rad/s or mm/s] of the safety setup, starting at base.
3251
- * @type {Array<number>}
3252
- * @memberof PlanningLimits
3253
- */
3254
- 'joint_velocity_limits'?: Array<number>;
3255
- /**
3256
- * Maximum allowed acceleration for joints in [rad/s^2 or mm/s^2] of the safety setup, starting at base.
3257
- * @type {Array<number>}
3258
- * @memberof PlanningLimits
3259
- */
3260
- 'joint_acceleration_limits'?: Array<number>;
3261
- /**
3262
- * Maximum allowed torque for joints in [Nm or N] of the safety setup, starting at base.
3263
- * @type {Array<number>}
3264
- * @memberof PlanningLimits
3265
- */
3266
- 'joint_torque_limits'?: Array<number>;
3267
- /**
3268
- * At maximum one dimensional velocity in [mm/s] at TCP allowed.
3269
- * @type {number}
3270
- * @memberof PlanningLimits
3271
- */
3272
- 'tcp_velocity_limit'?: number;
3273
- /**
3274
- * At maximum one dimensional acceleration in [mm/s^2] at TCP allowed.
3275
- * @type {number}
3276
- * @memberof PlanningLimits
3277
- */
3278
- 'tcp_acceleration_limit'?: number;
3279
- /**
3280
- * At maximum one dimensional orientation velocity in [rad/s] at TCP allowed.
3281
- * @type {number}
3282
- * @memberof PlanningLimits
3283
- */
3284
- 'tcp_orientation_velocity_limit'?: number;
3285
- /**
3286
- * At maximum one dimensional orientation acceleration in [rad/s^2] at TCP allowed.
3287
- * @type {number}
3288
- * @memberof PlanningLimits
3289
- */
3290
- 'tcp_orientation_acceleration_limit'?: number;
3291
- /**
3292
- * At maximum one dimensional force in [N] at TCP allowed.
3293
- * @type {number}
3294
- * @memberof PlanningLimits
3295
- */
3296
- 'tcp_force_limit'?: number;
3297
- /**
3298
- * At maximum one dimensional velocity in [mm/s] at the elbow allowed.
3299
- * @type {number}
3300
- * @memberof PlanningLimits
3301
- */
3302
- 'elbow_velocity_limit'?: number;
3303
- /**
3304
- * At maximum one dimensional acceleration in [mm/s^2] at the elbow allowed.
3305
- * @type {number}
3306
- * @memberof PlanningLimits
3307
- */
3308
- 'elbow_acceleration_limit'?: number;
3309
- /**
3310
- * At maximum one dimensional force in [N] at the elbow allowed.
3311
- * @type {number}
3312
- * @memberof PlanningLimits
3313
- */
3314
- 'elbow_force_limit'?: number;
3315
- }
3316
- /**
3317
- * The upper_limit must be greater then the lower_limit.
3318
- * @export
3319
- * @interface PlanningLimitsLimitRange
3320
- */
3321
- export interface PlanningLimitsLimitRange {
3322
- /**
3323
- *
3324
- * @type {number}
3325
- * @memberof PlanningLimitsLimitRange
3326
- */
3327
- 'lower_limit': number;
3328
- /**
3329
- *
3330
- * @type {number}
3331
- * @memberof PlanningLimitsLimitRange
3332
- */
3333
- 'upper_limit': number;
3334
- }
3335
3399
  /**
3336
3400
  * Sets velocity for executed movements of the motion, in percent. Send after initializing the connection with InitializeMovementRequest.
3337
3401
  * @export
@@ -3766,10 +3830,10 @@ export interface RobotSetup {
3766
3830
  'tcp_offset'?: Pose;
3767
3831
  /**
3768
3832
  *
3769
- * @type {PlanningLimits}
3833
+ * @type {LimitSet}
3770
3834
  * @memberof RobotSetup
3771
3835
  */
3772
- 'global_limits'?: PlanningLimits;
3836
+ 'global_limits'?: LimitSet;
3773
3837
  /**
3774
3838
  *
3775
3839
  * @type {Payload}