@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wandelbots/nova-api",
3
- "version": "25.6.0-dev.36",
3
+ "version": "25.6.0-dev.37",
4
4
  "description": "API Client to interact with Wandelbots Public API.",
5
5
  "files": [
6
6
  "*",
package/v2/api.d.ts CHANGED
@@ -109,7 +109,7 @@ export interface AddTrajectoryError {
109
109
  * @type AddTrajectoryErrorData
110
110
  * @export
111
111
  */
112
- export type AddTrajectoryErrorData = Collision2 | InconsitentTrajectorySize | InvalidDof | JointLimitExceeded | NanValue | TcpRequired | TorqueExceeded;
112
+ export type AddTrajectoryErrorData = CollisionError | InconsitentTrajectorySize | InvalidDof | JointLimitExceeded | NanValue | TcpRequired | TorqueExceeded;
113
113
  /**
114
114
  *
115
115
  * @export
@@ -364,6 +364,37 @@ export declare const CapsuleShapeTypeEnum: {
364
364
  readonly Capsule: "capsule";
365
365
  };
366
366
  export type CapsuleShapeTypeEnum = typeof CapsuleShapeTypeEnum[keyof typeof CapsuleShapeTypeEnum];
367
+ /**
368
+ *
369
+ * @export
370
+ * @interface CartesianLimits
371
+ */
372
+ export interface CartesianLimits {
373
+ /**
374
+ *
375
+ * @type {number}
376
+ * @memberof CartesianLimits
377
+ */
378
+ 'velocity'?: number;
379
+ /**
380
+ *
381
+ * @type {number}
382
+ * @memberof CartesianLimits
383
+ */
384
+ 'acceleration'?: number;
385
+ /**
386
+ *
387
+ * @type {number}
388
+ * @memberof CartesianLimits
389
+ */
390
+ 'orientation_velocity'?: number;
391
+ /**
392
+ *
393
+ * @type {number}
394
+ * @memberof CartesianLimits
395
+ */
396
+ 'orientation_acceleration'?: number;
397
+ }
367
398
  /**
368
399
  * 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.
369
400
  * @export
@@ -484,19 +515,6 @@ export interface Collision {
484
515
  */
485
516
  'position_on_b'?: CollisionContact;
486
517
  }
487
- /**
488
- *
489
- * @export
490
- * @interface Collision2
491
- */
492
- export interface Collision2 {
493
- /**
494
- *
495
- * @type {FeedbackCollision}
496
- * @memberof Collision2
497
- */
498
- 'collision'?: FeedbackCollision;
499
- }
500
518
  /**
501
519
  *
502
520
  * @export
@@ -516,6 +534,19 @@ export interface CollisionContact {
516
534
  */
517
535
  'world'?: Array<number>;
518
536
  }
537
+ /**
538
+ *
539
+ * @export
540
+ * @interface CollisionError
541
+ */
542
+ export interface CollisionError {
543
+ /**
544
+ *
545
+ * @type {FeedbackCollision}
546
+ * @memberof CollisionError
547
+ */
548
+ 'collision'?: FeedbackCollision;
549
+ }
519
550
  /**
520
551
  *
521
552
  * @export
@@ -1792,10 +1823,10 @@ export interface InverseKinematicsRequest {
1792
1823
  'mounting'?: Pose;
1793
1824
  /**
1794
1825
  * Joint position limits in [rad], indexed starting from base.
1795
- * @type {Array<PlanningLimitsLimitRange>}
1826
+ * @type {Array<LimitRange>}
1796
1827
  * @memberof InverseKinematicsRequest
1797
1828
  */
1798
- 'joint_position_limits'?: Array<PlanningLimitsLimitRange>;
1829
+ 'joint_position_limits'?: Array<LimitRange>;
1799
1830
  /**
1800
1831
  * 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.
1801
1832
  * @type {{ [key: string]: SingleMotionGroupCollisionScene; }}
@@ -1859,6 +1890,37 @@ export interface JointLimitExceeded {
1859
1890
  */
1860
1891
  'joint_limit_exceeded'?: FeedbackJointLimitExceeded;
1861
1892
  }
