@wandelbots/nova-api 25.7.0-dev.3 → 25.7.0-dev.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/v2/api.d.ts +68 -0
- package/v2/api.js +76 -0
- package/v2/api.js.map +1 -1
- package/v2/api.ts +115 -0
package/package.json
CHANGED
package/v2/api.d.ts
CHANGED
|
@@ -859,6 +859,37 @@ export interface ContainerStorage {
|
|
|
859
859
|
*/
|
|
860
860
|
'capacity': string;
|
|
861
861
|
}
|
|
862
|
+
/**
|
|
863
|
+
* The data type to describe a robot controller.
|
|
864
|
+
* @export
|
|
865
|
+
* @interface ControllerDescription
|
|
866
|
+
*/
|
|
867
|
+
export interface ControllerDescription {
|
|
868
|
+
/**
|
|
869
|
+
*
|
|
870
|
+
* @type {Array<string>}
|
|
871
|
+
* @memberof ControllerDescription
|
|
872
|
+
*/
|
|
873
|
+
'connected_motion_groups': Array<string>;
|
|
874
|
+
/**
|
|
875
|
+
* Can this controller be moved through freedrive (true), or not (false).
|
|
876
|
+
* @type {boolean}
|
|
877
|
+
* @memberof ControllerDescription
|
|
878
|
+
*/
|
|
879
|
+
'supports_freedrive': boolean;
|
|
880
|
+
/**
|
|
881
|
+
* Can this controller be controlled with NOVA (true) or is it only possible to read data (false).
|
|
882
|
+
* @type {boolean}
|
|
883
|
+
* @memberof ControllerDescription
|
|
884
|
+
*/
|
|
885
|
+
'supports_control': boolean;
|
|
886
|
+
/**
|
|
887
|
+
* True if NOVA supports reading safety zone-, tool- and link-geometries for this motion group. Safety zones are used to define areas where the robot should slow down or stop. If false, NOVA can\'t guarantee that the executed motions respect safety zones defined on the controller.
|
|
888
|
+
* @type {boolean}
|
|
889
|
+
* @memberof ControllerDescription
|
|
890
|
+
*/
|
|
891
|
+
'supports_safety_zones': boolean;
|
|
892
|
+
}
|
|
862
893
|
/**
|
|
863
894
|
* Defines a convex hull encapsulating a set of vertices.
|
|
864
895
|
* @export
|
|
@@ -5075,6 +5106,15 @@ export declare const ControllerApiAxiosParamCreator: (configuration?: Configurat
|
|
|
5075
5106
|
* @throws {RequiredError}
|
|
5076
5107
|
*/
|
|
5077
5108
|
deleteRobotController: (cell: string, controller: string, completionTimeout?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5109
|
+
/**
|
|
5110
|
+
* Get description of a configured robot controller including a list of connected motion group identifiers. Use [getMotionGroupDescription](getMotionGroupDescription) to get more information about the motion group.
|
|
5111
|
+
* @summary Description
|
|
5112
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5113
|
+
* @param {string} controller Unique identifier to address a controller in the cell.
|
|
5114
|
+
* @param {*} [options] Override http request option.
|
|
5115
|
+
* @throws {RequiredError}
|
|
5116
|
+
*/
|
|
5117
|
+
getControllerDescription: (cell: string, controller: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5078
5118
|
/**
|
|
5079
5119
|
* Request a coordinate system specification for a given identifier. Use parameter orientation_type to get the orientation part of the transformation offset of the coordinate system returned in the requested orientation notation. If parameter orientation_type is not set, the orientation part of the transformation offset of the coordinate system is returned in rotation vector notation. The coordinate systems from the robot controller are loaded when the motion group associated with the coordinate system is activated. With deactivation of the motion group, the associated coordinate systems are removed from NOVA. The unique identifier of the coordinate systems from the robot controllers are suffixed with \"On\" + the unique identifier of the robot controller.
|
|
5080
5120
|
* @summary Coordinate System
|
|
@@ -5216,6 +5256,15 @@ export declare const ControllerApiFp: (configuration?: Configuration) => {
|
|
|
5216
5256
|
* @throws {RequiredError}
|
|
5217
5257
|
*/
|
|
5218
5258
|
deleteRobotController(cell: string, controller: string, completionTimeout?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
5259
|
+
/**
|
|
5260
|
+
* Get description of a configured robot controller including a list of connected motion group identifiers. Use [getMotionGroupDescription](getMotionGroupDescription) to get more information about the motion group.
|
|
5261
|
+
* @summary Description
|
|
5262
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5263
|
+
* @param {string} controller Unique identifier to address a controller in the cell.
|
|
5264
|
+
* @param {*} [options] Override http request option.
|
|
5265
|
+
* @throws {RequiredError}
|
|
5266
|
+
*/
|
|
5267
|
+
getControllerDescription(cell: string, controller: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ControllerDescription>>;
|
|
5219
5268
|
/**
|
|
5220
5269
|
* Request a coordinate system specification for a given identifier. Use parameter orientation_type to get the orientation part of the transformation offset of the coordinate system returned in the requested orientation notation. If parameter orientation_type is not set, the orientation part of the transformation offset of the coordinate system is returned in rotation vector notation. The coordinate systems from the robot controller are loaded when the motion group associated with the coordinate system is activated. With deactivation of the motion group, the associated coordinate systems are removed from NOVA. The unique identifier of the coordinate systems from the robot controllers are suffixed with \"On\" + the unique identifier of the robot controller.
|
|
5221
5270
|
* @summary Coordinate System
|
|
@@ -5357,6 +5406,15 @@ export declare const ControllerApiFactory: (configuration?: Configuration, baseP
|
|
|
5357
5406
|
* @throws {RequiredError}
|
|
5358
5407
|
*/
|
|
5359
5408
|
deleteRobotController(cell: string, controller: string, completionTimeout?: number, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
5409
|
+
/**
|
|
5410
|
+
* Get description of a configured robot controller including a list of connected motion group identifiers. Use [getMotionGroupDescription](getMotionGroupDescription) to get more information about the motion group.
|
|
5411
|
+
* @summary Description
|
|
5412
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5413
|
+
* @param {string} controller Unique identifier to address a controller in the cell.
|
|
5414
|
+
* @param {*} [options] Override http request option.
|
|
5415
|
+
* @throws {RequiredError}
|
|
5416
|
+
*/
|
|
5417
|
+
getControllerDescription(cell: string, controller: string, options?: RawAxiosRequestConfig): AxiosPromise<ControllerDescription>;
|
|
5360
5418
|
/**
|
|
5361
5419
|
* Request a coordinate system specification for a given identifier. Use parameter orientation_type to get the orientation part of the transformation offset of the coordinate system returned in the requested orientation notation. If parameter orientation_type is not set, the orientation part of the transformation offset of the coordinate system is returned in rotation vector notation. The coordinate systems from the robot controller are loaded when the motion group associated with the coordinate system is activated. With deactivation of the motion group, the associated coordinate systems are removed from NOVA. The unique identifier of the coordinate systems from the robot controllers are suffixed with \"On\" + the unique identifier of the robot controller.
|
|
5362
5420
|
* @summary Coordinate System
|
|
@@ -5503,6 +5561,16 @@ export declare class ControllerApi extends BaseAPI {
|
|
|
5503
5561
|
* @memberof ControllerApi
|
|
5504
5562
|
*/
|
|
5505
5563
|
deleteRobotController(cell: string, controller: string, completionTimeout?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
5564
|
+
/**
|
|
5565
|
+
* Get description of a configured robot controller including a list of connected motion group identifiers. Use [getMotionGroupDescription](getMotionGroupDescription) to get more information about the motion group.
|
|
5566
|
+
* @summary Description
|
|
5567
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
5568
|
+
* @param {string} controller Unique identifier to address a controller in the cell.
|
|
5569
|
+
* @param {*} [options] Override http request option.
|
|
5570
|
+
* @throws {RequiredError}
|
|
5571
|
+
* @memberof ControllerApi
|
|
5572
|
+
*/
|
|
5573
|
+
getControllerDescription(cell: string, controller: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ControllerDescription, any>>;
|
|
5506
5574
|
/**
|
|
5507
5575
|
* Request a coordinate system specification for a given identifier. Use parameter orientation_type to get the orientation part of the transformation offset of the coordinate system returned in the requested orientation notation. If parameter orientation_type is not set, the orientation part of the transformation offset of the coordinate system is returned in rotation vector notation. The coordinate systems from the robot controller are loaded when the motion group associated with the coordinate system is activated. With deactivation of the motion group, the associated coordinate systems are removed from NOVA. The unique identifier of the coordinate systems from the robot controllers are suffixed with \"On\" + the unique identifier of the robot controller.
|
|
5508
5576
|
* @summary Coordinate System
|
package/v2/api.js
CHANGED
|
@@ -1777,6 +1777,45 @@ export const ControllerApiAxiosParamCreator = function (configuration) {
|
|
|
1777
1777
|
options: localVarRequestOptions,
|
|
1778
1778
|
};
|
|
1779
1779
|
},
|
|
1780
|
+
/**
|
|
1781
|
+
* Get description of a configured robot controller including a list of connected motion group identifiers. Use [getMotionGroupDescription](getMotionGroupDescription) to get more information about the motion group.
|
|
1782
|
+
* @summary Description
|
|
1783
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
1784
|
+
* @param {string} controller Unique identifier to address a controller in the cell.
|
|
1785
|
+
* @param {*} [options] Override http request option.
|
|
1786
|
+
* @throws {RequiredError}
|
|
1787
|
+
*/
|
|
1788
|
+
getControllerDescription: async (cell, controller, options = {}) => {
|
|
1789
|
+
// verify required parameter 'cell' is not null or undefined
|
|
1790
|
+
assertParamExists('getControllerDescription', 'cell', cell);
|
|
1791
|
+
// verify required parameter 'controller' is not null or undefined
|
|
1792
|
+
assertParamExists('getControllerDescription', 'controller', controller);
|
|
1793
|
+
const localVarPath = `/cells/{cell}/controllers/{controller}/description`
|
|
1794
|
+
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
1795
|
+
.replace(`{${"controller"}}`, encodeURIComponent(String(controller)));
|
|
1796
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1797
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1798
|
+
let baseOptions;
|
|
1799
|
+
if (configuration) {
|
|
1800
|
+
baseOptions = configuration.baseOptions;
|
|
1801
|
+
}
|
|
1802
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1803
|
+
const localVarHeaderParameter = {};
|
|
1804
|
+
const localVarQueryParameter = {};
|
|
1805
|
+
// authentication BasicAuth required
|
|
1806
|
+
// http basic authentication required
|
|
1807
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1808
|
+
// authentication BearerAuth required
|
|
1809
|
+
// http bearer authentication required
|
|
1810
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1811
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1812
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1813
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1814
|
+
return {
|
|
1815
|
+
url: toPathString(localVarUrlObj),
|
|
1816
|
+
options: localVarRequestOptions,
|
|
1817
|
+
};
|
|
1818
|
+
},
|
|
1780
1819
|
/**
|
|
1781
1820
|
* Request a coordinate system specification for a given identifier. Use parameter orientation_type to get the orientation part of the transformation offset of the coordinate system returned in the requested orientation notation. If parameter orientation_type is not set, the orientation part of the transformation offset of the coordinate system is returned in rotation vector notation. The coordinate systems from the robot controller are loaded when the motion group associated with the coordinate system is activated. With deactivation of the motion group, the associated coordinate systems are removed from NOVA. The unique identifier of the coordinate systems from the robot controllers are suffixed with \"On\" + the unique identifier of the robot controller.
|
|
1782
1821
|
* @summary Coordinate System
|
|
@@ -2290,6 +2329,20 @@ export const ControllerApiFp = function (configuration) {
|
|
|
2290
2329
|
const localVarOperationServerBasePath = operationServerMap['ControllerApi.deleteRobotController']?.[localVarOperationServerIndex]?.url;
|
|
2291
2330
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2292
2331
|
},
|
|
2332
|
+
/**
|
|
2333
|
+
* Get description of a configured robot controller including a list of connected motion group identifiers. Use [getMotionGroupDescription](getMotionGroupDescription) to get more information about the motion group.
|
|
2334
|
+
* @summary Description
|
|
2335
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
2336
|
+
* @param {string} controller Unique identifier to address a controller in the cell.
|
|
2337
|
+
* @param {*} [options] Override http request option.
|
|
2338
|
+
* @throws {RequiredError}
|
|
2339
|
+
*/
|
|
2340
|
+
async getControllerDescription(cell, controller, options) {
|
|
2341
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getControllerDescription(cell, controller, options);
|
|
2342
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2343
|
+
const localVarOperationServerBasePath = operationServerMap['ControllerApi.getControllerDescription']?.[localVarOperationServerIndex]?.url;
|
|
2344
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2345
|
+
},
|
|
2293
2346
|
/**
|
|
2294
2347
|
* Request a coordinate system specification for a given identifier. Use parameter orientation_type to get the orientation part of the transformation offset of the coordinate system returned in the requested orientation notation. If parameter orientation_type is not set, the orientation part of the transformation offset of the coordinate system is returned in rotation vector notation. The coordinate systems from the robot controller are loaded when the motion group associated with the coordinate system is activated. With deactivation of the motion group, the associated coordinate systems are removed from NOVA. The unique identifier of the coordinate systems from the robot controllers are suffixed with \"On\" + the unique identifier of the robot controller.
|
|
2295
2348
|
* @summary Coordinate System
|
|
@@ -2495,6 +2548,17 @@ export const ControllerApiFactory = function (configuration, basePath, axios) {
|
|
|
2495
2548
|
deleteRobotController(cell, controller, completionTimeout, options) {
|
|
2496
2549
|
return localVarFp.deleteRobotController(cell, controller, completionTimeout, options).then((request) => request(axios, basePath));
|
|
2497
2550
|
},
|
|
2551
|
+
/**
|
|
2552
|
+
* Get description of a configured robot controller including a list of connected motion group identifiers. Use [getMotionGroupDescription](getMotionGroupDescription) to get more information about the motion group.
|
|
2553
|
+
* @summary Description
|
|
2554
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
2555
|
+
* @param {string} controller Unique identifier to address a controller in the cell.
|
|
2556
|
+
* @param {*} [options] Override http request option.
|
|
2557
|
+
* @throws {RequiredError}
|
|
2558
|
+
*/
|
|
2559
|
+
getControllerDescription(cell, controller, options) {
|
|
2560
|
+
return localVarFp.getControllerDescription(cell, controller, options).then((request) => request(axios, basePath));
|
|
2561
|
+
},
|
|
2498
2562
|
/**
|
|
2499
2563
|
* Request a coordinate system specification for a given identifier. Use parameter orientation_type to get the orientation part of the transformation offset of the coordinate system returned in the requested orientation notation. If parameter orientation_type is not set, the orientation part of the transformation offset of the coordinate system is returned in rotation vector notation. The coordinate systems from the robot controller are loaded when the motion group associated with the coordinate system is activated. With deactivation of the motion group, the associated coordinate systems are removed from NOVA. The unique identifier of the coordinate systems from the robot controllers are suffixed with \"On\" + the unique identifier of the robot controller.
|
|
2500
2564
|
* @summary Coordinate System
|
|
@@ -2670,6 +2734,18 @@ export class ControllerApi extends BaseAPI {
|
|
|
2670
2734
|
deleteRobotController(cell, controller, completionTimeout, options) {
|
|
2671
2735
|
return ControllerApiFp(this.configuration).deleteRobotController(cell, controller, completionTimeout, options).then((request) => request(this.axios, this.basePath));
|
|
2672
2736
|
}
|
|
2737
|
+
/**
|
|
2738
|
+
* Get description of a configured robot controller including a list of connected motion group identifiers. Use [getMotionGroupDescription](getMotionGroupDescription) to get more information about the motion group.
|
|
2739
|
+
* @summary Description
|
|
2740
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
2741
|
+
* @param {string} controller Unique identifier to address a controller in the cell.
|
|
2742
|
+
* @param {*} [options] Override http request option.
|
|
2743
|
+
* @throws {RequiredError}
|
|
2744
|
+
* @memberof ControllerApi
|
|
2745
|
+
*/
|
|
2746
|
+
getControllerDescription(cell, controller, options) {
|
|
2747
|
+
return ControllerApiFp(this.configuration).getControllerDescription(cell, controller, options).then((request) => request(this.axios, this.basePath));
|
|
2748
|
+
}
|
|
2673
2749
|
/**
|
|
2674
2750
|
* Request a coordinate system specification for a given identifier. Use parameter orientation_type to get the orientation part of the transformation offset of the coordinate system returned in the requested orientation notation. If parameter orientation_type is not set, the orientation part of the transformation offset of the coordinate system is returned in rotation vector notation. The coordinate systems from the robot controller are loaded when the motion group associated with the coordinate system is activated. With deactivation of the motion group, the associated coordinate systems are removed from NOVA. The unique identifier of the coordinate systems from the robot controllers are suffixed with \"On\" + the unique identifier of the robot controller.
|
|
2675
2751
|
* @summary Coordinate System
|