@wandelbots/nova-api 25.6.0-dev.2 → 25.6.0-dev.3

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
@@ -2215,6 +2215,50 @@ export interface InvalidDofInvalidDof {
2215
2215
  */
2216
2216
  'joint_position'?: Array<number>;
2217
2217
  }
2218
+ /**
2219
+ *
2220
+ * @export
2221
+ * @interface InverseKinematicsRequest
2222
+ */
2223
+ export interface InverseKinematicsRequest {
2224
+ /**
2225
+ * The robot setup as returned from [getOptimizerConfiguration](getOptimizerConfiguration).
2226
+ * @type {OptimizerSetup}
2227
+ * @memberof InverseKinematicsRequest
2228
+ */
2229
+ 'robot_setup': OptimizerSetup;
2230
+ /**
2231
+ * List of TCP poses for which the inverse solutions are computed.
2232
+ * @type {Array<Pose>}
2233
+ * @memberof InverseKinematicsRequest
2234
+ */
2235
+ 'tcp_poses': Array<Pose>;
2236
+ /**
2237
+ * A collection of identifiable colliders.
2238
+ * @type {{ [key: string]: Collider; }}
2239
+ * @memberof InverseKinematicsRequest
2240
+ */
2241
+ 'static_colliders'?: { [key: string]: Collider; };
2242
+ /**
2243
+ * Collision motion group.
2244
+ * @type {CollisionMotionGroup}
2245
+ * @memberof InverseKinematicsRequest
2246
+ */
2247
+ 'collision_motion_group'?: CollisionMotionGroup;
2248
+ }
2249
+ /**
2250
+ *
2251
+ * @export
2252
+ * @interface InverseKinematicsResponse
2253
+ */
2254
+ export interface InverseKinematicsResponse {
2255
+ /**
2256
+ *
2257
+ * @type {Array<Array<Array<number>>>}
2258
+ * @memberof InverseKinematicsResponse
2259
+ */
2260
+ 'joints': Array<Array<Array<number>>>;
2261
+ }
2218
2262
  /**
2219
2263
  * Response signalling an error during jogging execution. This response is sent in case of an unexpected error, e.g. controller disconnects.
2220
2264
  * @export
@@ -3289,6 +3333,7 @@ export const MotionGroupModel = {
3289
3333
  YaskawaTurn2: 'Yaskawa_TURN2',
3290
3334
  YaskawaTurn3: 'Yaskawa_TURN3',
3291
3335
  KukaKr150R2: 'KUKA_KR150_R2',
3336
+ KukaKr3R540: 'KUKA_KR3_R540',
3292
3337
  KukaKr4R600: 'KUKA_KR4_R600',
3293
3338
  KukaKr6R700: 'KUKA_KR6_R700',
3294
3339
  KukaKr6R7002: 'KUKA_KR6_R700_2',
@@ -6057,6 +6102,7 @@ export const VirtualControllerTypes = {
6057
6102
  KukaKr210R33002: 'kuka-kr210_r3300_2',
6058
6103
  KukaKr240R2700: 'kuka-kr240_r2700',
6059
6104
  KukaKr250R27002: 'kuka-kr250_r2700_2',
6105
+ KukaKr3R540: 'kuka-kr3_r540',
6060
6106
  KukaKr30R3: 'kuka-kr30_r3',
6061
6107
  KukaKr360L2403: 'kuka-kr360_l240_3',
6062
6108
  KukaKr4R600: 'kuka-kr4_r600',
@@ -9465,6 +9511,129 @@ export class CoordinateSystemsApi extends BaseAPI {
9465
9511
 
9466
9512
 
9467
9513
 
9514
+ /**
9515
+ * InverseKinematicsApi - axios parameter creator
9516
+ * @export
9517
+ */
9518
+ export const InverseKinematicsApiAxiosParamCreator = function (configuration?: Configuration) {
9519
+ return {
9520
+ /**
9521
+ * Returns the reachable joint positions for a list of given poses.
9522
+ * @summary Inverse kinematics
9523
+ * @param {string} cell Unique identifier addressing a cell in all API calls.
9524
+ * @param {InverseKinematicsRequest} [inverseKinematicsRequest]
9525
+ * @param {*} [options] Override http request option.
9526
+ * @throws {RequiredError}
9527
+ */
9528
+ inverseKinematics: async (cell: string, inverseKinematicsRequest?: InverseKinematicsRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9529
+ // verify required parameter 'cell' is not null or undefined
9530
+ assertParamExists('inverseKinematics', 'cell', cell)
9531
+ const localVarPath = `/cells/{cell}/kinematic/inverse-kinematics`
9532
+ .replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
9533
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
9534
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9535
+ let baseOptions;
9536
+ if (configuration) {
9537
+ baseOptions = configuration.baseOptions;
9538
+ }
9539
+
9540
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
9541
+ const localVarHeaderParameter = {} as any;
9542
+ const localVarQueryParameter = {} as any;
9543
+
9544
+ // authentication BasicAuth required
9545
+ // http basic authentication required
9546
+ setBasicAuthToObject(localVarRequestOptions, configuration)
9547
+
9548
+ // authentication BearerAuth required
9549
+ // http bearer authentication required
9550
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
9551
+
9552
+
9553
+
9554
+ localVarHeaderParameter['Content-Type'] = 'application/json';
9555
+
9556
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
9557
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9558
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
9559
+ localVarRequestOptions.data = serializeDataIfNeeded(inverseKinematicsRequest, localVarRequestOptions, configuration)
9560
+
9561
+ return {
9562
+ url: toPathString(localVarUrlObj),
9563
+ options: localVarRequestOptions,
9564
+ };
9565
+ },
9566
+ }
9567
+ };
9568
+
9569
+ /**
9570
+ * InverseKinematicsApi - functional programming interface
9571
+ * @export
9572
+ */
9573
+ export const InverseKinematicsApiFp = function(configuration?: Configuration) {
9574
+ const localVarAxiosParamCreator = InverseKinematicsApiAxiosParamCreator(configuration)
9575
+ return {
9576
+ /**
9577
+ * Returns the reachable joint positions for a list of given poses.
9578
+ * @summary Inverse kinematics
9579
+ * @param {string} cell Unique identifier addressing a cell in all API calls.
9580
+ * @param {InverseKinematicsRequest} [inverseKinematicsRequest]
9581
+ * @param {*} [options] Override http request option.
9582
+ * @throws {RequiredError}
9583
+ */
9584
+ async inverseKinematics(cell: string, inverseKinematicsRequest?: InverseKinematicsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InverseKinematicsResponse>> {
9585
+ const localVarAxiosArgs = await localVarAxiosParamCreator.inverseKinematics(cell, inverseKinematicsRequest, options);
9586
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
9587
+ const localVarOperationServerBasePath = operationServerMap['InverseKinematicsApi.inverseKinematics']?.[localVarOperationServerIndex]?.url;
9588
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9589
+ },
9590
+ }
9591
+ };
9592
+
9593
+ /**
9594
+ * InverseKinematicsApi - factory interface
9595
+ * @export
9596
+ */
9597
+ export const InverseKinematicsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
9598
+ const localVarFp = InverseKinematicsApiFp(configuration)
9599
+ return {
9600
+ /**
9601
+ * Returns the reachable joint positions for a list of given poses.
9602
+ * @summary Inverse kinematics
9603
+ * @param {string} cell Unique identifier addressing a cell in all API calls.
9604
+ * @param {InverseKinematicsRequest} [inverseKinematicsRequest]
9605
+ * @param {*} [options] Override http request option.
9606
+ * @throws {RequiredError}
9607
+ */
9608
+ inverseKinematics(cell: string, inverseKinematicsRequest?: InverseKinematicsRequest, options?: RawAxiosRequestConfig): AxiosPromise<InverseKinematicsResponse> {
9609
+ return localVarFp.inverseKinematics(cell, inverseKinematicsRequest, options).then((request) => request(axios, basePath));
9610
+ },
9611
+ };
9612
+ };
9613
+
9614
+ /**
9615
+ * InverseKinematicsApi - object-oriented interface
9616
+ * @export
9617
+ * @class InverseKinematicsApi
9618
+ * @extends {BaseAPI}
9619
+ */
9620
+ export class InverseKinematicsApi extends BaseAPI {
9621
+ /**
9622
+ * Returns the reachable joint positions for a list of given poses.
9623
+ * @summary Inverse kinematics
9624
+ * @param {string} cell Unique identifier addressing a cell in all API calls.
9625
+ * @param {InverseKinematicsRequest} [inverseKinematicsRequest]
9626
+ * @param {*} [options] Override http request option.
9627
+ * @throws {RequiredError}
9628
+ * @memberof InverseKinematicsApi
9629
+ */
9630
+ public inverseKinematics(cell: string, inverseKinematicsRequest?: InverseKinematicsRequest, options?: RawAxiosRequestConfig) {
9631
+ return InverseKinematicsApiFp(this.configuration).inverseKinematics(cell, inverseKinematicsRequest, options).then((request) => request(this.axios, this.basePath));
9632
+ }
9633
+ }
9634
+
9635
+
9636
+
9468
9637
  /**
9469
9638
  * JoggingApi - axios parameter creator
9470
9639
  * @export