@wandelbots/nova-api 25.6.0-dev.28 → 25.6.0-dev.29

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wandelbots/nova-api",
3
- "version": "25.6.0-dev.28",
3
+ "version": "25.6.0-dev.29",
4
4
  "description": "API Client to interact with Wandelbots Public API.",
5
5
  "files": [
6
6
  "*",
package/v2/api.d.ts CHANGED
@@ -1814,7 +1814,7 @@ export interface InvalidDofInvalidDof {
1814
1814
  */
1815
1815
  export interface InverseKinematicsRequest {
1816
1816
  /**
1817
- * The data to assemble the robot setup can be retrieved from [getPlanningParameters](getPlanningParameters) endpoint.
1817
+ * The data to assemble the robot setup can be retrieved from [getMotionGroupDescription](getMotionGroupDescription) endpoint.
1818
1818
  * @type {RobotSetup}
1819
1819
  * @memberof InverseKinematicsRequest
1820
1820
  */
@@ -2386,6 +2386,85 @@ export interface MotionGroupBehaviorGetter {
2386
2386
  */
2387
2387
  'behavior': Behavior;
2388
2388
  }
2389
+ /**
2390
+ * The configuration of a motion-group used for motion planning.
2391
+ * @export
2392
+ * @interface MotionGroupDescription
2393
+ */
2394
+ export interface MotionGroupDescription {
2395
+ /**
2396
+ * String identifiying the model of a motion group.
2397
+ * @type {string}
2398
+ * @memberof MotionGroupDescription
2399
+ */
2400
+ 'motion_group_type': string;
2401
+ /**
2402
+ * The offset from the world frame to the motion group base.
2403
+ * @type {Pose}
2404
+ * @memberof MotionGroupDescription
2405
+ */
2406
+ 'mounting': Pose;
2407
+ /**
2408
+ * Maps a TCP name to its offset relative to the flange coordinate system. Key must be a TCP identifier. Values are TcpOffsets.
2409
+ * @type {{ [key: string]: TcpOffset; }}
2410
+ * @memberof MotionGroupDescription
2411
+ */
2412
+ 'tcps': {
2413
+ [key: string]: TcpOffset;
2414
+ };
2415
+ /**
2416
+ * A collection of identifiable colliders.
2417
+ * @type {{ [key: string]: Collider; }}
2418
+ * @memberof MotionGroupDescription
2419
+ */
2420
+ 'safety_zones'?: {
2421
+ [key: string]: Collider;
2422
+ };
2423
+ /**
2424
+ * The shape of the MotionGroups links to validate against safety zones. Indexed along the kinematic chain, starting with a static base shape before first joint.
2425
+ * @type {Array<{ [key: string]: Collider; }>}
2426
+ * @memberof MotionGroupDescription
2427
+ */
2428
+ 'safety_link_colliders'?: Array<{
2429
+ [key: string]: Collider;
2430
+ }>;
2431
+ /**
2432
+ * Maps a TCP name to its tool collider. Key must be a TCP identifier. Values are ColliderDictionaries that make up the shape of one tool to validate against safety zones.
2433
+ * @type {{ [key: string]: { [key: string]: Collider; }; }}
2434
+ * @memberof MotionGroupDescription
2435
+ */
2436
+ 'safety_tool_colliders'?: {
2437
+ [key: string]: {
2438
+ [key: string]: Collider;
2439
+ };
2440
+ };
2441
+ /**
2442
+ *
2443
+ * @type {PlanningLimits}
2444
+ * @memberof MotionGroupDescription
2445
+ */
2446
+ 'global_limits': PlanningLimits;
2447
+ /**
2448
+ * Maps a payload name to its configuration. Key must be a payload identifier. Values are payload objects.
2449
+ * @type {{ [key: string]: Payload; }}
2450
+ * @memberof MotionGroupDescription
2451
+ */
2452
+ 'payloads'?: {
2453
+ [key: string]: Payload;
2454
+ };
2455
+ /**
2456
+ * [ms] cycle time of the motion group controller. A trajectory for this motion group should be computed to this resolution.
2457
+ * @type {number}
2458
+ * @memberof MotionGroupDescription
2459
+ */
2460
+ 'cycle_time'?: number;
2461
+ /**
2462
+ * The DH parameters describing the motion group geometry, starting from base.
2463
+ * @type {Array<DHParameter>}
2464
+ * @memberof MotionGroupDescription
2465
+ */
2466
+ 'dh_parameters'?: Array<DHParameter>;
2467
+ }
2389
2468
  /**
2390
2469
  *
2391
2470
  * @export
@@ -3177,7 +3256,7 @@ export type PlanTrajectoryFailedResponseErrorFeedback = FeedbackCollision | Feed
3177
3256
  */
3178
3257
  export interface PlanTrajectoryRequest {
3179
3258
  /**
3180
- * The data to assemble the robot setup can be retrieved from [getPlanningParameters](getPlanningParameters) endpoint.
3259
+ * The data to assemble the robot setup can be retrieved from [getMotionGroupDescription](getMotionGroupDescription) endpoint.
3181
3260
  * @type {RobotSetup}
3182
3261
  * @memberof PlanTrajectoryRequest
3183
3262
  */
@@ -3328,85 +3407,6 @@ export interface PlanningLimitsLimitRange {
3328
3407
  */
3329
3408
  'upper_limit': number;
3330
3409
  }
3331
- /**
3332
- * The configuration of a motion-group used for motion planning.
3333
- * @export
3334
- * @interface PlanningParameters
3335
- */
3336
- export interface PlanningParameters {
3337
- /**
3338
- * String identifiying the model of a motion group.
3339
- * @type {string}
3340
- * @memberof PlanningParameters
3341
- */
3342
- 'motion_group_type': string;
3343
- /**
3344
- * The offset from the world frame to the motion group base.
3345
- * @type {Pose}
3346
- * @memberof PlanningParameters
3347
- */
3348
- 'mounting': Pose;
3349
- /**
3350
- * Maps a TCP name to its offset relative to the flange coordinate system. Key must be a TCP identifier. Values are TcpOffsets.
3351
- * @type {{ [key: string]: TcpOffset; }}
3352
- * @memberof PlanningParameters
3353
- */
3354
- 'tcps': {
3355
- [key: string]: TcpOffset;
3356
- };
3357
- /**
3358
- * A collection of identifiable colliders.
3359
- * @type {{ [key: string]: Collider; }}
3360
- * @memberof PlanningParameters
3361
- */
3362
- 'safety_zones'?: {
3363
- [key: string]: Collider;
3364
- };
3365
- /**
3366
- * The shape of the MotionGroups links to validate against safety zones. Indexed along the kinematic chain, starting with a static base shape before first joint.
3367
- * @type {Array<{ [key: string]: Collider; }>}
3368
- * @memberof PlanningParameters
3369
- */
3370
- 'safety_link_colliders'?: Array<{
3371
- [key: string]: Collider;
3372
- }>;
3373
- /**
3374
- * Maps a TCP name to its tool collider. Key must be a TCP identifier. Values are ColliderDictionaries that make up the shape of one tool to validate against safety zones.
3375
- * @type {{ [key: string]: { [key: string]: Collider; }; }}
3376
- * @memberof PlanningParameters
3377
- */
3378
- 'safety_tool_colliders'?: {
3379
- [key: string]: {
3380
- [key: string]: Collider;
3381
- };
3382
- };
3383
- /**
3384
- *
3385
- * @type {PlanningLimits}
3386
- * @memberof PlanningParameters
3387
- */
3388
- 'global_limits': PlanningLimits;
3389
- /**
3390
- * Maps a payload name to its configuration. Key must be a payload identifier. Values are payload objects.
3391
- * @type {{ [key: string]: Payload; }}
3392
- * @memberof PlanningParameters
3393
- */
3394
- 'payloads'?: {
3395
- [key: string]: Payload;
3396
- };
3397
- /**
3398
- * [ms] cycle time of the motion group controller. A trajectory for this motion group should be computed to this resolution.
3399
- * @type {number}
3400
- * @memberof PlanningParameters
3401
- */
3402
- 'cycle_time'?: number;
3403
- /**
3404
- * The DH parameters describing the motion group geometry, starting from base.
3405
- * @type {Array<DHParameter>}
3406
- * @memberof PlanningParameters
3407
- */
3408
- 'dh_parameters'?: Array<DHParameter>;
3409
- }
3410
3410
  /**
3411
3411
  * Sets velocity for executed movements of the motion, in percent. Send after initializing the connection with InitializeMovementRequest.
3412
3412
  * @export
@@ -6576,14 +6576,14 @@ export declare const MotionGroupApiAxiosParamCreator: (configuration?: Configura
6576
6576
  */
6577
6577
  getCurrentMotionGroupState: (cell: string, motionGroup: string, responseCoordinateSystem?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
6578
6578
  /**
6579
- * Get the complete set of parameters that can be passed to the motion-planner (incl. safety zones, limits etc.).
6580
- * @summary Planning Parameters
6579
+ * Get the set of parameters that describe the motion group and its configuration including safety zones, limits, etc. This data might change upon connection to the robot.
6580
+ * @summary Description
6581
6581
  * @param {string} cell Unique identifier addressing a cell in all API calls.
6582
6582
  * @param {string} motionGroup The motion-group identifier.
6583
6583
  * @param {*} [options] Override http request option.
6584
6584
  * @throws {RequiredError}
6585
6585
  */
6586
- getPlanningParameters: (cell: string, motionGroup: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
6586
+ getMotionGroupDescription: (cell: string, motionGroup: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
6587
6587
  /**
6588
6588
  * <!-- theme: danger --> > Websocket endpoint Receive updates of the motion group state. The stream will be closed from the server if the controller is disconnected.
6589
6589
  * @summary Stream State
@@ -6612,14 +6612,14 @@ export declare const MotionGroupApiFp: (configuration?: Configuration) => {
6612
6612
  */
6613
6613
  getCurrentMotionGroupState(cell: string, motionGroup: string, responseCoordinateSystem?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MotionGroupState>>;
6614
6614
  /**
6615
- * Get the complete set of parameters that can be passed to the motion-planner (incl. safety zones, limits etc.).
6616
- * @summary Planning Parameters
6615
+ * Get the set of parameters that describe the motion group and its configuration including safety zones, limits, etc. This data might change upon connection to the robot.
6616
+ * @summary Description
6617
6617
  * @param {string} cell Unique identifier addressing a cell in all API calls.
6618
6618
  * @param {string} motionGroup The motion-group identifier.
6619
6619
  * @param {*} [options] Override http request option.
6620
6620
  * @throws {RequiredError}
6621
6621
  */
6622
- getPlanningParameters(cell: string, motionGroup: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlanningParameters>>;
6622
+ getMotionGroupDescription(cell: string, motionGroup: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MotionGroupDescription>>;
6623
6623
  /**
6624
6624
  * <!-- theme: danger --> > Websocket endpoint Receive updates of the motion group state. The stream will be closed from the server if the controller is disconnected.
6625
6625
  * @summary Stream State
@@ -6648,14 +6648,14 @@ export declare const MotionGroupApiFactory: (configuration?: Configuration, base
6648
6648
  */
6649
6649
  getCurrentMotionGroupState(cell: string, motionGroup: string, responseCoordinateSystem?: string, options?: RawAxiosRequestConfig): AxiosPromise<MotionGroupState>;
6650
6650
  /**
6651
- * Get the complete set of parameters that can be passed to the motion-planner (incl. safety zones, limits etc.).
6652
- * @summary Planning Parameters
6651
+ * Get the set of parameters that describe the motion group and its configuration including safety zones, limits, etc. This data might change upon connection to the robot.
6652
+ * @summary Description
6653
6653
  * @param {string} cell Unique identifier addressing a cell in all API calls.
6654
6654
  * @param {string} motionGroup The motion-group identifier.
6655
6655
  * @param {*} [options] Override http request option.
6656
6656
  * @throws {RequiredError}
6657
6657
  */
6658
- getPlanningParameters(cell: string, motionGroup: string, options?: RawAxiosRequestConfig): AxiosPromise<PlanningParameters>;
6658
+ getMotionGroupDescription(cell: string, motionGroup: string, options?: RawAxiosRequestConfig): AxiosPromise<MotionGroupDescription>;
6659
6659
  /**
6660
6660
  * <!-- theme: danger --> > Websocket endpoint Receive updates of the motion group state. The stream will be closed from the server if the controller is disconnected.
6661
6661
  * @summary Stream State
@@ -6687,15 +6687,15 @@ export declare class MotionGroupApi extends BaseAPI {
6687
6687
  */
6688
6688
  getCurrentMotionGroupState(cell: string, motionGroup: string, responseCoordinateSystem?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MotionGroupState, any>>;
6689
6689
  /**
6690
- * Get the complete set of parameters that can be passed to the motion-planner (incl. safety zones, limits etc.).
6691
- * @summary Planning Parameters
6690
+ * Get the set of parameters that describe the motion group and its configuration including safety zones, limits, etc. This data might change upon connection to the robot.
6691
+ * @summary Description
6692
6692
  * @param {string} cell Unique identifier addressing a cell in all API calls.
6693
6693
  * @param {string} motionGroup The motion-group identifier.
6694
6694
  * @param {*} [options] Override http request option.
6695
6695
  * @throws {RequiredError}
6696
6696
  * @memberof MotionGroupApi
6697
6697
  */
6698
- getPlanningParameters(cell: string, motionGroup: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PlanningParameters, any>>;
6698
+ getMotionGroupDescription(cell: string, motionGroup: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MotionGroupDescription, any>>;
6699
6699
  /**
6700
6700
  * <!-- theme: danger --> > Websocket endpoint Receive updates of the motion group state. The stream will be closed from the server if the controller is disconnected.
6701
6701
  * @summary Stream State
package/v2/api.js CHANGED
@@ -4053,19 +4053,19 @@ export const MotionGroupApiAxiosParamCreator = function (configuration) {
4053
4053
  };
4054
4054
  },
4055
4055
  /**
4056
- * Get the complete set of parameters that can be passed to the motion-planner (incl. safety zones, limits etc.).
4057
- * @summary Planning Parameters
4056
+ * Get the set of parameters that describe the motion group and its configuration including safety zones, limits, etc. This data might change upon connection to the robot.
4057
+ * @summary Description
4058
4058
  * @param {string} cell Unique identifier addressing a cell in all API calls.
4059
4059
  * @param {string} motionGroup The motion-group identifier.
4060
4060
  * @param {*} [options] Override http request option.
4061
4061
  * @throws {RequiredError}
4062
4062
  */
4063
- getPlanningParameters: async (cell, motionGroup, options = {}) => {
4063
+ getMotionGroupDescription: async (cell, motionGroup, options = {}) => {
4064
4064
  // verify required parameter 'cell' is not null or undefined
4065
- assertParamExists('getPlanningParameters', 'cell', cell);
4065
+ assertParamExists('getMotionGroupDescription', 'cell', cell);
4066
4066
  // verify required parameter 'motionGroup' is not null or undefined
4067
- assertParamExists('getPlanningParameters', 'motionGroup', motionGroup);
4068
- const localVarPath = `/cells/{cell}/motion-groups/{motion-group}/planning-parameters`
4067
+ assertParamExists('getMotionGroupDescription', 'motionGroup', motionGroup);
4068
+ const localVarPath = `/cells/{cell}/motion-groups/{motion-group}/description`
4069
4069
  .replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
4070
4070
  .replace(`{${"motion-group"}}`, encodeURIComponent(String(motionGroup)));
4071
4071
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -4163,17 +4163,17 @@ export const MotionGroupApiFp = function (configuration) {
4163
4163
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4164
4164
  },
4165
4165
  /**
4166
- * Get the complete set of parameters that can be passed to the motion-planner (incl. safety zones, limits etc.).
4167
- * @summary Planning Parameters
4166
+ * Get the set of parameters that describe the motion group and its configuration including safety zones, limits, etc. This data might change upon connection to the robot.
4167
+ * @summary Description
4168
4168
  * @param {string} cell Unique identifier addressing a cell in all API calls.
4169
4169
  * @param {string} motionGroup The motion-group identifier.
4170
4170
  * @param {*} [options] Override http request option.
4171
4171
  * @throws {RequiredError}
4172
4172
  */
4173
- async getPlanningParameters(cell, motionGroup, options) {
4174
- const localVarAxiosArgs = await localVarAxiosParamCreator.getPlanningParameters(cell, motionGroup, options);
4173
+ async getMotionGroupDescription(cell, motionGroup, options) {
4174
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getMotionGroupDescription(cell, motionGroup, options);
4175
4175
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4176
- const localVarOperationServerBasePath = operationServerMap['MotionGroupApi.getPlanningParameters']?.[localVarOperationServerIndex]?.url;
4176
+ const localVarOperationServerBasePath = operationServerMap['MotionGroupApi.getMotionGroupDescription']?.[localVarOperationServerIndex]?.url;
4177
4177
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4178
4178
  },
4179
4179
  /**
@@ -4214,15 +4214,15 @@ export const MotionGroupApiFactory = function (configuration, basePath, axios) {
4214
4214
  return localVarFp.getCurrentMotionGroupState(cell, motionGroup, responseCoordinateSystem, options).then((request) => request(axios, basePath));
4215
4215
  },
4216
4216
  /**
4217
- * Get the complete set of parameters that can be passed to the motion-planner (incl. safety zones, limits etc.).
4218
- * @summary Planning Parameters
4217
+ * Get the set of parameters that describe the motion group and its configuration including safety zones, limits, etc. This data might change upon connection to the robot.
4218
+ * @summary Description
4219
4219
  * @param {string} cell Unique identifier addressing a cell in all API calls.
4220
4220
  * @param {string} motionGroup The motion-group identifier.
4221
4221
  * @param {*} [options] Override http request option.
4222
4222
  * @throws {RequiredError}
4223
4223
  */
4224
- getPlanningParameters(cell, motionGroup, options) {
4225
- return localVarFp.getPlanningParameters(cell, motionGroup, options).then((request) => request(axios, basePath));
4224
+ getMotionGroupDescription(cell, motionGroup, options) {
4225
+ return localVarFp.getMotionGroupDescription(cell, motionGroup, options).then((request) => request(axios, basePath));
4226
4226
  },
4227
4227
  /**
4228
4228
  * <!-- theme: danger --> > Websocket endpoint Receive updates of the motion group state. The stream will be closed from the server if the controller is disconnected.
@@ -4260,16 +4260,16 @@ export class MotionGroupApi extends BaseAPI {
4260
4260
  return MotionGroupApiFp(this.configuration).getCurrentMotionGroupState(cell, motionGroup, responseCoordinateSystem, options).then((request) => request(this.axios, this.basePath));
4261
4261
  }
4262
4262
  /**
4263
- * Get the complete set of parameters that can be passed to the motion-planner (incl. safety zones, limits etc.).
4264
- * @summary Planning Parameters
4263
+ * Get the set of parameters that describe the motion group and its configuration including safety zones, limits, etc. This data might change upon connection to the robot.
4264
+ * @summary Description
4265
4265
  * @param {string} cell Unique identifier addressing a cell in all API calls.
4266
4266
  * @param {string} motionGroup The motion-group identifier.
4267
4267
  * @param {*} [options] Override http request option.
4268
4268
  * @throws {RequiredError}
4269
4269
  * @memberof MotionGroupApi
4270
4270
  */
4271
- getPlanningParameters(cell, motionGroup, options) {
4272
- return MotionGroupApiFp(this.configuration).getPlanningParameters(cell, motionGroup, options).then((request) => request(this.axios, this.basePath));
4271
+ getMotionGroupDescription(cell, motionGroup, options) {
4272
+ return MotionGroupApiFp(this.configuration).getMotionGroupDescription(cell, motionGroup, options).then((request) => request(this.axios, this.basePath));
4273
4273
  }
4274
4274
  /**
4275
4275
  * <!-- theme: danger --> > Websocket endpoint Receive updates of the motion group state. The stream will be closed from the server if the controller is disconnected.