@wandelbots/nova-api 25.6.0-dev.37 → 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 -209
- package/v2/api.js +179 -401
- package/v2/api.js.map +1 -1
- package/v2/api.ts +200 -448
package/v2/api.js
CHANGED
|
@@ -1103,262 +1103,6 @@ export class ApplicationApi extends BaseAPI {
|
|
|
1103
1103
|
return ApplicationApiFp(this.configuration).updateApp(cell, app, app2, completionTimeout, options).then((request) => request(this.axios, this.basePath));
|
|
1104
1104
|
}
|
|
1105
1105
|
}
|
|
1106
|
-
/**
|
|
1107
|
-
* BusIOsApi - axios parameter creator
|
|
1108
|
-
* @export
|
|
1109
|
-
*/
|
|
1110
|
-
export const BusIOsApiAxiosParamCreator = function (configuration) {
|
|
1111
|
-
return {
|
|
1112
|
-
/**
|
|
1113
|
-
* Retrieves the current values of inputs/outputs. The identifiers of the inputs/outputs must be provided in the request. Request all available input/output identifiers via [listBusIODescriptions](listBusIODescriptions).
|
|
1114
|
-
* @summary Get Input/Output Values
|
|
1115
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
1116
|
-
* @param {Array<string>} [ios]
|
|
1117
|
-
* @param {*} [options] Override http request option.
|
|
1118
|
-
* @throws {RequiredError}
|
|
1119
|
-
*/
|
|
1120
|
-
getBusIOValues: async (cell, ios, options = {}) => {
|
|
1121
|
-
// verify required parameter 'cell' is not null or undefined
|
|
1122
|
-
assertParamExists('getBusIOValues', 'cell', cell);
|
|
1123
|
-
const localVarPath = `/cells/{cell}/bus-ios/ios/values`
|
|
1124
|
-
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
|
|
1125
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1126
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1127
|
-
let baseOptions;
|
|
1128
|
-
if (configuration) {
|
|
1129
|
-
baseOptions = configuration.baseOptions;
|
|
1130
|
-
}
|
|
1131
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1132
|
-
const localVarHeaderParameter = {};
|
|
1133
|
-
const localVarQueryParameter = {};
|
|
1134
|
-
// authentication BasicAuth required
|
|
1135
|
-
// http basic authentication required
|
|
1136
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1137
|
-
// authentication BearerAuth required
|
|
1138
|
-
// http bearer authentication required
|
|
1139
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1140
|
-
if (ios) {
|
|
1141
|
-
localVarQueryParameter['ios'] = ios;
|
|
1142
|
-
}
|
|
1143
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1144
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1145
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1146
|
-
return {
|
|
1147
|
-
url: toPathString(localVarUrlObj),
|
|
1148
|
-
options: localVarRequestOptions,
|
|
1149
|
-
};
|
|
1150
|
-
},
|
|
1151
|
-
/**
|
|
1152
|
-
* List all Bus Input/Outputs.
|
|
1153
|
-
* @summary Configuration
|
|
1154
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
1155
|
-
* @param {*} [options] Override http request option.
|
|
1156
|
-
* @throws {RequiredError}
|
|
1157
|
-
*/
|
|
1158
|
-
listBusIODescriptions: async (cell, options = {}) => {
|
|
1159
|
-
// verify required parameter 'cell' is not null or undefined
|
|
1160
|
-
assertParamExists('listBusIODescriptions', 'cell', cell);
|
|
1161
|
-
const localVarPath = `/cells/{cell}/bus-ios/ios/description`
|
|
1162
|
-
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
|
|
1163
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1164
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1165
|
-
let baseOptions;
|
|
1166
|
-
if (configuration) {
|
|
1167
|
-
baseOptions = configuration.baseOptions;
|
|
1168
|
-
}
|
|
1169
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1170
|
-
const localVarHeaderParameter = {};
|
|
1171
|
-
const localVarQueryParameter = {};
|
|
1172
|
-
// authentication BasicAuth required
|
|
1173
|
-
// http basic authentication required
|
|
1174
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1175
|
-
// authentication BearerAuth required
|
|
1176
|
-
// http bearer authentication required
|
|
1177
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1178
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1179
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1180
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1181
|
-
return {
|
|
1182
|
-
url: toPathString(localVarUrlObj),
|
|
1183
|
-
options: localVarRequestOptions,
|
|
1184
|
-
};
|
|
1185
|
-
},
|
|
1186
|
-
/**
|
|
1187
|
-
* Set values of outputs. In case of virtual Bus Input/Outputs, also inputs can be set. All available output identifiers can be requested via [listBusIODescriptions](listBusIODescriptions). The call will return once the values have been set and accepted by the service.
|
|
1188
|
-
* @summary Set Output Values
|
|
1189
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
1190
|
-
* @param {Array<IOValue>} iOValue
|
|
1191
|
-
* @param {*} [options] Override http request option.
|
|
1192
|
-
* @throws {RequiredError}
|
|
1193
|
-
*/
|
|
1194
|
-
setBusIOValues: async (cell, iOValue, options = {}) => {
|
|
1195
|
-
// verify required parameter 'cell' is not null or undefined
|
|
1196
|
-
assertParamExists('setBusIOValues', 'cell', cell);
|
|
1197
|
-
// verify required parameter 'iOValue' is not null or undefined
|
|
1198
|
-
assertParamExists('setBusIOValues', 'iOValue', iOValue);
|
|
1199
|
-
const localVarPath = `/cells/{cell}/bus-ios/ios/values`
|
|
1200
|
-
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
|
|
1201
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1202
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1203
|
-
let baseOptions;
|
|
1204
|
-
if (configuration) {
|
|
1205
|
-
baseOptions = configuration.baseOptions;
|
|
1206
|
-
}
|
|
1207
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
1208
|
-
const localVarHeaderParameter = {};
|
|
1209
|
-
const localVarQueryParameter = {};
|
|
1210
|
-
// authentication BasicAuth required
|
|
1211
|
-
// http basic authentication required
|
|
1212
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1213
|
-
// authentication BearerAuth required
|
|
1214
|
-
// http bearer authentication required
|
|
1215
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1216
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1217
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1218
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1219
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1220
|
-
localVarRequestOptions.data = serializeDataIfNeeded(iOValue, localVarRequestOptions, configuration);
|
|
1221
|
-
return {
|
|
1222
|
-
url: toPathString(localVarUrlObj),
|
|
1223
|
-
options: localVarRequestOptions,
|
|
1224
|
-
};
|
|
1225
|
-
},
|
|
1226
|
-
};
|
|
1227
|
-
};
|
|
1228
|
-
/**
|
|
1229
|
-
* BusIOsApi - functional programming interface
|
|
1230
|
-
* @export
|
|
1231
|
-
*/
|
|
1232
|
-
export const BusIOsApiFp = function (configuration) {
|
|
1233
|
-
const localVarAxiosParamCreator = BusIOsApiAxiosParamCreator(configuration);
|
|
1234
|
-
return {
|
|
1235
|
-
/**
|
|
1236
|
-
* Retrieves the current values of inputs/outputs. The identifiers of the inputs/outputs must be provided in the request. Request all available input/output identifiers via [listBusIODescriptions](listBusIODescriptions).
|
|
1237
|
-
* @summary Get Input/Output Values
|
|
1238
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
1239
|
-
* @param {Array<string>} [ios]
|
|
1240
|
-
* @param {*} [options] Override http request option.
|
|
1241
|
-
* @throws {RequiredError}
|
|
1242
|
-
*/
|
|
1243
|
-
async getBusIOValues(cell, ios, options) {
|
|
1244
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getBusIOValues(cell, ios, options);
|
|
1245
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1246
|
-
const localVarOperationServerBasePath = operationServerMap['BusIOsApi.getBusIOValues']?.[localVarOperationServerIndex]?.url;
|
|
1247
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1248
|
-
},
|
|
1249
|
-
/**
|
|
1250
|
-
* List all Bus Input/Outputs.
|
|
1251
|
-
* @summary Configuration
|
|
1252
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
1253
|
-
* @param {*} [options] Override http request option.
|
|
1254
|
-
* @throws {RequiredError}
|
|
1255
|
-
*/
|
|
1256
|
-
async listBusIODescriptions(cell, options) {
|
|
1257
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listBusIODescriptions(cell, options);
|
|
1258
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1259
|
-
const localVarOperationServerBasePath = operationServerMap['BusIOsApi.listBusIODescriptions']?.[localVarOperationServerIndex]?.url;
|
|
1260
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1261
|
-
},
|
|
1262
|
-
/**
|
|
1263
|
-
* Set values of outputs. In case of virtual Bus Input/Outputs, also inputs can be set. All available output identifiers can be requested via [listBusIODescriptions](listBusIODescriptions). The call will return once the values have been set and accepted by the service.
|
|
1264
|
-
* @summary Set Output Values
|
|
1265
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
1266
|
-
* @param {Array<IOValue>} iOValue
|
|
1267
|
-
* @param {*} [options] Override http request option.
|
|
1268
|
-
* @throws {RequiredError}
|
|
1269
|
-
*/
|
|
1270
|
-
async setBusIOValues(cell, iOValue, options) {
|
|
1271
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.setBusIOValues(cell, iOValue, options);
|
|
1272
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1273
|
-
const localVarOperationServerBasePath = operationServerMap['BusIOsApi.setBusIOValues']?.[localVarOperationServerIndex]?.url;
|
|
1274
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1275
|
-
},
|
|
1276
|
-
};
|
|
1277
|
-
};
|
|
1278
|
-
/**
|
|
1279
|
-
* BusIOsApi - factory interface
|
|
1280
|
-
* @export
|
|
1281
|
-
*/
|
|
1282
|
-
export const BusIOsApiFactory = function (configuration, basePath, axios) {
|
|
1283
|
-
const localVarFp = BusIOsApiFp(configuration);
|
|
1284
|
-
return {
|
|
1285
|
-
/**
|
|
1286
|
-
* Retrieves the current values of inputs/outputs. The identifiers of the inputs/outputs must be provided in the request. Request all available input/output identifiers via [listBusIODescriptions](listBusIODescriptions).
|
|
1287
|
-
* @summary Get Input/Output Values
|
|
1288
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
1289
|
-
* @param {Array<string>} [ios]
|
|
1290
|
-
* @param {*} [options] Override http request option.
|
|
1291
|
-
* @throws {RequiredError}
|
|
1292
|
-
*/
|
|
1293
|
-
getBusIOValues(cell, ios, options) {
|
|
1294
|
-
return localVarFp.getBusIOValues(cell, ios, options).then((request) => request(axios, basePath));
|
|
1295
|
-
},
|
|
1296
|
-
/**
|
|
1297
|
-
* List all Bus Input/Outputs.
|
|
1298
|
-
* @summary Configuration
|
|
1299
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
1300
|
-
* @param {*} [options] Override http request option.
|
|
1301
|
-
* @throws {RequiredError}
|
|
1302
|
-
*/
|
|
1303
|
-
listBusIODescriptions(cell, options) {
|
|
1304
|
-
return localVarFp.listBusIODescriptions(cell, options).then((request) => request(axios, basePath));
|
|
1305
|
-
},
|
|
1306
|
-
/**
|
|
1307
|
-
* Set values of outputs. In case of virtual Bus Input/Outputs, also inputs can be set. All available output identifiers can be requested via [listBusIODescriptions](listBusIODescriptions). The call will return once the values have been set and accepted by the service.
|
|
1308
|
-
* @summary Set Output Values
|
|
1309
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
1310
|
-
* @param {Array<IOValue>} iOValue
|
|
1311
|
-
* @param {*} [options] Override http request option.
|
|
1312
|
-
* @throws {RequiredError}
|
|
1313
|
-
*/
|
|
1314
|
-
setBusIOValues(cell, iOValue, options) {
|
|
1315
|
-
return localVarFp.setBusIOValues(cell, iOValue, options).then((request) => request(axios, basePath));
|
|
1316
|
-
},
|
|
1317
|
-
};
|
|
1318
|
-
};
|
|
1319
|
-
/**
|
|
1320
|
-
* BusIOsApi - object-oriented interface
|
|
1321
|
-
* @export
|
|
1322
|
-
* @class BusIOsApi
|
|
1323
|
-
* @extends {BaseAPI}
|
|
1324
|
-
*/
|
|
1325
|
-
export class BusIOsApi extends BaseAPI {
|
|
1326
|
-
/**
|
|
1327
|
-
* Retrieves the current values of inputs/outputs. The identifiers of the inputs/outputs must be provided in the request. Request all available input/output identifiers via [listBusIODescriptions](listBusIODescriptions).
|
|
1328
|
-
* @summary Get Input/Output Values
|
|
1329
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
1330
|
-
* @param {Array<string>} [ios]
|
|
1331
|
-
* @param {*} [options] Override http request option.
|
|
1332
|
-
* @throws {RequiredError}
|
|
1333
|
-
* @memberof BusIOsApi
|
|
1334
|
-
*/
|
|
1335
|
-
getBusIOValues(cell, ios, options) {
|
|
1336
|
-
return BusIOsApiFp(this.configuration).getBusIOValues(cell, ios, options).then((request) => request(this.axios, this.basePath));
|
|
1337
|
-
}
|
|
1338
|
-
/**
|
|
1339
|
-
* List all Bus Input/Outputs.
|
|
1340
|
-
* @summary Configuration
|
|
1341
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
1342
|
-
* @param {*} [options] Override http request option.
|
|
1343
|
-
* @throws {RequiredError}
|
|
1344
|
-
* @memberof BusIOsApi
|
|
1345
|
-
*/
|
|
1346
|
-
listBusIODescriptions(cell, options) {
|
|
1347
|
-
return BusIOsApiFp(this.configuration).listBusIODescriptions(cell, options).then((request) => request(this.axios, this.basePath));
|
|
1348
|
-
}
|
|
1349
|
-
/**
|
|
1350
|
-
* Set values of outputs. In case of virtual Bus Input/Outputs, also inputs can be set. All available output identifiers can be requested via [listBusIODescriptions](listBusIODescriptions). The call will return once the values have been set and accepted by the service.
|
|
1351
|
-
* @summary Set Output Values
|
|
1352
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
1353
|
-
* @param {Array<IOValue>} iOValue
|
|
1354
|
-
* @param {*} [options] Override http request option.
|
|
1355
|
-
* @throws {RequiredError}
|
|
1356
|
-
* @memberof BusIOsApi
|
|
1357
|
-
*/
|
|
1358
|
-
setBusIOValues(cell, iOValue, options) {
|
|
1359
|
-
return BusIOsApiFp(this.configuration).setBusIOValues(cell, iOValue, options).then((request) => request(this.axios, this.basePath));
|
|
1360
|
-
}
|
|
1361
|
-
}
|
|
1362
1106
|
/**
|
|
1363
1107
|
* CellApi - axios parameter creator
|
|
1364
1108
|
* @export
|
|
@@ -4338,6 +4082,185 @@ export class MotionGroupApi extends BaseAPI {
|
|
|
4338
4082
|
return MotionGroupApiFp(this.configuration).streamMotionGroupState(cell, motionGroup, responseRate, responseCoordinateSystem, options).then((request) => request(this.axios, this.basePath));
|
|
4339
4083
|
}
|
|
4340
4084
|
}
|
|
4085
|
+
/**
|
|
4086
|
+
* MotionGroupModelsApi - axios parameter creator
|
|
4087
|
+
* @export
|
|
4088
|
+
*/
|
|
4089
|
+
export const MotionGroupModelsApiAxiosParamCreator = function (configuration) {
|
|
4090
|
+
return {
|
|
4091
|
+
/**
|
|
4092
|
+
* 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.
|
|
4093
|
+
* @summary Get Collision Model
|
|
4094
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
4095
|
+
* @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).
|
|
4096
|
+
* @param {*} [options] Override http request option.
|
|
4097
|
+
* @throws {RequiredError}
|
|
4098
|
+
*/
|
|
4099
|
+
getMotionGroupCollisionModel: async (cell, motionGroupModel, options = {}) => {
|
|
4100
|
+
// verify required parameter 'cell' is not null or undefined
|
|
4101
|
+
assertParamExists('getMotionGroupCollisionModel', 'cell', cell);
|
|
4102
|
+
// verify required parameter 'motionGroupModel' is not null or undefined
|
|
4103
|
+
assertParamExists('getMotionGroupCollisionModel', 'motionGroupModel', motionGroupModel);
|
|
4104
|
+
const localVarPath = `/cells/{cell}/motion-group-models/{motion-group-model}/collision-model`
|
|
4105
|
+
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
4106
|
+
.replace(`{${"motion-group-model"}}`, encodeURIComponent(String(motionGroupModel)));
|
|
4107
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4108
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4109
|
+
let baseOptions;
|
|
4110
|
+
if (configuration) {
|
|
4111
|
+
baseOptions = configuration.baseOptions;
|
|
4112
|
+
}
|
|
4113
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
4114
|
+
const localVarHeaderParameter = {};
|
|
4115
|
+
const localVarQueryParameter = {};
|
|
4116
|
+
// authentication BasicAuth required
|
|
4117
|
+
// http basic authentication required
|
|
4118
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
4119
|
+
// authentication BearerAuth required
|
|
4120
|
+
// http bearer authentication required
|
|
4121
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
4122
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4123
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4124
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4125
|
+
return {
|
|
4126
|
+
url: toPathString(localVarUrlObj),
|
|
4127
|
+
options: localVarRequestOptions,
|
|
4128
|
+
};
|
|
4129
|
+
},
|
|
4130
|
+
/**
|
|
4131
|
+
* Returns motion group models that are supported for planning.
|
|
4132
|
+
* @summary Motion Group Models
|
|
4133
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
4134
|
+
* @param {*} [options] Override http request option.
|
|
4135
|
+
* @throws {RequiredError}
|
|
4136
|
+
*/
|
|
4137
|
+
getMotionGroupModels: async (cell, options = {}) => {
|
|
4138
|
+
// verify required parameter 'cell' is not null or undefined
|
|
4139
|
+
assertParamExists('getMotionGroupModels', 'cell', cell);
|
|
4140
|
+
const localVarPath = `/cells/{cell}/motion-group-models`
|
|
4141
|
+
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
|
|
4142
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4143
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4144
|
+
let baseOptions;
|
|
4145
|
+
if (configuration) {
|
|
4146
|
+
baseOptions = configuration.baseOptions;
|
|
4147
|
+
}
|
|
4148
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
4149
|
+
const localVarHeaderParameter = {};
|
|
4150
|
+
const localVarQueryParameter = {};
|
|
4151
|
+
// authentication BasicAuth required
|
|
4152
|
+
// http basic authentication required
|
|
4153
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
4154
|
+
// authentication BearerAuth required
|
|
4155
|
+
// http bearer authentication required
|
|
4156
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
4157
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4158
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4159
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4160
|
+
return {
|
|
4161
|
+
url: toPathString(localVarUrlObj),
|
|
4162
|
+
options: localVarRequestOptions,
|
|
4163
|
+
};
|
|
4164
|
+
},
|
|
4165
|
+
};
|
|
4166
|
+
};
|
|
4167
|
+
/**
|
|
4168
|
+
* MotionGroupModelsApi - functional programming interface
|
|
4169
|
+
* @export
|
|
4170
|
+
*/
|
|
4171
|
+
export const MotionGroupModelsApiFp = function (configuration) {
|
|
4172
|
+
const localVarAxiosParamCreator = MotionGroupModelsApiAxiosParamCreator(configuration);
|
|
4173
|
+
return {
|
|
4174
|
+
/**
|
|
4175
|
+
* 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.
|
|
4176
|
+
* @summary Get Collision Model
|
|
4177
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
4178
|
+
* @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).
|
|
4179
|
+
* @param {*} [options] Override http request option.
|
|
4180
|
+
* @throws {RequiredError}
|
|
4181
|
+
*/
|
|
4182
|
+
async getMotionGroupCollisionModel(cell, motionGroupModel, options) {
|
|
4183
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getMotionGroupCollisionModel(cell, motionGroupModel, options);
|
|
4184
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4185
|
+
const localVarOperationServerBasePath = operationServerMap['MotionGroupModelsApi.getMotionGroupCollisionModel']?.[localVarOperationServerIndex]?.url;
|
|
4186
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4187
|
+
},
|
|
4188
|
+
/**
|
|
4189
|
+
* Returns motion group models that are supported for planning.
|
|
4190
|
+
* @summary Motion Group Models
|
|
4191
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
4192
|
+
* @param {*} [options] Override http request option.
|
|
4193
|
+
* @throws {RequiredError}
|
|
4194
|
+
*/
|
|
4195
|
+
async getMotionGroupModels(cell, options) {
|
|
4196
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getMotionGroupModels(cell, options);
|
|
4197
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4198
|
+
const localVarOperationServerBasePath = operationServerMap['MotionGroupModelsApi.getMotionGroupModels']?.[localVarOperationServerIndex]?.url;
|
|
4199
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4200
|
+
},
|
|
4201
|
+
};
|
|
4202
|
+
};
|
|
4203
|
+
/**
|
|
4204
|
+
* MotionGroupModelsApi - factory interface
|
|
4205
|
+
* @export
|
|
4206
|
+
*/
|
|
4207
|
+
export const MotionGroupModelsApiFactory = function (configuration, basePath, axios) {
|
|
4208
|
+
const localVarFp = MotionGroupModelsApiFp(configuration);
|
|
4209
|
+
return {
|
|
4210
|
+
/**
|
|
4211
|
+
* 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.
|
|
4212
|
+
* @summary Get Collision Model
|
|
4213
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
4214
|
+
* @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).
|
|
4215
|
+
* @param {*} [options] Override http request option.
|
|
4216
|
+
* @throws {RequiredError}
|
|
4217
|
+
*/
|
|
4218
|
+
getMotionGroupCollisionModel(cell, motionGroupModel, options) {
|
|
4219
|
+
return localVarFp.getMotionGroupCollisionModel(cell, motionGroupModel, options).then((request) => request(axios, basePath));
|
|
4220
|
+
},
|
|
4221
|
+
/**
|
|
4222
|
+
* Returns motion group models that are supported for planning.
|
|
4223
|
+
* @summary Motion Group Models
|
|
4224
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
4225
|
+
* @param {*} [options] Override http request option.
|
|
4226
|
+
* @throws {RequiredError}
|
|
4227
|
+
*/
|
|
4228
|
+
getMotionGroupModels(cell, options) {
|
|
4229
|
+
return localVarFp.getMotionGroupModels(cell, options).then((request) => request(axios, basePath));
|
|
4230
|
+
},
|
|
4231
|
+
};
|
|
4232
|
+
};
|
|
4233
|
+
/**
|
|
4234
|
+
* MotionGroupModelsApi - object-oriented interface
|
|
4235
|
+
* @export
|
|
4236
|
+
* @class MotionGroupModelsApi
|
|
4237
|
+
* @extends {BaseAPI}
|
|
4238
|
+
*/
|
|
4239
|
+
export class MotionGroupModelsApi extends BaseAPI {
|
|
4240
|
+
/**
|
|
4241
|
+
* 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.
|
|
4242
|
+
* @summary Get Collision Model
|
|
4243
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
4244
|
+
* @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).
|
|
4245
|
+
* @param {*} [options] Override http request option.
|
|
4246
|
+
* @throws {RequiredError}
|
|
4247
|
+
* @memberof MotionGroupModelsApi
|
|
4248
|
+
*/
|
|
4249
|
+
getMotionGroupCollisionModel(cell, motionGroupModel, options) {
|
|
4250
|
+
return MotionGroupModelsApiFp(this.configuration).getMotionGroupCollisionModel(cell, motionGroupModel, options).then((request) => request(this.axios, this.basePath));
|
|
4251
|
+
}
|
|
4252
|
+
/**
|
|
4253
|
+
* Returns motion group models that are supported for planning.
|
|
4254
|
+
* @summary Motion Group Models
|
|
4255
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
4256
|
+
* @param {*} [options] Override http request option.
|
|
4257
|
+
* @throws {RequiredError}
|
|
4258
|
+
* @memberof MotionGroupModelsApi
|
|
4259
|
+
*/
|
|
4260
|
+
getMotionGroupModels(cell, options) {
|
|
4261
|
+
return MotionGroupModelsApiFp(this.configuration).getMotionGroupModels(cell, options).then((request) => request(this.axios, this.basePath));
|
|
4262
|
+
}
|
|
4263
|
+
}
|
|
4341
4264
|
/**
|
|
4342
4265
|
* ProgramApi - axios parameter creator
|
|
4343
4266
|
* @export
|
|
@@ -8199,80 +8122,6 @@ export class TrajectoryExecutionApi extends BaseAPI {
|
|
|
8199
8122
|
*/
|
|
8200
8123
|
export const TrajectoryPlanningApiAxiosParamCreator = function (configuration) {
|
|
8201
8124
|
return {
|
|
8202
|
-
/**
|
|
8203
|
-
* 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.
|
|
8204
|
-
* @summary Get Default Link Chain
|
|
8205
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8206
|
-
* @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).
|
|
8207
|
-
* @param {*} [options] Override http request option.
|
|
8208
|
-
* @throws {RequiredError}
|
|
8209
|
-
*/
|
|
8210
|
-
getDefaultLinkChain: async (cell, motionGroupModel, options = {}) => {
|
|
8211
|
-
// verify required parameter 'cell' is not null or undefined
|
|
8212
|
-
assertParamExists('getDefaultLinkChain', 'cell', cell);
|
|
8213
|
-
// verify required parameter 'motionGroupModel' is not null or undefined
|
|
8214
|
-
assertParamExists('getDefaultLinkChain', 'motionGroupModel', motionGroupModel);
|
|
8215
|
-
const localVarPath = `/cells/{cell}/store/collision/default-link-chains/{motion-group-model}`
|
|
8216
|
-
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
8217
|
-
.replace(`{${"motion-group-model"}}`, encodeURIComponent(String(motionGroupModel)));
|
|
8218
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8219
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8220
|
-
let baseOptions;
|
|
8221
|
-
if (configuration) {
|
|
8222
|
-
baseOptions = configuration.baseOptions;
|
|
8223
|
-
}
|
|
8224
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
8225
|
-
const localVarHeaderParameter = {};
|
|
8226
|
-
const localVarQueryParameter = {};
|
|
8227
|
-
// authentication BasicAuth required
|
|
8228
|
-
// http basic authentication required
|
|
8229
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
8230
|
-
// authentication BearerAuth required
|
|
8231
|
-
// http bearer authentication required
|
|
8232
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
8233
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8234
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8235
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
8236
|
-
return {
|
|
8237
|
-
url: toPathString(localVarUrlObj),
|
|
8238
|
-
options: localVarRequestOptions,
|
|
8239
|
-
};
|
|
8240
|
-
},
|
|
8241
|
-
/**
|
|
8242
|
-
* Returns motion group models that are supported for planning.
|
|
8243
|
-
* @summary Motion Group Models for Planning
|
|
8244
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8245
|
-
* @param {*} [options] Override http request option.
|
|
8246
|
-
* @throws {RequiredError}
|
|
8247
|
-
*/
|
|
8248
|
-
getMotionGroupModelsForPlanning: async (cell, options = {}) => {
|
|
8249
|
-
// verify required parameter 'cell' is not null or undefined
|
|
8250
|
-
assertParamExists('getMotionGroupModelsForPlanning', 'cell', cell);
|
|
8251
|
-
const localVarPath = `/cells/{cell}/motion-planning/motion-group-models`
|
|
8252
|
-
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
|
|
8253
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8254
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8255
|
-
let baseOptions;
|
|
8256
|
-
if (configuration) {
|
|
8257
|
-
baseOptions = configuration.baseOptions;
|
|
8258
|
-
}
|
|
8259
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
8260
|
-
const localVarHeaderParameter = {};
|
|
8261
|
-
const localVarQueryParameter = {};
|
|
8262
|
-
// authentication BasicAuth required
|
|
8263
|
-
// http basic authentication required
|
|
8264
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
8265
|
-
// authentication BearerAuth required
|
|
8266
|
-
// http bearer authentication required
|
|
8267
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
8268
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8269
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8270
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
8271
|
-
return {
|
|
8272
|
-
url: toPathString(localVarUrlObj),
|
|
8273
|
-
options: localVarRequestOptions,
|
|
8274
|
-
};
|
|
8275
|
-
},
|
|
8276
8125
|
/**
|
|
8277
8126
|
* 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.
|
|
8278
8127
|
* @summary Plan Trajectory
|
|
@@ -8320,33 +8169,6 @@ export const TrajectoryPlanningApiAxiosParamCreator = function (configuration) {
|
|
|
8320
8169
|
export const TrajectoryPlanningApiFp = function (configuration) {
|
|
8321
8170
|
const localVarAxiosParamCreator = TrajectoryPlanningApiAxiosParamCreator(configuration);
|
|
8322
8171
|
return {
|
|
8323
|
-
/**
|
|
8324
|
-
* 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.
|
|
8325
|
-
* @summary Get Default Link Chain
|
|
8326
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8327
|
-
* @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).
|
|
8328
|
-
* @param {*} [options] Override http request option.
|
|
8329
|
-
* @throws {RequiredError}
|
|
8330
|
-
*/
|
|
8331
|
-
async getDefaultLinkChain(cell, motionGroupModel, options) {
|
|
8332
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getDefaultLinkChain(cell, motionGroupModel, options);
|
|
8333
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8334
|
-
const localVarOperationServerBasePath = operationServerMap['TrajectoryPlanningApi.getDefaultLinkChain']?.[localVarOperationServerIndex]?.url;
|
|
8335
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8336
|
-
},
|
|
8337
|
-
/**
|
|
8338
|
-
* Returns motion group models that are supported for planning.
|
|
8339
|
-
* @summary Motion Group Models for Planning
|
|
8340
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8341
|
-
* @param {*} [options] Override http request option.
|
|
8342
|
-
* @throws {RequiredError}
|
|
8343
|
-
*/
|
|
8344
|
-
async getMotionGroupModelsForPlanning(cell, options) {
|
|
8345
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getMotionGroupModelsForPlanning(cell, options);
|
|
8346
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8347
|
-
const localVarOperationServerBasePath = operationServerMap['TrajectoryPlanningApi.getMotionGroupModelsForPlanning']?.[localVarOperationServerIndex]?.url;
|
|
8348
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8349
|
-
},
|
|
8350
8172
|
/**
|
|
8351
8173
|
* 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.
|
|
8352
8174
|
* @summary Plan Trajectory
|
|
@@ -8370,27 +8192,6 @@ export const TrajectoryPlanningApiFp = function (configuration) {
|
|
|
8370
8192
|
export const TrajectoryPlanningApiFactory = function (configuration, basePath, axios) {
|
|
8371
8193
|
const localVarFp = TrajectoryPlanningApiFp(configuration);
|
|
8372
8194
|
return {
|
|
8373
|
-
/**
|
|
8374
|
-
* 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.
|
|
8375
|
-
* @summary Get Default Link Chain
|
|
8376
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8377
|
-
* @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).
|
|
8378
|
-
* @param {*} [options] Override http request option.
|
|
8379
|
-
* @throws {RequiredError}
|
|
8380
|
-
*/
|
|
8381
|
-
getDefaultLinkChain(cell, motionGroupModel, options) {
|
|
8382
|
-
return localVarFp.getDefaultLinkChain(cell, motionGroupModel, options).then((request) => request(axios, basePath));
|
|
8383
|
-
},
|
|
8384
|
-
/**
|
|
8385
|
-
* Returns motion group models that are supported for planning.
|
|
8386
|
-
* @summary Motion Group Models for Planning
|
|
8387
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8388
|
-
* @param {*} [options] Override http request option.
|
|
8389
|
-
* @throws {RequiredError}
|
|
8390
|
-
*/
|
|
8391
|
-
getMotionGroupModelsForPlanning(cell, options) {
|
|
8392
|
-
return localVarFp.getMotionGroupModelsForPlanning(cell, options).then((request) => request(axios, basePath));
|
|
8393
|
-
},
|
|
8394
8195
|
/**
|
|
8395
8196
|
* 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.
|
|
8396
8197
|
* @summary Plan Trajectory
|
|
@@ -8411,29 +8212,6 @@ export const TrajectoryPlanningApiFactory = function (configuration, basePath, a
|
|
|
8411
8212
|
* @extends {BaseAPI}
|
|
8412
8213
|
*/
|
|
8413
8214
|
export class TrajectoryPlanningApi extends BaseAPI {
|
|
8414
|
-
/**
|
|
8415
|
-
* 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.
|
|
8416
|
-
* @summary Get Default Link Chain
|
|
8417
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8418
|
-
* @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).
|
|
8419
|
-
* @param {*} [options] Override http request option.
|
|
8420
|
-
* @throws {RequiredError}
|
|
8421
|
-
* @memberof TrajectoryPlanningApi
|
|
8422
|
-
*/
|
|
8423
|
-
getDefaultLinkChain(cell, motionGroupModel, options) {
|
|
8424
|
-
return TrajectoryPlanningApiFp(this.configuration).getDefaultLinkChain(cell, motionGroupModel, options).then((request) => request(this.axios, this.basePath));
|
|
8425
|
-
}
|
|
8426
|
-
/**
|
|
8427
|
-
* Returns motion group models that are supported for planning.
|
|
8428
|
-
* @summary Motion Group Models for Planning
|
|
8429
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8430
|
-
* @param {*} [options] Override http request option.
|
|
8431
|
-
* @throws {RequiredError}
|
|
8432
|
-
* @memberof TrajectoryPlanningApi
|
|
8433
|
-
*/
|
|
8434
|
-
getMotionGroupModelsForPlanning(cell, options) {
|
|
8435
|
-
return TrajectoryPlanningApiFp(this.configuration).getMotionGroupModelsForPlanning(cell, options).then((request) => request(this.axios, this.basePath));
|
|
8436
|
-
}
|
|
8437
8215
|
/**
|
|
8438
8216
|
* 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.
|
|
8439
8217
|
* @summary Plan Trajectory
|