@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/v2/api.ts CHANGED
@@ -1872,7 +1872,7 @@ export interface InvalidDofInvalidDof {
1872
1872
  */
1873
1873
  export interface InverseKinematicsRequest {
1874
1874
  /**
1875
- * The data to assemble the robot setup can be retrieved from [getPlanningParameters](getPlanningParameters) endpoint.
1875
+ * The data to assemble the robot setup can be retrieved from [getMotionGroupDescription](getMotionGroupDescription) endpoint.
1876
1876
  * @type {RobotSetup}
1877
1877
  * @memberof InverseKinematicsRequest
1878
1878
  */
@@ -2461,6 +2461,73 @@ export interface MotionGroupBehaviorGetter {
2461
2461
  }
2462
2462
 
2463
2463
 
2464
+ /**
2465
+ * The configuration of a motion-group used for motion planning.
2466
+ * @export
2467
+ * @interface MotionGroupDescription
2468
+ */
2469
+ export interface MotionGroupDescription {
2470
+ /**
2471
+ * String identifiying the model of a motion group.
2472
+ * @type {string}
2473
+ * @memberof MotionGroupDescription
2474
+ */
2475
+ 'motion_group_type': string;
2476
+ /**
2477
+ * The offset from the world frame to the motion group base.
2478
+ * @type {Pose}
2479
+ * @memberof MotionGroupDescription
2480
+ */
2481
+ 'mounting': Pose;
2482
+ /**
2483
+ * Maps a TCP name to its offset relative to the flange coordinate system. Key must be a TCP identifier. Values are TcpOffsets.
2484
+ * @type {{ [key: string]: TcpOffset; }}
2485
+ * @memberof MotionGroupDescription
2486
+ */
2487
+ 'tcps': { [key: string]: TcpOffset; };
2488
+ /**
2489
+ * A collection of identifiable colliders.
2490
+ * @type {{ [key: string]: Collider; }}
2491
+ * @memberof MotionGroupDescription
2492
+ */
2493
+ 'safety_zones'?: { [key: string]: Collider; };
2494
+ /**
2495
+ * 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.
2496
+ * @type {Array<{ [key: string]: Collider; }>}
2497
+ * @memberof MotionGroupDescription
2498
+ */
2499
+ 'safety_link_colliders'?: Array<{ [key: string]: Collider; }>;
2500
+ /**
2501
+ * 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.
2502
+ * @type {{ [key: string]: { [key: string]: Collider; }; }}
2503
+ * @memberof MotionGroupDescription
2504
+ */
2505
+ 'safety_tool_colliders'?: { [key: string]: { [key: string]: Collider; }; };
2506
+ /**
2507
+ *
2508
+ * @type {PlanningLimits}
2509
+ * @memberof MotionGroupDescription
2510
+ */
2511
+ 'global_limits': PlanningLimits;
2512
+ /**
2513
+ * Maps a payload name to its configuration. Key must be a payload identifier. Values are payload objects.
2514
+ * @type {{ [key: string]: Payload; }}
2515
+ * @memberof MotionGroupDescription
2516
+ */
2517
+ 'payloads'?: { [key: string]: Payload; };
2518
+ /**
2519
+ * [ms] cycle time of the motion group controller. A trajectory for this motion group should be computed to this resolution.
2520
+ * @type {number}
2521
+ * @memberof MotionGroupDescription
2522
+ */
2523
+ 'cycle_time'?: number;
2524
+ /**
2525
+ * The DH parameters describing the motion group geometry, starting from base.
2526
+ * @type {Array<DHParameter>}
2527
+ * @memberof MotionGroupDescription
2528
+ */
2529
+ 'dh_parameters'?: Array<DHParameter>;
2530
+ }
2464
2531
  /**
2465
2532
  *
2466
2533
  * @export
@@ -3287,7 +3354,7 @@ export type PlanTrajectoryFailedResponseErrorFeedback = FeedbackCollision | Feed
3287
3354
  */
3288
3355
  export interface PlanTrajectoryRequest {
3289
3356
  /**
3290
- * The data to assemble the robot setup can be retrieved from [getPlanningParameters](getPlanningParameters) endpoint.
3357
+ * The data to assemble the robot setup can be retrieved from [getMotionGroupDescription](getMotionGroupDescription) endpoint.
3291
3358
  * @type {RobotSetup}
3292
3359
  * @memberof PlanTrajectoryRequest
3293
3360
  */
@@ -3442,73 +3509,6 @@ export interface PlanningLimitsLimitRange {
3442
3509
  */
3443
3510
  'upper_limit': number;
3444
3511
  }
3445
- /**
3446
- * The configuration of a motion-group used for motion planning.
3447
- * @export
3448
- * @interface PlanningParameters
3449
- */
3450
- export interface PlanningParameters {
3451
- /**
3452
- * String identifiying the model of a motion group.
3453
- * @type {string}
3454
- * @memberof PlanningParameters
3455
- */
3456
- 'motion_group_type': string;
3457
- /**
3458
- * The offset from the world frame to the motion group base.
3459
- * @type {Pose}
3460
- * @memberof PlanningParameters
3461
- */
3462
- 'mounting': Pose;
3463
- /**
3464
- * Maps a TCP name to its offset relative to the flange coordinate system. Key must be a TCP identifier. Values are TcpOffsets.
3465
- * @type {{ [key: string]: TcpOffset; }}
3466
- * @memberof PlanningParameters
3467
- */
3468
- 'tcps': { [key: string]: TcpOffset; };
3469
- /**
3470
- * A collection of identifiable colliders.
3471
- * @type {{ [key: string]: Collider; }}
3472
- * @memberof PlanningParameters
3473
- */
3474
- 'safety_zones'?: { [key: string]: Collider; };
3475
- /**
3476
- * 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.
3477
- * @type {Array<{ [key: string]: Collider; }>}
3478
- * @memberof PlanningParameters
3479
- */
3480
- 'safety_link_colliders'?: Array<{ [key: string]: Collider; }>;
3481
- /**
3482
- * 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.
3483
- * @type {{ [key: string]: { [key: string]: Collider; }; }}
3484
- * @memberof PlanningParameters
3485
- */
3486
- 'safety_tool_colliders'?: { [key: string]: { [key: string]: Collider; }; };
3487
- /**
3488
- *
3489
- * @type {PlanningLimits}
3490
- * @memberof PlanningParameters
3491
- */
3492
- 'global_limits': PlanningLimits;
3493
- /**
3494
- * Maps a payload name to its configuration. Key must be a payload identifier. Values are payload objects.
3495
- * @type {{ [key: string]: Payload; }}
3496
- * @memberof PlanningParameters
3497
- */
3498
- 'payloads'?: { [key: string]: Payload; };
3499
- /**
3500
- * [ms] cycle time of the motion group controller. A trajectory for this motion group should be computed to this resolution.
3501
- * @type {number}
3502
- * @memberof PlanningParameters
3503
- */
3504
- 'cycle_time'?: number;
3505
- /**
3506
- * The DH parameters describing the motion group geometry, starting from base.
3507
- * @type {Array<DHParameter>}
3508
- * @memberof PlanningParameters
3509
- */
3510
- 'dh_parameters'?: Array<DHParameter>;
3511
- }
3512
3512
  /**
3513
3513
  * Sets velocity for executed movements of the motion, in percent. Send after initializing the connection with InitializeMovementRequest.
3514
3514
  * @export
@@ -8931,19 +8931,19 @@ export const MotionGroupApiAxiosParamCreator = function (configuration?: Configu
8931
8931
  };
8932
8932
  },
8933
8933
  /**
8934
- * Get the complete set of parameters that can be passed to the motion-planner (incl. safety zones, limits etc.).
8935
- * @summary Planning Parameters
8934
+ * 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.
8935
+ * @summary Description
8936
8936
  * @param {string} cell Unique identifier addressing a cell in all API calls.
8937
8937
  * @param {string} motionGroup The motion-group identifier.
8938
8938
  * @param {*} [options] Override http request option.
8939
8939
  * @throws {RequiredError}
8940
8940
  */
8941
- getPlanningParameters: async (cell: string, motionGroup: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
8941
+ getMotionGroupDescription: async (cell: string, motionGroup: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
8942
8942
  // verify required parameter 'cell' is not null or undefined
8943
- assertParamExists('getPlanningParameters', 'cell', cell)
8943
+ assertParamExists('getMotionGroupDescription', 'cell', cell)
8944
8944
  // verify required parameter 'motionGroup' is not null or undefined
8945
- assertParamExists('getPlanningParameters', 'motionGroup', motionGroup)
8946
- const localVarPath = `/cells/{cell}/motion-groups/{motion-group}/planning-parameters`
8945
+ assertParamExists('getMotionGroupDescription', 'motionGroup', motionGroup)
8946
+ const localVarPath = `/cells/{cell}/motion-groups/{motion-group}/description`
8947
8947
  .replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
8948
8948
  .replace(`{${"motion-group"}}`, encodeURIComponent(String(motionGroup)));
8949
8949
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -9058,17 +9058,17 @@ export const MotionGroupApiFp = function(configuration?: Configuration) {
9058
9058
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9059
9059
  },
9060
9060
  /**
9061
- * Get the complete set of parameters that can be passed to the motion-planner (incl. safety zones, limits etc.).
9062
- * @summary Planning Parameters
9061
+ * 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.
9062
+ * @summary Description
9063
9063
  * @param {string} cell Unique identifier addressing a cell in all API calls.
9064
9064
  * @param {string} motionGroup The motion-group identifier.
9065
9065
  * @param {*} [options] Override http request option.
9066
9066
  * @throws {RequiredError}
9067
9067
  */
9068
- async getPlanningParameters(cell: string, motionGroup: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlanningParameters>> {
9069
- const localVarAxiosArgs = await localVarAxiosParamCreator.getPlanningParameters(cell, motionGroup, options);
9068
+ async getMotionGroupDescription(cell: string, motionGroup: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MotionGroupDescription>> {
9069
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getMotionGroupDescription(cell, motionGroup, options);
9070
9070
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
9071
- const localVarOperationServerBasePath = operationServerMap['MotionGroupApi.getPlanningParameters']?.[localVarOperationServerIndex]?.url;
9071
+ const localVarOperationServerBasePath = operationServerMap['MotionGroupApi.getMotionGroupDescription']?.[localVarOperationServerIndex]?.url;
9072
9072
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9073
9073
  },
9074
9074
  /**
@@ -9110,15 +9110,15 @@ export const MotionGroupApiFactory = function (configuration?: Configuration, ba
9110
9110
  return localVarFp.getCurrentMotionGroupState(cell, motionGroup, responseCoordinateSystem, options).then((request) => request(axios, basePath));
9111
9111
  },
9112
9112
  /**
9113
- * Get the complete set of parameters that can be passed to the motion-planner (incl. safety zones, limits etc.).
9114
- * @summary Planning Parameters
9113
+ * 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.
9114
+ * @summary Description
9115
9115
  * @param {string} cell Unique identifier addressing a cell in all API calls.
9116
9116
  * @param {string} motionGroup The motion-group identifier.
9117
9117
  * @param {*} [options] Override http request option.
9118
9118
  * @throws {RequiredError}
9119
9119
  */
9120
- getPlanningParameters(cell: string, motionGroup: string, options?: RawAxiosRequestConfig): AxiosPromise<PlanningParameters> {
9121
- return localVarFp.getPlanningParameters(cell, motionGroup, options).then((request) => request(axios, basePath));
9120
+ getMotionGroupDescription(cell: string, motionGroup: string, options?: RawAxiosRequestConfig): AxiosPromise<MotionGroupDescription> {
9121
+ return localVarFp.getMotionGroupDescription(cell, motionGroup, options).then((request) => request(axios, basePath));
9122
9122
  },
9123
9123
  /**
9124
9124
  * <!-- theme: danger --> > Websocket endpoint Receive updates of the motion group state. The stream will be closed from the server if the controller is disconnected.
@@ -9158,16 +9158,16 @@ export class MotionGroupApi extends BaseAPI {
9158
9158
  }
9159
9159
 
9160
9160
  /**
9161
- * Get the complete set of parameters that can be passed to the motion-planner (incl. safety zones, limits etc.).
9162
- * @summary Planning Parameters
9161
+ * 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.
9162
+ * @summary Description
9163
9163
  * @param {string} cell Unique identifier addressing a cell in all API calls.
9164
9164
  * @param {string} motionGroup The motion-group identifier.
9165
9165
  * @param {*} [options] Override http request option.
9166
9166
  * @throws {RequiredError}
9167
9167
  * @memberof MotionGroupApi
9168
9168
  */
9169
- public getPlanningParameters(cell: string, motionGroup: string, options?: RawAxiosRequestConfig) {
9170
- return MotionGroupApiFp(this.configuration).getPlanningParameters(cell, motionGroup, options).then((request) => request(this.axios, this.basePath));
9169
+ public getMotionGroupDescription(cell: string, motionGroup: string, options?: RawAxiosRequestConfig) {
9170
+ return MotionGroupApiFp(this.configuration).getMotionGroupDescription(cell, motionGroup, options).then((request) => request(this.axios, this.basePath));
9171
9171
  }
9172
9172
 
9173
9173
  /**