@wandelbots/nova-api 26.1.0-dev.60 → 26.1.0-dev.62
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/dist/v1/index.d.cts +178 -178
- package/dist/v1/index.d.ts +178 -178
- package/dist/v2/index.cjs +46 -0
- package/dist/v2/index.d.cts +179 -137
- package/dist/v2/index.d.ts +179 -137
- package/dist/v2/index.js +46 -0
- package/package.json +1 -1
package/dist/v2/index.js
CHANGED
|
@@ -3686,6 +3686,33 @@ const MotionGroupModelsApiAxiosParamCreator = function(configuration) {
|
|
|
3686
3686
|
options: localVarRequestOptions
|
|
3687
3687
|
};
|
|
3688
3688
|
},
|
|
3689
|
+
getMotionGroupKinematicModel: async (motionGroupModel, options = {}) => {
|
|
3690
|
+
assertParamExists("getMotionGroupKinematicModel", "motionGroupModel", motionGroupModel);
|
|
3691
|
+
const localVarPath = `/motion-group-models/{motion-group-model}/kinematic`.replace(`{motion-group-model}`, encodeURIComponent(String(motionGroupModel)));
|
|
3692
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3693
|
+
let baseOptions;
|
|
3694
|
+
if (configuration) baseOptions = configuration.baseOptions;
|
|
3695
|
+
const localVarRequestOptions = {
|
|
3696
|
+
method: "GET",
|
|
3697
|
+
...baseOptions,
|
|
3698
|
+
...options
|
|
3699
|
+
};
|
|
3700
|
+
const localVarHeaderParameter = {};
|
|
3701
|
+
const localVarQueryParameter = {};
|
|
3702
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3703
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3704
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3705
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3706
|
+
localVarRequestOptions.headers = {
|
|
3707
|
+
...localVarHeaderParameter,
|
|
3708
|
+
...headersFromBaseOptions,
|
|
3709
|
+
...options.headers
|
|
3710
|
+
};
|
|
3711
|
+
return {
|
|
3712
|
+
url: toPathString(localVarUrlObj),
|
|
3713
|
+
options: localVarRequestOptions
|
|
3714
|
+
};
|
|
3715
|
+
},
|
|
3689
3716
|
getMotionGroupModels: async (options = {}) => {
|
|
3690
3717
|
const localVarUrlObj = new URL(`/motion-group-models`, DUMMY_BASE_URL);
|
|
3691
3718
|
let baseOptions;
|
|
@@ -3758,6 +3785,12 @@ const MotionGroupModelsApiFp = function(configuration) {
|
|
|
3758
3785
|
const localVarOperationServerBasePath = operationServerMap["MotionGroupModelsApi.getMotionGroupGlbModel"]?.[localVarOperationServerIndex]?.url;
|
|
3759
3786
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3760
3787
|
},
|
|
3788
|
+
async getMotionGroupKinematicModel(motionGroupModel, options) {
|
|
3789
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getMotionGroupKinematicModel(motionGroupModel, options);
|
|
3790
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3791
|
+
const localVarOperationServerBasePath = operationServerMap["MotionGroupModelsApi.getMotionGroupKinematicModel"]?.[localVarOperationServerIndex]?.url;
|
|
3792
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3793
|
+
},
|
|
3761
3794
|
async getMotionGroupModels(options) {
|
|
3762
3795
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getMotionGroupModels(options);
|
|
3763
3796
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
@@ -3784,6 +3817,9 @@ const MotionGroupModelsApiFactory = function(configuration, basePath, axios) {
|
|
|
3784
3817
|
getMotionGroupGlbModel(motionGroupModel, options) {
|
|
3785
3818
|
return localVarFp.getMotionGroupGlbModel(motionGroupModel, options).then((request) => request(axios, basePath));
|
|
3786
3819
|
},
|
|
3820
|
+
getMotionGroupKinematicModel(motionGroupModel, options) {
|
|
3821
|
+
return localVarFp.getMotionGroupKinematicModel(motionGroupModel, options).then((request) => request(axios, basePath));
|
|
3822
|
+
},
|
|
3787
3823
|
getMotionGroupModels(options) {
|
|
3788
3824
|
return localVarFp.getMotionGroupModels(options).then((request) => request(axios, basePath));
|
|
3789
3825
|
},
|
|
@@ -3817,6 +3853,16 @@ var MotionGroupModelsApi = class extends BaseAPI {
|
|
|
3817
3853
|
return MotionGroupModelsApiFp(this.configuration).getMotionGroupGlbModel(motionGroupModel, options).then((request) => request(this.axios, this.basePath));
|
|
3818
3854
|
}
|
|
3819
3855
|
/**
|
|
3856
|
+
* Returns the kinematics model (DH parameters) for the given motion group model. See [getMotionGroupModels](getMotionGroupModels) for supported motion group models.
|
|
3857
|
+
* @summary Get Kinematics
|
|
3858
|
+
* @param {string} motionGroupModel Unique identifier for the model of a motion group, e.g., `UniversalRobots_UR10e`. Get the `model` of a configured motion group with [getOptimizerConfiguration](getOptimizerConfiguration).
|
|
3859
|
+
* @param {*} [options] Override http request option.
|
|
3860
|
+
* @throws {RequiredError}
|
|
3861
|
+
*/
|
|
3862
|
+
getMotionGroupKinematicModel(motionGroupModel, options) {
|
|
3863
|
+
return MotionGroupModelsApiFp(this.configuration).getMotionGroupKinematicModel(motionGroupModel, options).then((request) => request(this.axios, this.basePath));
|
|
3864
|
+
}
|
|
3865
|
+
/**
|
|
3820
3866
|
* Returns the list of supported motion group models.
|
|
3821
3867
|
* @summary Motion Group Models
|
|
3822
3868
|
* @param {*} [options] Override http request option.
|