@wandelbots/nova-api 25.6.0-dev.38 → 25.6.0-dev.39
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/v2/api.d.ts +102 -76
- package/v2/api.js +179 -145
- package/v2/api.js.map +1 -1
- package/v2/api.ts +200 -161
package/v2/api.ts
CHANGED
|
@@ -8845,6 +8845,206 @@ export class MotionGroupApi extends BaseAPI {
|
|
|
8845
8845
|
|
|
8846
8846
|
|
|
8847
8847
|
|
|
8848
|
+
/**
|
|
8849
|
+
* MotionGroupModelsApi - axios parameter creator
|
|
8850
|
+
* @export
|
|
8851
|
+
*/
|
|
8852
|
+
export const MotionGroupModelsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
8853
|
+
return {
|
|
8854
|
+
/**
|
|
8855
|
+
* Returns the default collision link chain for a given motion group model. See [getMotionGroupDescription](getMotionGroupDescription) for supported motion group models. The default link chain is derived from 3D models and optimized for collision detection within NOVA. The default link chain includes link shapes only. It does not include any attached components like wire feeders or sensors. Use the `stored_link_chain` or `link_chain` field in [storeCollisionScene](storeCollisionScene) to attach additional shapes to the link reference frames. Additional shapes may overlap each other per link and may also overlap the respective link\'s default shape.
|
|
8856
|
+
* @summary Get Collision Model
|
|
8857
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8858
|
+
* @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).
|
|
8859
|
+
* @param {*} [options] Override http request option.
|
|
8860
|
+
* @throws {RequiredError}
|
|
8861
|
+
*/
|
|
8862
|
+
getMotionGroupCollisionModel: async (cell: string, motionGroupModel: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8863
|
+
// verify required parameter 'cell' is not null or undefined
|
|
8864
|
+
assertParamExists('getMotionGroupCollisionModel', 'cell', cell)
|
|
8865
|
+
// verify required parameter 'motionGroupModel' is not null or undefined
|
|
8866
|
+
assertParamExists('getMotionGroupCollisionModel', 'motionGroupModel', motionGroupModel)
|
|
8867
|
+
const localVarPath = `/cells/{cell}/motion-group-models/{motion-group-model}/collision-model`
|
|
8868
|
+
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
8869
|
+
.replace(`{${"motion-group-model"}}`, encodeURIComponent(String(motionGroupModel)));
|
|
8870
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8871
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8872
|
+
let baseOptions;
|
|
8873
|
+
if (configuration) {
|
|
8874
|
+
baseOptions = configuration.baseOptions;
|
|
8875
|
+
}
|
|
8876
|
+
|
|
8877
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
8878
|
+
const localVarHeaderParameter = {} as any;
|
|
8879
|
+
const localVarQueryParameter = {} as any;
|
|
8880
|
+
|
|
8881
|
+
// authentication BasicAuth required
|
|
8882
|
+
// http basic authentication required
|
|
8883
|
+
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
8884
|
+
|
|
8885
|
+
// authentication BearerAuth required
|
|
8886
|
+
// http bearer authentication required
|
|
8887
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
8888
|
+
|
|
8889
|
+
|
|
8890
|
+
|
|
8891
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8892
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8893
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
8894
|
+
|
|
8895
|
+
return {
|
|
8896
|
+
url: toPathString(localVarUrlObj),
|
|
8897
|
+
options: localVarRequestOptions,
|
|
8898
|
+
};
|
|
8899
|
+
},
|
|
8900
|
+
/**
|
|
8901
|
+
* Returns motion group models that are supported for planning.
|
|
8902
|
+
* @summary Motion Group Models
|
|
8903
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8904
|
+
* @param {*} [options] Override http request option.
|
|
8905
|
+
* @throws {RequiredError}
|
|
8906
|
+
*/
|
|
8907
|
+
getMotionGroupModels: async (cell: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8908
|
+
// verify required parameter 'cell' is not null or undefined
|
|
8909
|
+
assertParamExists('getMotionGroupModels', 'cell', cell)
|
|
8910
|
+
const localVarPath = `/cells/{cell}/motion-group-models`
|
|
8911
|
+
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
|
|
8912
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8913
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8914
|
+
let baseOptions;
|
|
8915
|
+
if (configuration) {
|
|
8916
|
+
baseOptions = configuration.baseOptions;
|
|
8917
|
+
}
|
|
8918
|
+
|
|
8919
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
8920
|
+
const localVarHeaderParameter = {} as any;
|
|
8921
|
+
const localVarQueryParameter = {} as any;
|
|
8922
|
+
|
|
8923
|
+
// authentication BasicAuth required
|
|
8924
|
+
// http basic authentication required
|
|
8925
|
+
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
8926
|
+
|
|
8927
|
+
// authentication BearerAuth required
|
|
8928
|
+
// http bearer authentication required
|
|
8929
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
8930
|
+
|
|
8931
|
+
|
|
8932
|
+
|
|
8933
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8934
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8935
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
8936
|
+
|
|
8937
|
+
return {
|
|
8938
|
+
url: toPathString(localVarUrlObj),
|
|
8939
|
+
options: localVarRequestOptions,
|
|
8940
|
+
};
|
|
8941
|
+
},
|
|
8942
|
+
}
|
|
8943
|
+
};
|
|
8944
|
+
|
|
8945
|
+
/**
|
|
8946
|
+
* MotionGroupModelsApi - functional programming interface
|
|
8947
|
+
* @export
|
|
8948
|
+
*/
|
|
8949
|
+
export const MotionGroupModelsApiFp = function(configuration?: Configuration) {
|
|
8950
|
+
const localVarAxiosParamCreator = MotionGroupModelsApiAxiosParamCreator(configuration)
|
|
8951
|
+
return {
|
|
8952
|
+
/**
|
|
8953
|
+
* Returns the default collision link chain for a given motion group model. See [getMotionGroupDescription](getMotionGroupDescription) for supported motion group models. The default link chain is derived from 3D models and optimized for collision detection within NOVA. The default link chain includes link shapes only. It does not include any attached components like wire feeders or sensors. Use the `stored_link_chain` or `link_chain` field in [storeCollisionScene](storeCollisionScene) to attach additional shapes to the link reference frames. Additional shapes may overlap each other per link and may also overlap the respective link\'s default shape.
|
|
8954
|
+
* @summary Get Collision Model
|
|
8955
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8956
|
+
* @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).
|
|
8957
|
+
* @param {*} [options] Override http request option.
|
|
8958
|
+
* @throws {RequiredError}
|
|
8959
|
+
*/
|
|
8960
|
+
async getMotionGroupCollisionModel(cell: string, motionGroupModel: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<{ [key: string]: Collider; }>>> {
|
|
8961
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getMotionGroupCollisionModel(cell, motionGroupModel, options);
|
|
8962
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8963
|
+
const localVarOperationServerBasePath = operationServerMap['MotionGroupModelsApi.getMotionGroupCollisionModel']?.[localVarOperationServerIndex]?.url;
|
|
8964
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8965
|
+
},
|
|
8966
|
+
/**
|
|
8967
|
+
* Returns motion group models that are supported for planning.
|
|
8968
|
+
* @summary Motion Group Models
|
|
8969
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8970
|
+
* @param {*} [options] Override http request option.
|
|
8971
|
+
* @throws {RequiredError}
|
|
8972
|
+
*/
|
|
8973
|
+
async getMotionGroupModels(cell: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string>>> {
|
|
8974
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getMotionGroupModels(cell, options);
|
|
8975
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8976
|
+
const localVarOperationServerBasePath = operationServerMap['MotionGroupModelsApi.getMotionGroupModels']?.[localVarOperationServerIndex]?.url;
|
|
8977
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8978
|
+
},
|
|
8979
|
+
}
|
|
8980
|
+
};
|
|
8981
|
+
|
|
8982
|
+
/**
|
|
8983
|
+
* MotionGroupModelsApi - factory interface
|
|
8984
|
+
* @export
|
|
8985
|
+
*/
|
|
8986
|
+
export const MotionGroupModelsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
8987
|
+
const localVarFp = MotionGroupModelsApiFp(configuration)
|
|
8988
|
+
return {
|
|
8989
|
+
/**
|
|
8990
|
+
* Returns the default collision link chain for a given motion group model. See [getMotionGroupDescription](getMotionGroupDescription) for supported motion group models. The default link chain is derived from 3D models and optimized for collision detection within NOVA. The default link chain includes link shapes only. It does not include any attached components like wire feeders or sensors. Use the `stored_link_chain` or `link_chain` field in [storeCollisionScene](storeCollisionScene) to attach additional shapes to the link reference frames. Additional shapes may overlap each other per link and may also overlap the respective link\'s default shape.
|
|
8991
|
+
* @summary Get Collision Model
|
|
8992
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8993
|
+
* @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).
|
|
8994
|
+
* @param {*} [options] Override http request option.
|
|
8995
|
+
* @throws {RequiredError}
|
|
8996
|
+
*/
|
|
8997
|
+
getMotionGroupCollisionModel(cell: string, motionGroupModel: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<{ [key: string]: Collider; }>> {
|
|
8998
|
+
return localVarFp.getMotionGroupCollisionModel(cell, motionGroupModel, options).then((request) => request(axios, basePath));
|
|
8999
|
+
},
|
|
9000
|
+
/**
|
|
9001
|
+
* Returns motion group models that are supported for planning.
|
|
9002
|
+
* @summary Motion Group Models
|
|
9003
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9004
|
+
* @param {*} [options] Override http request option.
|
|
9005
|
+
* @throws {RequiredError}
|
|
9006
|
+
*/
|
|
9007
|
+
getMotionGroupModels(cell: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>> {
|
|
9008
|
+
return localVarFp.getMotionGroupModels(cell, options).then((request) => request(axios, basePath));
|
|
9009
|
+
},
|
|
9010
|
+
};
|
|
9011
|
+
};
|
|
9012
|
+
|
|
9013
|
+
/**
|
|
9014
|
+
* MotionGroupModelsApi - object-oriented interface
|
|
9015
|
+
* @export
|
|
9016
|
+
* @class MotionGroupModelsApi
|
|
9017
|
+
* @extends {BaseAPI}
|
|
9018
|
+
*/
|
|
9019
|
+
export class MotionGroupModelsApi extends BaseAPI {
|
|
9020
|
+
/**
|
|
9021
|
+
* Returns the default collision link chain for a given motion group model. See [getMotionGroupDescription](getMotionGroupDescription) for supported motion group models. The default link chain is derived from 3D models and optimized for collision detection within NOVA. The default link chain includes link shapes only. It does not include any attached components like wire feeders or sensors. Use the `stored_link_chain` or `link_chain` field in [storeCollisionScene](storeCollisionScene) to attach additional shapes to the link reference frames. Additional shapes may overlap each other per link and may also overlap the respective link\'s default shape.
|
|
9022
|
+
* @summary Get Collision Model
|
|
9023
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9024
|
+
* @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).
|
|
9025
|
+
* @param {*} [options] Override http request option.
|
|
9026
|
+
* @throws {RequiredError}
|
|
9027
|
+
* @memberof MotionGroupModelsApi
|
|
9028
|
+
*/
|
|
9029
|
+
public getMotionGroupCollisionModel(cell: string, motionGroupModel: string, options?: RawAxiosRequestConfig) {
|
|
9030
|
+
return MotionGroupModelsApiFp(this.configuration).getMotionGroupCollisionModel(cell, motionGroupModel, options).then((request) => request(this.axios, this.basePath));
|
|
9031
|
+
}
|
|
9032
|
+
|
|
9033
|
+
/**
|
|
9034
|
+
* Returns motion group models that are supported for planning.
|
|
9035
|
+
* @summary Motion Group Models
|
|
9036
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
9037
|
+
* @param {*} [options] Override http request option.
|
|
9038
|
+
* @throws {RequiredError}
|
|
9039
|
+
* @memberof MotionGroupModelsApi
|
|
9040
|
+
*/
|
|
9041
|
+
public getMotionGroupModels(cell: string, options?: RawAxiosRequestConfig) {
|
|
9042
|
+
return MotionGroupModelsApiFp(this.configuration).getMotionGroupModels(cell, options).then((request) => request(this.axios, this.basePath));
|
|
9043
|
+
}
|
|
9044
|
+
}
|
|
9045
|
+
|
|
9046
|
+
|
|
9047
|
+
|
|
8848
9048
|
/**
|
|
8849
9049
|
* ProgramApi - axios parameter creator
|
|
8850
9050
|
* @export
|
|
@@ -13149,94 +13349,6 @@ export class TrajectoryExecutionApi extends BaseAPI {
|
|
|
13149
13349
|
*/
|
|
13150
13350
|
export const TrajectoryPlanningApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
13151
13351
|
return {
|
|
13152
|
-
/**
|
|
13153
|
-
* Returns the default collision link chain for a given motion group model. See [getPlanningMotionGroupModels](getPlanningMotionGroupModels) for supported motion group models. The default link chain is derived from 3D models and optimized for collision detection within NOVA. The default link chain includes link shapes only. It does not include any attached components like wire feeders or sensors. Use the `stored_link_chain` or `link_chain` field in [storeCollisionScene](storeCollisionScene) to attach additional shapes to the link reference frames. Additional shapes may overlap each other per link and may also overlap the respective link\'s default shape.
|
|
13154
|
-
* @summary Get Default Link Chain
|
|
13155
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
13156
|
-
* @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).
|
|
13157
|
-
* @param {*} [options] Override http request option.
|
|
13158
|
-
* @throws {RequiredError}
|
|
13159
|
-
*/
|
|
13160
|
-
getDefaultLinkChain: async (cell: string, motionGroupModel: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13161
|
-
// verify required parameter 'cell' is not null or undefined
|
|
13162
|
-
assertParamExists('getDefaultLinkChain', 'cell', cell)
|
|
13163
|
-
// verify required parameter 'motionGroupModel' is not null or undefined
|
|
13164
|
-
assertParamExists('getDefaultLinkChain', 'motionGroupModel', motionGroupModel)
|
|
13165
|
-
const localVarPath = `/cells/{cell}/store/collision/default-link-chains/{motion-group-model}`
|
|
13166
|
-
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
13167
|
-
.replace(`{${"motion-group-model"}}`, encodeURIComponent(String(motionGroupModel)));
|
|
13168
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13169
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13170
|
-
let baseOptions;
|
|
13171
|
-
if (configuration) {
|
|
13172
|
-
baseOptions = configuration.baseOptions;
|
|
13173
|
-
}
|
|
13174
|
-
|
|
13175
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
13176
|
-
const localVarHeaderParameter = {} as any;
|
|
13177
|
-
const localVarQueryParameter = {} as any;
|
|
13178
|
-
|
|
13179
|
-
// authentication BasicAuth required
|
|
13180
|
-
// http basic authentication required
|
|
13181
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
13182
|
-
|
|
13183
|
-
// authentication BearerAuth required
|
|
13184
|
-
// http bearer authentication required
|
|
13185
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
13186
|
-
|
|
13187
|
-
|
|
13188
|
-
|
|
13189
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13190
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13191
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
13192
|
-
|
|
13193
|
-
return {
|
|
13194
|
-
url: toPathString(localVarUrlObj),
|
|
13195
|
-
options: localVarRequestOptions,
|
|
13196
|
-
};
|
|
13197
|
-
},
|
|
13198
|
-
/**
|
|
13199
|
-
* Returns motion group models that are supported for planning.
|
|
13200
|
-
* @summary Motion Group Models for Planning
|
|
13201
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
13202
|
-
* @param {*} [options] Override http request option.
|
|
13203
|
-
* @throws {RequiredError}
|
|
13204
|
-
*/
|
|
13205
|
-
getMotionGroupModelsForPlanning: async (cell: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13206
|
-
// verify required parameter 'cell' is not null or undefined
|
|
13207
|
-
assertParamExists('getMotionGroupModelsForPlanning', 'cell', cell)
|
|
13208
|
-
const localVarPath = `/cells/{cell}/motion-planning/motion-group-models`
|
|
13209
|
-
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
|
|
13210
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13211
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13212
|
-
let baseOptions;
|
|
13213
|
-
if (configuration) {
|
|
13214
|
-
baseOptions = configuration.baseOptions;
|
|
13215
|
-
}
|
|
13216
|
-
|
|
13217
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
13218
|
-
const localVarHeaderParameter = {} as any;
|
|
13219
|
-
const localVarQueryParameter = {} as any;
|
|
13220
|
-
|
|
13221
|
-
// authentication BasicAuth required
|
|
13222
|
-
// http basic authentication required
|
|
13223
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
13224
|
-
|
|
13225
|
-
// authentication BearerAuth required
|
|
13226
|
-
// http bearer authentication required
|
|
13227
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
13228
|
-
|
|
13229
|
-
|
|
13230
|
-
|
|
13231
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13232
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13233
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
13234
|
-
|
|
13235
|
-
return {
|
|
13236
|
-
url: toPathString(localVarUrlObj),
|
|
13237
|
-
options: localVarRequestOptions,
|
|
13238
|
-
};
|
|
13239
|
-
},
|
|
13240
13352
|
/**
|
|
13241
13353
|
* Plans a new trajectory for a single motion group. Describe the trajectory as a sequence of motion commands that the robots TCP should follow. Use the following workflow to execute a planned trajectory: 1. Plan a trajectory. 2. Optional: Load the planned trajectory into the cache using the [addTrajectory](addTrajectory) endpoint. 3. Execute the (cached) trajectory using the [executeTrajectory](executeTrajectory) endpoint. If the trajectory is not executable, the [PlanTrajectoryResponse](PlanTrajectoryResponse) will contain the joint trajectory up until the error, e.g. all samples until a collision occurs. EXCEPTION: If a CartesianPTP or JointPTP motion command has an invalid target, the response will contain the trajectory up until the start of the invalid PTP motion.
|
|
13242
13354
|
* @summary Plan Trajectory
|
|
@@ -13293,33 +13405,6 @@ export const TrajectoryPlanningApiAxiosParamCreator = function (configuration?:
|
|
|
13293
13405
|
export const TrajectoryPlanningApiFp = function(configuration?: Configuration) {
|
|
13294
13406
|
const localVarAxiosParamCreator = TrajectoryPlanningApiAxiosParamCreator(configuration)
|
|
13295
13407
|
return {
|
|
13296
|
-
/**
|
|
13297
|
-
* Returns the default collision link chain for a given motion group model. See [getPlanningMotionGroupModels](getPlanningMotionGroupModels) for supported motion group models. The default link chain is derived from 3D models and optimized for collision detection within NOVA. The default link chain includes link shapes only. It does not include any attached components like wire feeders or sensors. Use the `stored_link_chain` or `link_chain` field in [storeCollisionScene](storeCollisionScene) to attach additional shapes to the link reference frames. Additional shapes may overlap each other per link and may also overlap the respective link\'s default shape.
|
|
13298
|
-
* @summary Get Default Link Chain
|
|
13299
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
13300
|
-
* @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).
|
|
13301
|
-
* @param {*} [options] Override http request option.
|
|
13302
|
-
* @throws {RequiredError}
|
|
13303
|
-
*/
|
|
13304
|
-
async getDefaultLinkChain(cell: string, motionGroupModel: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<{ [key: string]: Collider; }>>> {
|
|
13305
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getDefaultLinkChain(cell, motionGroupModel, options);
|
|
13306
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
13307
|
-
const localVarOperationServerBasePath = operationServerMap['TrajectoryPlanningApi.getDefaultLinkChain']?.[localVarOperationServerIndex]?.url;
|
|
13308
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13309
|
-
},
|
|
13310
|
-
/**
|
|
13311
|
-
* Returns motion group models that are supported for planning.
|
|
13312
|
-
* @summary Motion Group Models for Planning
|
|
13313
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
13314
|
-
* @param {*} [options] Override http request option.
|
|
13315
|
-
* @throws {RequiredError}
|
|
13316
|
-
*/
|
|
13317
|
-
async getMotionGroupModelsForPlanning(cell: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string>>> {
|
|
13318
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getMotionGroupModelsForPlanning(cell, options);
|
|
13319
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
13320
|
-
const localVarOperationServerBasePath = operationServerMap['TrajectoryPlanningApi.getMotionGroupModelsForPlanning']?.[localVarOperationServerIndex]?.url;
|
|
13321
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13322
|
-
},
|
|
13323
13408
|
/**
|
|
13324
13409
|
* Plans a new trajectory for a single motion group. Describe the trajectory as a sequence of motion commands that the robots TCP should follow. Use the following workflow to execute a planned trajectory: 1. Plan a trajectory. 2. Optional: Load the planned trajectory into the cache using the [addTrajectory](addTrajectory) endpoint. 3. Execute the (cached) trajectory using the [executeTrajectory](executeTrajectory) endpoint. If the trajectory is not executable, the [PlanTrajectoryResponse](PlanTrajectoryResponse) will contain the joint trajectory up until the error, e.g. all samples until a collision occurs. EXCEPTION: If a CartesianPTP or JointPTP motion command has an invalid target, the response will contain the trajectory up until the start of the invalid PTP motion.
|
|
13325
13410
|
* @summary Plan Trajectory
|
|
@@ -13344,27 +13429,6 @@ export const TrajectoryPlanningApiFp = function(configuration?: Configuration) {
|
|
|
13344
13429
|
export const TrajectoryPlanningApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
13345
13430
|
const localVarFp = TrajectoryPlanningApiFp(configuration)
|
|
13346
13431
|
return {
|
|
13347
|
-
/**
|
|
13348
|
-
* Returns the default collision link chain for a given motion group model. See [getPlanningMotionGroupModels](getPlanningMotionGroupModels) for supported motion group models. The default link chain is derived from 3D models and optimized for collision detection within NOVA. The default link chain includes link shapes only. It does not include any attached components like wire feeders or sensors. Use the `stored_link_chain` or `link_chain` field in [storeCollisionScene](storeCollisionScene) to attach additional shapes to the link reference frames. Additional shapes may overlap each other per link and may also overlap the respective link\'s default shape.
|
|
13349
|
-
* @summary Get Default Link Chain
|
|
13350
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
13351
|
-
* @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).
|
|
13352
|
-
* @param {*} [options] Override http request option.
|
|
13353
|
-
* @throws {RequiredError}
|
|
13354
|
-
*/
|
|
13355
|
-
getDefaultLinkChain(cell: string, motionGroupModel: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<{ [key: string]: Collider; }>> {
|
|
13356
|
-
return localVarFp.getDefaultLinkChain(cell, motionGroupModel, options).then((request) => request(axios, basePath));
|
|
13357
|
-
},
|
|
13358
|
-
/**
|
|
13359
|
-
* Returns motion group models that are supported for planning.
|
|
13360
|
-
* @summary Motion Group Models for Planning
|
|
13361
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
13362
|
-
* @param {*} [options] Override http request option.
|
|
13363
|
-
* @throws {RequiredError}
|
|
13364
|
-
*/
|
|
13365
|
-
getMotionGroupModelsForPlanning(cell: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>> {
|
|
13366
|
-
return localVarFp.getMotionGroupModelsForPlanning(cell, options).then((request) => request(axios, basePath));
|
|
13367
|
-
},
|
|
13368
13432
|
/**
|
|
13369
13433
|
* Plans a new trajectory for a single motion group. Describe the trajectory as a sequence of motion commands that the robots TCP should follow. Use the following workflow to execute a planned trajectory: 1. Plan a trajectory. 2. Optional: Load the planned trajectory into the cache using the [addTrajectory](addTrajectory) endpoint. 3. Execute the (cached) trajectory using the [executeTrajectory](executeTrajectory) endpoint. If the trajectory is not executable, the [PlanTrajectoryResponse](PlanTrajectoryResponse) will contain the joint trajectory up until the error, e.g. all samples until a collision occurs. EXCEPTION: If a CartesianPTP or JointPTP motion command has an invalid target, the response will contain the trajectory up until the start of the invalid PTP motion.
|
|
13370
13434
|
* @summary Plan Trajectory
|
|
@@ -13386,31 +13450,6 @@ export const TrajectoryPlanningApiFactory = function (configuration?: Configurat
|
|
|
13386
13450
|
* @extends {BaseAPI}
|
|
13387
13451
|
*/
|
|
13388
13452
|
export class TrajectoryPlanningApi extends BaseAPI {
|
|
13389
|
-
/**
|
|
13390
|
-
* Returns the default collision link chain for a given motion group model. See [getPlanningMotionGroupModels](getPlanningMotionGroupModels) for supported motion group models. The default link chain is derived from 3D models and optimized for collision detection within NOVA. The default link chain includes link shapes only. It does not include any attached components like wire feeders or sensors. Use the `stored_link_chain` or `link_chain` field in [storeCollisionScene](storeCollisionScene) to attach additional shapes to the link reference frames. Additional shapes may overlap each other per link and may also overlap the respective link\'s default shape.
|
|
13391
|
-
* @summary Get Default Link Chain
|
|
13392
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
13393
|
-
* @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).
|
|
13394
|
-
* @param {*} [options] Override http request option.
|
|
13395
|
-
* @throws {RequiredError}
|
|
13396
|
-
* @memberof TrajectoryPlanningApi
|
|
13397
|
-
*/
|
|
13398
|
-
public getDefaultLinkChain(cell: string, motionGroupModel: string, options?: RawAxiosRequestConfig) {
|
|
13399
|
-
return TrajectoryPlanningApiFp(this.configuration).getDefaultLinkChain(cell, motionGroupModel, options).then((request) => request(this.axios, this.basePath));
|
|
13400
|
-
}
|
|
13401
|
-
|
|
13402
|
-
/**
|
|
13403
|
-
* Returns motion group models that are supported for planning.
|
|
13404
|
-
* @summary Motion Group Models for Planning
|
|
13405
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
13406
|
-
* @param {*} [options] Override http request option.
|
|
13407
|
-
* @throws {RequiredError}
|
|
13408
|
-
* @memberof TrajectoryPlanningApi
|
|
13409
|
-
*/
|
|
13410
|
-
public getMotionGroupModelsForPlanning(cell: string, options?: RawAxiosRequestConfig) {
|
|
13411
|
-
return TrajectoryPlanningApiFp(this.configuration).getMotionGroupModelsForPlanning(cell, options).then((request) => request(this.axios, this.basePath));
|
|
13412
|
-
}
|
|
13413
|
-
|
|
13414
13453
|
/**
|
|
13415
13454
|
* Plans a new trajectory for a single motion group. Describe the trajectory as a sequence of motion commands that the robots TCP should follow. Use the following workflow to execute a planned trajectory: 1. Plan a trajectory. 2. Optional: Load the planned trajectory into the cache using the [addTrajectory](addTrajectory) endpoint. 3. Execute the (cached) trajectory using the [executeTrajectory](executeTrajectory) endpoint. If the trajectory is not executable, the [PlanTrajectoryResponse](PlanTrajectoryResponse) will contain the joint trajectory up until the error, e.g. all samples until a collision occurs. EXCEPTION: If a CartesianPTP or JointPTP motion command has an invalid target, the response will contain the trajectory up until the start of the invalid PTP motion.
|
|
13416
13455
|
* @summary Plan Trajectory
|