1893
+ /**
1894
+ *
1895
+ * @export
1896
+ * @interface JointLimits
1897
+ */
1898
+ export interface JointLimits {
1899
+ /**
1900
+ *
1901
+ * @type {LimitRange}
1902
+ * @memberof JointLimits
1903
+ */
1904
+ 'position'?: LimitRange;
1905
+ /**
1906
+ *
1907
+ * @type {number}
1908
+ * @memberof JointLimits
1909
+ */
1910
+ 'velocity'?: number;
1911
+ /**
1912
+ *
1913
+ * @type {number}
1914
+ * @memberof JointLimits
1915
+ */
1916
+ 'acceleration'?: number;
1917
+ /**
1918
+ *
1919
+ * @type {number}
1920
+ * @memberof JointLimits
1921
+ */
1922
+ 'torque'?: number;
1923
+ }
1862
1924
  /**
1863
1925
  *
1864
1926
  * @export
@@ -2098,6 +2160,75 @@ export declare const LicenseStatusEnum: {
2098
2160
  readonly NotFound: "NOT_FOUND";
2099
2161
  };
2100
2162
  export type LicenseStatusEnum = typeof LicenseStatusEnum[keyof typeof LicenseStatusEnum];
2163
+ /**
2164
+ *
2165
+ * @export
2166
+ * @interface LimitConfig
2167
+ */
2168
+ export interface LimitConfig {
2169
+ /**
2170
+ *
2171
+ * @type {LimitSet}
2172
+ * @memberof LimitConfig
2173
+ */
2174
+ 'physical_limits'?: LimitSet;
2175
+ /**
2176
+ *
2177
+ * @type {OperationLimits}
2178
+ * @memberof LimitConfig
2179
+ */
2180
+ 'operation_limits'?: OperationLimits;
2181
+ }
2182
+ /**
2183
+ * The upper_limit must be greater then the lower_limit.
2184
+ * @export
2185
+ * @interface LimitRange
2186
+ */
2187
+ export interface LimitRange {
2188
+ /**
2189
+ *
2190
+ * @type {number}
2191
+ * @memberof LimitRange
2192
+ */
2193
+ 'lower_limit'?: number;
2194
+ /**
2195
+ *
2196
+ * @type {number}
2197
+ * @memberof LimitRange
2198
+ */
2199
+ 'upper_limit'?: number;
2200
+ }
2201
+ /**
2202
+ *
2203
+ * @export
2204
+ * @interface LimitSet
2205
+ */
2206
+ export interface LimitSet {
2207
+ /**
2208
+ *
2209
+ * @type {Array<JointLimits>}
2210
+ * @memberof LimitSet
2211
+ */
2212
+ 'joints'?: Array<JointLimits>;
2213
+ /**
2214
+ *
2215
+ * @type {CartesianLimits}
2216
+ * @memberof LimitSet
2217
+ */
2218
+ 'tcp'?: CartesianLimits;
2219
+ /**
2220
+ *
2221
+ * @type {CartesianLimits}
2222
+ * @memberof LimitSet
2223
+ */
2224
+ 'elbow'?: CartesianLimits;
2225
+ /**
2226
+ *
2227
+ * @type {CartesianLimits}
2228
+ * @memberof LimitSet
2229
+ */
2230
+ 'flange'?: CartesianLimits;
2231
+ }
2101
2232
  /**
2102
2233
  * If a limit is not set, the default value will be used.
2103
2234
  * @export
@@ -2302,10 +2433,10 @@ export interface MotionGroupDescription {
2302
2433
  };
2303
2434
  /**
2304
2435
  *
2305
- * @type {PlanningLimits}
2436
+ * @type {LimitConfig}
2306
2437
  * @memberof MotionGroupDescription
2307
2438
  */
