@wandelbots/nova-api 26.2.0-dev.62 → 26.2.0-dev.63
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 +86 -34
- package/dist/v2/index.d.cts +51 -6
- package/dist/v2/index.d.ts +51 -6
- package/dist/v2/index.js +86 -34
- package/package.json +1 -1
package/dist/v2/index.js
CHANGED
|
@@ -4153,56 +4153,108 @@ var ProgramApi = class extends BaseAPI {
|
|
|
4153
4153
|
* RobotConfigurationsApi - axios parameter creator
|
|
4154
4154
|
*/
|
|
4155
4155
|
const RobotConfigurationsApiAxiosParamCreator = function(configuration) {
|
|
4156
|
-
return {
|
|
4157
|
-
|
|
4158
|
-
|
|
4159
|
-
|
|
4160
|
-
|
|
4161
|
-
|
|
4162
|
-
|
|
4163
|
-
|
|
4164
|
-
|
|
4165
|
-
|
|
4166
|
-
|
|
4167
|
-
|
|
4168
|
-
|
|
4169
|
-
|
|
4170
|
-
|
|
4171
|
-
|
|
4172
|
-
|
|
4173
|
-
|
|
4174
|
-
|
|
4175
|
-
|
|
4176
|
-
|
|
4177
|
-
|
|
4178
|
-
|
|
4179
|
-
|
|
4156
|
+
return {
|
|
4157
|
+
getControllerConfigFromArpScan: async (robotControllerConfigurationRequest, options = {}) => {
|
|
4158
|
+
assertParamExists("getControllerConfigFromArpScan", "robotControllerConfigurationRequest", robotControllerConfigurationRequest);
|
|
4159
|
+
const localVarUrlObj = new URL(`/v2/experimental/system/network/controllers`, DUMMY_BASE_URL);
|
|
4160
|
+
let baseOptions;
|
|
4161
|
+
if (configuration) baseOptions = configuration.baseOptions;
|
|
4162
|
+
const localVarRequestOptions = {
|
|
4163
|
+
method: "POST",
|
|
4164
|
+
...baseOptions,
|
|
4165
|
+
...options
|
|
4166
|
+
};
|
|
4167
|
+
const localVarHeaderParameter = {};
|
|
4168
|
+
const localVarQueryParameter = {};
|
|
4169
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
4170
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
4171
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4172
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4173
|
+
localVarRequestOptions.headers = {
|
|
4174
|
+
...localVarHeaderParameter,
|
|
4175
|
+
...headersFromBaseOptions,
|
|
4176
|
+
...options.headers
|
|
4177
|
+
};
|
|
4178
|
+
localVarRequestOptions.data = serializeDataIfNeeded(robotControllerConfigurationRequest, localVarRequestOptions, configuration);
|
|
4179
|
+
return {
|
|
4180
|
+
url: toPathString(localVarUrlObj),
|
|
4181
|
+
options: localVarRequestOptions
|
|
4182
|
+
};
|
|
4183
|
+
},
|
|
4184
|
+
getRobotConfigurations: async (options = {}) => {
|
|
4185
|
+
const localVarUrlObj = new URL(`/robot-configurations`, DUMMY_BASE_URL);
|
|
4186
|
+
let baseOptions;
|
|
4187
|
+
if (configuration) baseOptions = configuration.baseOptions;
|
|
4188
|
+
const localVarRequestOptions = {
|
|
4189
|
+
method: "GET",
|
|
4190
|
+
...baseOptions,
|
|
4191
|
+
...options
|
|
4192
|
+
};
|
|
4193
|
+
const localVarHeaderParameter = {};
|
|
4194
|
+
const localVarQueryParameter = {};
|
|
4195
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
4196
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4197
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4198
|
+
localVarRequestOptions.headers = {
|
|
4199
|
+
...localVarHeaderParameter,
|
|
4200
|
+
...headersFromBaseOptions,
|
|
4201
|
+
...options.headers
|
|
4202
|
+
};
|
|
4203
|
+
return {
|
|
4204
|
+
url: toPathString(localVarUrlObj),
|
|
4205
|
+
options: localVarRequestOptions
|
|
4206
|
+
};
|
|
4207
|
+
}
|
|
4208
|
+
};
|
|
4180
4209
|
};
|
|
4181
4210
|
/**
|
|
4182
4211
|
* RobotConfigurationsApi - functional programming interface
|
|
4183
4212
|
*/
|
|
4184
4213
|
const RobotConfigurationsApiFp = function(configuration) {
|
|
4185
4214
|
const localVarAxiosParamCreator = RobotConfigurationsApiAxiosParamCreator(configuration);
|
|
4186
|
-
return {
|
|
4187
|
-
|
|
4188
|
-
|
|
4189
|
-
|
|
4190
|
-
|
|
4191
|
-
|
|
4215
|
+
return {
|
|
4216
|
+
async getControllerConfigFromArpScan(robotControllerConfigurationRequest, options) {
|
|
4217
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getControllerConfigFromArpScan(robotControllerConfigurationRequest, options);
|
|
4218
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4219
|
+
const localVarOperationServerBasePath = operationServerMap["RobotConfigurationsApi.getControllerConfigFromArpScan"]?.[localVarOperationServerIndex]?.url;
|
|
4220
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4221
|
+
},
|
|
4222
|
+
async getRobotConfigurations(options) {
|
|
4223
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getRobotConfigurations(options);
|
|
4224
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4225
|
+
const localVarOperationServerBasePath = operationServerMap["RobotConfigurationsApi.getRobotConfigurations"]?.[localVarOperationServerIndex]?.url;
|
|
4226
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4227
|
+
}
|
|
4228
|
+
};
|
|
4192
4229
|
};
|
|
4193
4230
|
/**
|
|
4194
4231
|
* RobotConfigurationsApi - factory interface
|
|
4195
4232
|
*/
|
|
4196
4233
|
const RobotConfigurationsApiFactory = function(configuration, basePath, axios) {
|
|
4197
4234
|
const localVarFp = RobotConfigurationsApiFp(configuration);
|
|
4198
|
-
return {
|
|
4199
|
-
|
|
4200
|
-
|
|
4235
|
+
return {
|
|
4236
|
+
getControllerConfigFromArpScan(robotControllerConfigurationRequest, options) {
|
|
4237
|
+
return localVarFp.getControllerConfigFromArpScan(robotControllerConfigurationRequest, options).then((request) => request(axios, basePath));
|
|
4238
|
+
},
|
|
4239
|
+
getRobotConfigurations(options) {
|
|
4240
|
+
return localVarFp.getRobotConfigurations(options).then((request) => request(axios, basePath));
|
|
4241
|
+
}
|
|
4242
|
+
};
|
|
4201
4243
|
};
|
|
4202
4244
|
/**
|
|
4203
4245
|
* RobotConfigurationsApi - object-oriented interface
|
|
4204
4246
|
*/
|
|
4205
4247
|
var RobotConfigurationsApi = class extends BaseAPI {
|
|
4248
|
+
/**
|
|
4249
|
+
* Returns all robot controller configurations that match the provided [ARP scan result](#/operations/getArpScan).
|
|
4250
|
+
* @summary Robot Controller Configurations
|
|
4251
|
+
* @param {RobotControllerConfigurationRequest} robotControllerConfigurationRequest
|
|
4252
|
+
* @param {*} [options] Override http request option.
|
|
4253
|
+
* @throws {RequiredError}
|
|
4254
|
+
*/
|
|
4255
|
+
getControllerConfigFromArpScan(robotControllerConfigurationRequest, options) {
|
|
4256
|
+
return RobotConfigurationsApiFp(this.configuration).getControllerConfigFromArpScan(robotControllerConfigurationRequest, options).then((request) => request(this.axios, this.basePath));
|
|
4257
|
+
}
|
|
4206
4258
|
/**
|
|
4207
4259
|
* Returns the identifiers of available robot configurations. A robot configuration represents a robot controller with one or more attached motion groups.
|
|
4208
4260
|
* @summary List Robot Configurations
|
|
@@ -7347,7 +7399,7 @@ var VirtualControllerApi = class extends BaseAPI {
|
|
|
7347
7399
|
return VirtualControllerApiFp(this.configuration).addVirtualControllerCoordinateSystem(cell, controller, coordinateSystem, coordinateSystemData, options).then((request) => request(this.axios, this.basePath));
|
|
7348
7400
|
}
|
|
7349
7401
|
/**
|
|
7350
|
-
* Adds a motion group configuration for the virtual robot controller. Fields: - Only one of **motion_group_model** or **
|
|
7402
|
+
* Adds a motion group configuration for the virtual robot controller. Fields: - Only one of **motion_group_model** or **json_data** should be set. - **motion_group_model**: Identifies a single motion group. See [getMotionGroupModels](#/operations/getMotionGroupModels) for supported types. - **json_data**: Full JSON configuration of the virtual robot controller. This can be obtained from the physical controller\'s configuration via [getVirtualControllerConfiguration](#/operations/getVirtualControllerConfiguration). - **extracted_motion_group_id** (required when using json_data): The motion group identifier to extract from the provided JSON configuration. - **motion_group**: Unique identifier for the motion group to be added. - **initial_joint_position**: Specifies the initial joint position for the added motion group. <!-- theme: info --> > #### NOTE > > When a motion group is added, **the virtual robot is restarted** to apply the new configuration. > > During this restart: > - Robot visualization can temporarily disappear or appear outdated in the UI. > - Motion group changes are not immediately visible in visualizations. > - All connections to virtual robot are closed and re-established, which introduces a short delay before the system is fully operational again. > > The API call itself **does not wait until the restart and re-synchronization are complete**. > This means that immediately after a successful response, the new motion group may not yet be available for use.
|
|
7351
7403
|
* @summary Add Motion Group
|
|
7352
7404
|
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
7353
7405
|
* @param {string} controller Unique identifier to address a controller in the cell.
|