@wandelbots/nova-api 25.6.0-dev.2 → 25.6.0-dev.4
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 +1 -1
- package/v1/api.d.ts +2 -0
- package/v1/api.js +2 -0
- package/v1/api.js.map +1 -1
- package/v1/api.ts +2 -0
- package/v2/api.d.ts +111 -0
- package/v2/api.js +111 -0
- package/v2/api.js.map +1 -1
- package/v2/api.ts +169 -0
package/v1/api.ts
CHANGED
|
@@ -7555,6 +7555,7 @@ export const VirtualControllerTypes = {
|
|
|
7555
7555
|
KukaKr210R33002: 'kuka-kr210_r3300_2',
|
|
7556
7556
|
KukaKr240R2700: 'kuka-kr240_r2700',
|
|
7557
7557
|
KukaKr250R27002: 'kuka-kr250_r2700_2',
|
|
7558
|
+
KukaKr3R540: 'kuka-kr3_r540',
|
|
7558
7559
|
KukaKr30R3: 'kuka-kr30_r3',
|
|
7559
7560
|
KukaKr360L2403: 'kuka-kr360_l240_3',
|
|
7560
7561
|
KukaKr4R600: 'kuka-kr4_r600',
|
|
@@ -20690,6 +20691,7 @@ export const GetDefaultLinkChainMotionGroupModelEnum = {
|
|
|
20690
20691
|
YaskawaTurn2: 'Yaskawa_TURN2',
|
|
20691
20692
|
YaskawaTurn3: 'Yaskawa_TURN3',
|
|
20692
20693
|
KukaKr150R2: 'KUKA_KR150_R2',
|
|
20694
|
+
KukaKr3R540: 'KUKA_KR3_R540',
|
|
20693
20695
|
KukaKr4R600: 'KUKA_KR4_R600',
|
|
20694
20696
|
KukaKr6R700: 'KUKA_KR6_R700',
|
|
20695
20697
|
KukaKr6R7002: 'KUKA_KR6_R700_2',
|
package/v2/api.d.ts
CHANGED
|
@@ -2147,6 +2147,52 @@ export interface InvalidDofInvalidDof {
|
|
|
2147
2147
|
*/
|
|
2148
2148
|
'joint_position'?: Array<number>;
|
|
2149
2149
|
}
|
|
2150
|
+
/**
|
|
2151
|
+
*
|
|
2152
|
+
* @export
|
|
2153
|
+
* @interface InverseKinematicsRequest
|
|
2154
|
+
*/
|
|
2155
|
+
export interface InverseKinematicsRequest {
|
|
2156
|
+
/**
|
|
2157
|
+
* The robot setup as returned from [getOptimizerConfiguration](getOptimizerConfiguration).
|
|
2158
|
+
* @type {OptimizerSetup}
|
|
2159
|
+
* @memberof InverseKinematicsRequest
|
|
2160
|
+
*/
|
|
2161
|
+
'robot_setup': OptimizerSetup;
|
|
2162
|
+
/**
|
|
2163
|
+
* List of TCP poses for which the inverse solutions are computed.
|
|
2164
|
+
* @type {Array<Pose>}
|
|
2165
|
+
* @memberof InverseKinematicsRequest
|
|
2166
|
+
*/
|
|
2167
|
+
'tcp_poses': Array<Pose>;
|
|
2168
|
+
/**
|
|
2169
|
+
* A collection of identifiable colliders.
|
|
2170
|
+
* @type {{ [key: string]: Collider; }}
|
|
2171
|
+
* @memberof InverseKinematicsRequest
|
|
2172
|
+
*/
|
|
2173
|
+
'static_colliders'?: {
|
|
2174
|
+
[key: string]: Collider;
|
|
2175
|
+
};
|
|
2176
|
+
/**
|
|
2177
|
+
* Collision motion group.
|
|
2178
|
+
* @type {CollisionMotionGroup}
|
|
2179
|
+
* @memberof InverseKinematicsRequest
|
|
2180
|
+
*/
|
|
2181
|
+
'collision_motion_group'?: CollisionMotionGroup;
|
|
2182
|
+
}
|
|
2183
|
+
/**
|
|
2184
|
+
*
|
|
2185
|
+
* @export
|
|
2186
|
+
* @interface InverseKinematicsResponse
|
|
2187
|
+
*/
|
|
2188
|
+
export interface InverseKinematicsResponse {
|
|
2189
|
+
/**
|
|
2190
|
+
*
|
|
2191
|
+
* @type {Array<Array<Array<number>>>}
|
|
2192
|
+
* @memberof InverseKinematicsResponse
|
|
2193
|
+
*/
|
|
2194
|
+
'joints': Array<Array<Array<number>>>;
|
|
2195
|
+
}
|
|
2150
2196
|
/**
|
|
2151
2197
|
* Response signalling an error during jogging execution. This response is sent in case of an unexpected error, e.g. controller disconnects.
|
|
2152
2198
|
* @export
|
|
@@ -3193,6 +3239,7 @@ export declare const MotionGroupModel: {
|
|
|
3193
3239
|
readonly YaskawaTurn2: "Yaskawa_TURN2";
|
|
3194
3240
|
readonly YaskawaTurn3: "Yaskawa_TURN3";
|
|
3195
3241
|
readonly KukaKr150R2: "KUKA_KR150_R2";
|
|
3242
|
+
readonly KukaKr3R540: "KUKA_KR3_R540";
|
|
3196
3243
|
readonly KukaKr4R600: "KUKA_KR4_R600";
|
|
3197
3244
|
readonly KukaKr6R700: "KUKA_KR6_R700";
|
|
3198
3245
|
readonly KukaKr6R7002: "KUKA_KR6_R700_2";
|
|
@@ -5810,6 +5857,7 @@ export declare const VirtualControllerTypes: {
|
|
|
5810
5857
|
readonly KukaKr210R33002: "kuka-kr210_r3300_2";
|
|
5811
5858
|
readonly KukaKr240R2700: "kuka-kr240_r2700";
|
|
5812
5859
|
readonly KukaKr250R27002: "kuka-kr250_r2700_2";
|
|
5860
|
+
readonly KukaKr3R540: "kuka-kr3_r540";
|
|
5813
5861
|
readonly KukaKr30R3: "kuka-kr30_r3";
|
|
5814
5862
|
readonly KukaKr360L2403: "kuka-kr360_l240_3";
|
|
5815
5863
|
readonly KukaKr4R600: "kuka-kr4_r600";
|
|
@@ -7406,6 +7454,69 @@ export declare class CoordinateSystemsApi extends BaseAPI {
|
|
|
7406
7454
|
*/
|
|
7407
7455
|
transformInCoordinateSystem(cell: string, coordinateSystem: string, poseInCoordinateSystem: PoseInCoordinateSystem, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PoseInCoordinateSystem, any>>;
|
|
7408
7456
|
}
|
|
7457
|
+
/**
|
|
7458
|
+
* InverseKinematicsApi - axios parameter creator
|
|
7459
|
+
* @export
|
|
7460
|
+
*/
|
|
7461
|
+
export declare const InverseKinematicsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
7462
|
+
/**
|
|
7463
|
+
* Returns the reachable joint positions for a list of given poses.
|
|
7464
|
+
* @summary Inverse kinematics
|
|
7465
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
7466
|
+
* @param {InverseKinematicsRequest} [inverseKinematicsRequest]
|
|
7467
|
+
* @param {*} [options] Override http request option.
|
|
7468
|
+
* @throws {RequiredError}
|
|
7469
|
+
*/
|
|
7470
|
+
inverseKinematics: (cell: string, inverseKinematicsRequest?: InverseKinematicsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
7471
|
+
};
|
|
7472
|
+
/**
|
|
7473
|
+
* InverseKinematicsApi - functional programming interface
|
|
7474
|
+
* @export
|
|
7475
|
+
*/
|
|
7476
|
+
export declare const InverseKinematicsApiFp: (configuration?: Configuration) => {
|
|
7477
|
+
/**
|
|
7478
|
+
* Returns the reachable joint positions for a list of given poses.
|
|
7479
|
+
* @summary Inverse kinematics
|
|
7480
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
7481
|
+
* @param {InverseKinematicsRequest} [inverseKinematicsRequest]
|
|
7482
|
+
* @param {*} [options] Override http request option.
|
|
7483
|
+
* @throws {RequiredError}
|
|
7484
|
+
*/
|
|
7485
|
+
inverseKinematics(cell: string, inverseKinematicsRequest?: InverseKinematicsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InverseKinematicsResponse>>;
|
|
7486
|
+
};
|
|
7487
|
+
/**
|
|
7488
|
+
* InverseKinematicsApi - factory interface
|
|
7489
|
+
* @export
|
|
7490
|
+
*/
|
|
7491
|
+
export declare const InverseKinematicsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
7492
|
+
/**
|
|
7493
|
+
* Returns the reachable joint positions for a list of given poses.
|
|
7494
|
+
* @summary Inverse kinematics
|
|
7495
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
7496
|
+
* @param {InverseKinematicsRequest} [inverseKinematicsRequest]
|
|
7497
|
+
* @param {*} [options] Override http request option.
|
|
7498
|
+
* @throws {RequiredError}
|
|
7499
|
+
*/
|
|
7500
|
+
inverseKinematics(cell: string, inverseKinematicsRequest?: InverseKinematicsRequest, options?: RawAxiosRequestConfig): AxiosPromise<InverseKinematicsResponse>;
|
|
7501
|
+
};
|
|
7502
|
+
/**
|
|
7503
|
+
* InverseKinematicsApi - object-oriented interface
|
|
7504
|
+
* @export
|
|
7505
|
+
* @class InverseKinematicsApi
|
|
7506
|
+
* @extends {BaseAPI}
|
|
7507
|
+
*/
|
|
7508
|
+
export declare class InverseKinematicsApi extends BaseAPI {
|
|
7509
|
+
/**
|
|
7510
|
+
* Returns the reachable joint positions for a list of given poses.
|
|
7511
|
+
* @summary Inverse kinematics
|
|
7512
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
7513
|
+
* @param {InverseKinematicsRequest} [inverseKinematicsRequest]
|
|
7514
|
+
* @param {*} [options] Override http request option.
|
|
7515
|
+
* @throws {RequiredError}
|
|
7516
|
+
* @memberof InverseKinematicsApi
|
|
7517
|
+
*/
|
|
7518
|
+
inverseKinematics(cell: string, inverseKinematicsRequest?: InverseKinematicsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InverseKinematicsResponse, any>>;
|
|
7519
|
+
}
|
|
7409
7520
|
/**
|
|
7410
7521
|
* JoggingApi - axios parameter creator
|
|
7411
7522
|
* @export
|
package/v2/api.js
CHANGED
|
@@ -310,6 +310,7 @@ export const MotionGroupModel = {
|
|
|
310
310
|
YaskawaTurn2: 'Yaskawa_TURN2',
|
|
311
311
|
YaskawaTurn3: 'Yaskawa_TURN3',
|
|
312
312
|
KukaKr150R2: 'KUKA_KR150_R2',
|
|
313
|
+
KukaKr3R540: 'KUKA_KR3_R540',
|
|
313
314
|
KukaKr4R600: 'KUKA_KR4_R600',
|
|
314
315
|
KukaKr6R700: 'KUKA_KR6_R700',
|
|
315
316
|
KukaKr6R7002: 'KUKA_KR6_R700_2',
|
|
@@ -687,6 +688,7 @@ export const VirtualControllerTypes = {
|
|
|
687
688
|
KukaKr210R33002: 'kuka-kr210_r3300_2',
|
|
688
689
|
KukaKr240R2700: 'kuka-kr240_r2700',
|
|
689
690
|
KukaKr250R27002: 'kuka-kr250_r2700_2',
|
|
691
|
+
KukaKr3R540: 'kuka-kr3_r540',
|
|
690
692
|
KukaKr30R3: 'kuka-kr30_r3',
|
|
691
693
|
KukaKr360L2403: 'kuka-kr360_l240_3',
|
|
692
694
|
KukaKr4R600: 'kuka-kr4_r600',
|
|
@@ -3690,6 +3692,115 @@ export class CoordinateSystemsApi extends BaseAPI {
|
|
|
3690
3692
|
return CoordinateSystemsApiFp(this.configuration).transformInCoordinateSystem(cell, coordinateSystem, poseInCoordinateSystem, options).then((request) => request(this.axios, this.basePath));
|
|
3691
3693
|
}
|
|
3692
3694
|
}
|
|
3695
|
+
/**
|
|
3696
|
+
* InverseKinematicsApi - axios parameter creator
|
|
3697
|
+
* @export
|
|
3698
|
+
*/
|
|
3699
|
+
export const InverseKinematicsApiAxiosParamCreator = function (configuration) {
|
|
3700
|
+
return {
|
|
3701
|
+
/**
|
|
3702
|
+
* Returns the reachable joint positions for a list of given poses.
|
|
3703
|
+
* @summary Inverse kinematics
|
|
3704
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
3705
|
+
* @param {InverseKinematicsRequest} [inverseKinematicsRequest]
|
|
3706
|
+
* @param {*} [options] Override http request option.
|
|
3707
|
+
* @throws {RequiredError}
|
|
3708
|
+
*/
|
|
3709
|
+
inverseKinematics: async (cell, inverseKinematicsRequest, options = {}) => {
|
|
3710
|
+
// verify required parameter 'cell' is not null or undefined
|
|
3711
|
+
assertParamExists('inverseKinematics', 'cell', cell);
|
|
3712
|
+
const localVarPath = `/cells/{cell}/kinematic/inverse-kinematics`
|
|
3713
|
+
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
|
|
3714
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3715
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3716
|
+
let baseOptions;
|
|
3717
|
+
if (configuration) {
|
|
3718
|
+
baseOptions = configuration.baseOptions;
|
|
3719
|
+
}
|
|
3720
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
3721
|
+
const localVarHeaderParameter = {};
|
|
3722
|
+
const localVarQueryParameter = {};
|
|
3723
|
+
// authentication BasicAuth required
|
|
3724
|
+
// http basic authentication required
|
|
3725
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3726
|
+
// authentication BearerAuth required
|
|
3727
|
+
// http bearer authentication required
|
|
3728
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3729
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3730
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3731
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3732
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3733
|
+
localVarRequestOptions.data = serializeDataIfNeeded(inverseKinematicsRequest, localVarRequestOptions, configuration);
|
|
3734
|
+
return {
|
|
3735
|
+
url: toPathString(localVarUrlObj),
|
|
3736
|
+
options: localVarRequestOptions,
|
|
3737
|
+
};
|
|
3738
|
+
},
|
|
3739
|
+
};
|
|
3740
|
+
};
|
|
3741
|
+
/**
|
|
3742
|
+
* InverseKinematicsApi - functional programming interface
|
|
3743
|
+
* @export
|
|
3744
|
+
*/
|
|
3745
|
+
export const InverseKinematicsApiFp = function (configuration) {
|
|
3746
|
+
const localVarAxiosParamCreator = InverseKinematicsApiAxiosParamCreator(configuration);
|
|
3747
|
+
return {
|
|
3748
|
+
/**
|
|
3749
|
+
* Returns the reachable joint positions for a list of given poses.
|
|
3750
|
+
* @summary Inverse kinematics
|
|
3751
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
3752
|
+
* @param {InverseKinematicsRequest} [inverseKinematicsRequest]
|
|
3753
|
+
* @param {*} [options] Override http request option.
|
|
3754
|
+
* @throws {RequiredError}
|
|
3755
|
+
*/
|
|
3756
|
+
async inverseKinematics(cell, inverseKinematicsRequest, options) {
|
|
3757
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.inverseKinematics(cell, inverseKinematicsRequest, options);
|
|
3758
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3759
|
+
const localVarOperationServerBasePath = operationServerMap['InverseKinematicsApi.inverseKinematics']?.[localVarOperationServerIndex]?.url;
|
|
3760
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3761
|
+
},
|
|
3762
|
+
};
|
|
3763
|
+
};
|
|
3764
|
+
/**
|
|
3765
|
+
* InverseKinematicsApi - factory interface
|
|
3766
|
+
* @export
|
|
3767
|
+
*/
|
|
3768
|
+
export const InverseKinematicsApiFactory = function (configuration, basePath, axios) {
|
|
3769
|
+
const localVarFp = InverseKinematicsApiFp(configuration);
|
|
3770
|
+
return {
|
|
3771
|
+
/**
|
|
3772
|
+
* Returns the reachable joint positions for a list of given poses.
|
|
3773
|
+
* @summary Inverse kinematics
|
|
3774
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
3775
|
+
* @param {InverseKinematicsRequest} [inverseKinematicsRequest]
|
|
3776
|
+
* @param {*} [options] Override http request option.
|
|
3777
|
+
* @throws {RequiredError}
|
|
3778
|
+
*/
|
|
3779
|
+
inverseKinematics(cell, inverseKinematicsRequest, options) {
|
|
3780
|
+
return localVarFp.inverseKinematics(cell, inverseKinematicsRequest, options).then((request) => request(axios, basePath));
|
|
3781
|
+
},
|
|
3782
|
+
};
|
|
3783
|
+
};
|
|
3784
|
+
/**
|
|
3785
|
+
* InverseKinematicsApi - object-oriented interface
|
|
3786
|
+
* @export
|
|
3787
|
+
* @class InverseKinematicsApi
|
|
3788
|
+
* @extends {BaseAPI}
|
|
3789
|
+
*/
|
|
3790
|
+
export class InverseKinematicsApi extends BaseAPI {
|
|
3791
|
+
/**
|
|
3792
|
+
* Returns the reachable joint positions for a list of given poses.
|
|
3793
|
+
* @summary Inverse kinematics
|
|
3794
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
3795
|
+
* @param {InverseKinematicsRequest} [inverseKinematicsRequest]
|
|
3796
|
+
* @param {*} [options] Override http request option.
|
|
3797
|
+
* @throws {RequiredError}
|
|
3798
|
+
* @memberof InverseKinematicsApi
|
|
3799
|
+
*/
|
|
3800
|
+
inverseKinematics(cell, inverseKinematicsRequest, options) {
|
|
3801
|
+
return InverseKinematicsApiFp(this.configuration).inverseKinematics(cell, inverseKinematicsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3802
|
+
}
|
|
3803
|
+
}
|
|
3693
3804
|
/**
|
|
3694
3805
|
* JoggingApi - axios parameter creator
|
|
3695
3806
|
* @export
|