2308
- 'global_limits': PlanningLimits;
2439
+ 'global_limits': LimitConfig;
2309
2440
  /**
2310
2441
  * Maps a payload name to its configuration. Key must be a payload identifier. Values are payload objects.
2311
2442
  * @type {{ [key: string]: Payload; }}
@@ -2603,6 +2734,37 @@ export declare const OperatingState: {
2603
2734
  readonly Inactive: "INACTIVE";
2604
2735
  };
2605
2736
  export type OperatingState = typeof OperatingState[keyof typeof OperatingState];
2737
+ /**
2738
+ *
2739
+ * @export
2740
+ * @interface OperationLimits
2741
+ */
2742
+ export interface OperationLimits {
2743
+ /**
2744
+ *
2745
+ * @type {LimitSet}
2746
+ * @memberof OperationLimits
2747
+ */
2748
+ 'auto_limits'?: LimitSet;
2749
+ /**
2750
+ *
2751
+ * @type {LimitSet}
2752
+ * @memberof OperationLimits
2753
+ */
2754
+ 'manual_limits'?: LimitSet;
2755
+ /**
2756
+ *
2757
+ * @type {LimitSet}
2758
+ * @memberof OperationLimits
2759
+ */
2760
+ 'manual_t1_limits'?: LimitSet;
2761
+ /**
2762
+ *
2763
+ * @type {LimitSet}
2764
+ * @memberof OperationLimits
2765
+ */
2766
+ 'manual_t2_limits'?: LimitSet;
2767
+ }
2606
2768
  /**
2607
2769
  * 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.
2608
2770
  * @export
@@ -3093,104 +3255,6 @@ export declare const PlaneShapeTypeEnum: {
3093
3255
  readonly Plane: "plane";
3094
3256
  };
3095
3257
  export type PlaneShapeTypeEnum = typeof PlaneShapeTypeEnum[keyof typeof PlaneShapeTypeEnum];
3096
- /**
3097
- * All known joint and cartesian limits of a motion-group. Used for motion planning.
3098
- * @export
3099
- * @interface PlanningLimits
3100
- */
3101
- export interface PlanningLimits {
3102
- /**
3103
- * Joint position limits in [rad], indexed starting from base.
3104
- * @type {Array<PlanningLimitsLimitRange>}
3105
- * @memberof PlanningLimits
3106
- */
3107
- 'joint_position_limits'?: Array<PlanningLimitsLimitRange>;
3108
- /**
3109
- * Maximum allowed velocity for joints in [rad/s or mm/s] of the safety setup, starting at base.
3110
- * @type {Array<number>}
3111
- * @memberof PlanningLimits
3112
- */
3113
- 'joint_velocity_limits'?: Array<number>;
3114
- /**
3115
- * Maximum allowed acceleration for joints in [rad/s^2 or mm/s^2] of the safety setup, starting at base.
3116
- * @type {Array<number>}
3117
- * @memberof PlanningLimits
3118
- */
3119
- 'joint_acceleration_limits'?: Array<number>;
3120
- /**
3121
- * Maximum allowed torque for joints in [Nm or N] of the safety setup, starting at base.
3122
- * @type {Array<number>}
3123
- * @memberof PlanningLimits
3124
- */
3125
- 'joint_torque_limits'?: Array<number>;
3126
- /**
3127
- * At maximum one dimensional velocity in [mm/s] at TCP allowed.
3128
- * @type {number}
3129
- * @memberof PlanningLimits
3130
- */
3131
- 'tcp_velocity_limit'?: number;
3132
- /**
3133
- * At maximum one dimensional acceleration in [mm/s^2] at TCP allowed.
3134
- * @type {number}
3135
- * @memberof PlanningLimits
3136
- */
3137
- 'tcp_acceleration_limit'?: number;
3138
- /**
3139
- * At maximum one dimensional orientation velocity in [rad/s] at TCP allowed.
3140
- * @type {number}
3141
- * @memberof PlanningLimits
3142
- */
3143
- 'tcp_orientation_velocity_limit'?: number;
3144
- /**
3145
- * At maximum one dimensional orientation acceleration in [rad/s^2] at TCP allowed.
3146
- * @type {number}
3147
- * @memberof PlanningLimits
3148
- */
3149
- 'tcp_orientation_acceleration_limit'?: number;
3150
- /**
3151
- * At maximum one dimensional force in [N] at TCP allowed.
3152
- * @type {number}
3153
- * @memberof PlanningLimits
3154
- */
3155
- 'tcp_force_limit'?: number;
3156
- /**
3157
- * At maximum one dimensional velocity in [mm/s] at the elbow allowed.
3158
- * @type {number}
3159
- * @memberof PlanningLimits
3160
- */
3161
- 'elbow_velocity_limit'?: number;
3162
- /**
3163
- * At maximum one dimensional acceleration in [mm/s^2] at the elbow allowed.
3164
- * @type {number}
3165
- * @memberof PlanningLimits
3166
- */
3167
- 'elbow_acceleration_limit'?: number;
3168
- /**
3169
- * At maximum one dimensional force in [N] at the elbow allowed.
3170
- * @type {number}
3171
- * @memberof PlanningLimits
3172
- */
3173
- 'elbow_force_limit'?: number;
3174
- }
3175
- /**
3176
- * The upper_limit must be greater then the lower_limit.
3177
- * @export
3178
- * @interface PlanningLimitsLimitRange
3179
- */
3180
- export interface PlanningLimitsLimitRange {
3181
- /**
3182
- *
3183
- * @type {number}
3184
- * @memberof PlanningLimitsLimitRange
3185
- */
3186
- 'lower_limit': number;
3187
- /**
3188
- *
3189
- * @type {number}
3190
- * @memberof PlanningLimitsLimitRange
3191
- */
3192
- 'upper_limit': number;
3193
- }
3194
3258
  /**
3195
3259
  * Sets velocity for executed movements of the motion, in percent. Send after initializing the connection with InitializeMovementRequest.
3196
3260
  * @export
@@ -3595,10 +3659,10 @@ export interface RobotSetup {
3595
3659
  'tcp_offset'?: Pose;
3596
3660
  /**
3597
3661
  *
3598
- * @type {PlanningLimits}
3662
+ * @type {LimitSet}
3599
3663
  * @memberof RobotSetup
3600
3664
  */
3601
- 'global_limits'?: PlanningLimits;
3665
+ 'global_limits'?: LimitSet;
3602
3666
  /**
3603
3667
  *
3604
3668
  * @type {Payload}