@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/v2/api.ts CHANGED
@@ -870,6 +870,37 @@ export interface ContainerStorage {
870
870
  */
871
871
  'capacity': string;
872
872
  }
873
+ /**
874
+ * The data type to describe a robot controller.
875
+ * @export
876
+ * @interface ControllerDescription
877
+ */
878
+ export interface ControllerDescription {
879
+ /**
880
+ *
881
+ * @type {Array<string>}
882
+ * @memberof ControllerDescription
883
+ */
884
+ 'connected_motion_groups': Array<string>;
885
+ /**
886
+ * Can this controller be moved through freedrive (true), or not (false).
887
+ * @type {boolean}
888
+ * @memberof ControllerDescription
889
+ */
890
+ 'supports_freedrive': boolean;
891
+ /**
892
+ * Can this controller be controlled with NOVA (true) or is it only possible to read data (false).
893
+ * @type {boolean}
894
+ * @memberof ControllerDescription
895
+ */
896
+ 'supports_control': boolean;
897
+ /**
898
+ * 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.
899
+ * @type {boolean}
900
+ * @memberof ControllerDescription
901
+ */
902
+ 'supports_safety_zones': boolean;
903
+ }
873
904
  /**
874
905
  * Defines a convex hull encapsulating a set of vertices.
875
906
  * @export
@@ -6097,6 +6128,52 @@ export const ControllerApiAxiosParamCreator = function (configuration?: Configur
6097
6128
 
6098
6129
 
6099
6130
 
6131
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
6132
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6133
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
6134
+
6135
+ return {
6136
+ url: toPathString(localVarUrlObj),
6137
+ options: localVarRequestOptions,
6138
+ };
6139
+ },
6140
+ /**
6141
+ * 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.
6142
+ * @summary Description
6143
+ * @param {string} cell Unique identifier addressing a cell in all API calls.
6144
+ * @param {string} controller Unique identifier to address a controller in the cell.
6145
+ * @param {*} [options] Override http request option.
6146
+ * @throws {RequiredError}
6147
+ */
6148
+ getControllerDescription: async (cell: string, controller: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
6149
+ // verify required parameter 'cell' is not null or undefined
6150
+ assertParamExists('getControllerDescription', 'cell', cell)
6151
+ // verify required parameter 'controller' is not null or undefined
6152
+ assertParamExists('getControllerDescription', 'controller', controller)
6153
+ const localVarPath = `/cells/{cell}/controllers/{controller}/description`
6154
+ .replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
6155
+ .replace(`{${"controller"}}`, encodeURIComponent(String(controller)));
6156
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6157
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6158
+ let baseOptions;
6159
+ if (configuration) {
6160
+ baseOptions = configuration.baseOptions;
6161
+ }
6162
+
6163
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
6164
+ const localVarHeaderParameter = {} as any;
6165
+ const localVarQueryParameter = {} as any;
6166
+
6167
+ // authentication BasicAuth required
6168
+ // http basic authentication required
6169
+ setBasicAuthToObject(localVarRequestOptions, configuration)
6170
+
6171
+ // authentication BearerAuth required
6172
+ // http bearer authentication required
6173
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
6174
+
6175
+
6176
+
6100
6177
  setSearchParams(localVarUrlObj, localVarQueryParameter);
6101
6178
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6102
6179
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -6704,6 +6781,20 @@ export const ControllerApiFp = function(configuration?: Configuration) {
6704
6781
  const localVarOperationServerBasePath = operationServerMap['ControllerApi.deleteRobotController']?.[localVarOperationServerIndex]?.url;
6705
6782
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6706
6783
  },
6784
+ /**
6785
+ * 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.
6786
+ * @summary Description
6787
+ * @param {string} cell Unique identifier addressing a cell in all API calls.
6788
+ * @param {string} controller Unique identifier to address a controller in the cell.
6789
+ * @param {*} [options] Override http request option.
6790
+ * @throws {RequiredError}
6791
+ */
6792
+ async getControllerDescription(cell: string, controller: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ControllerDescription>> {
6793
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getControllerDescription(cell, controller, options);
6794
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
6795
+ const localVarOperationServerBasePath = operationServerMap['ControllerApi.getControllerDescription']?.[localVarOperationServerIndex]?.url;
6796
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6797
+ },
6707
6798
  /**
6708
6799
  * 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.
6709
6800
  * @summary Coordinate System
@@ -6910,6 +7001,17 @@ export const ControllerApiFactory = function (configuration?: Configuration, bas
6910
7001
  deleteRobotController(cell: string, controller: string, completionTimeout?: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
6911
7002
  return localVarFp.deleteRobotController(cell, controller, completionTimeout, options).then((request) => request(axios, basePath));
6912
7003
  },
7004
+ /**
7005
+ * 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.
7006
+ * @summary Description
7007
+ * @param {string} cell Unique identifier addressing a cell in all API calls.
7008
+ * @param {string} controller Unique identifier to address a controller in the cell.
7009
+ * @param {*} [options] Override http request option.
7010
+ * @throws {RequiredError}
7011
+ */
7012
+ getControllerDescription(cell: string, controller: string, options?: RawAxiosRequestConfig): AxiosPromise<ControllerDescription> {
7013
+ return localVarFp.getControllerDescription(cell, controller, options).then((request) => request(axios, basePath));
7014
+ },
6913
7015
  /**
6914
7016
  * 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.
6915
7017
  * @summary Coordinate System
@@ -7089,6 +7191,19 @@ export class ControllerApi extends BaseAPI {
7089
7191
  return ControllerApiFp(this.configuration).deleteRobotController(cell, controller, completionTimeout, options).then((request) => request(this.axios, this.basePath));
7090
7192
  }
7091
7193
 
7194
+ /**
7195
+ * 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.
7196
+ * @summary Description
7197
+ * @param {string} cell Unique identifier addressing a cell in all API calls.
7198
+ * @param {string} controller Unique identifier to address a controller in the cell.
7199
+ * @param {*} [options] Override http request option.
7200
+ * @throws {RequiredError}
7201
+ * @memberof ControllerApi
7202
+ */
7203
+ public getControllerDescription(cell: string, controller: string, options?: RawAxiosRequestConfig) {
7204
+ return ControllerApiFp(this.configuration).getControllerDescription(cell, controller, options).then((request) => request(this.axios, this.basePath));
7205
+ }
7206
+
7092
7207
  /**
7093
7208
  * 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.
7094
7209
  * @summary Coordinate System