@wandelbots/nova-api 25.7.0-dev.3 → 25.7.0-dev.5

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
@@ -4512,7 +4543,7 @@ export interface ValidationError {
4512
4543
  export type ValidationErrorLocInner = number | string;
4513
4544
 
4514
4545
  /**
4515
- * The configuration of a virtual robot controller has to contain the manufacturer string, an optional joint position string array and either a type or the full JSON configuration. The JSON config of a physical controller can be obtained via `/cells/{cell}/controllers/{controller}/virtual-robot-configuration`
4546
+ * The configuration of a virtual robot controller has to contain the manufacturer string, an optional joint position string array and either a preset `type` **or** the complete JSON configuration.
4516
4547
  * @export
4517
4548
  * @interface VirtualController
4518
4549
  */
@@ -4536,7 +4567,7 @@ export interface VirtualController {
4536
4567
  */
4537
4568
  'type'?: VirtualControllerTypes;
4538
4569
  /**
4539
- *
4570
+ * Complete JSON configuration of the virtual robot controller. Can be obtained from the physical controller\'s configuration via [getVirtualRobotConfiguration](getVirtualRobotConfiguration). If provided, the `type` field should not be used.
4540
4571
  * @type {string}
4541
4572
  * @memberof VirtualController
4542
4573
  */
@@ -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};
@@ -6300,7 +6377,7 @@ export const ControllerApiAxiosParamCreator = function (configuration?: Configur
6300
6377
  };
6301
6378
  },
6302
6379
  /**
6303
- * Receive the configuration for a virtual robot controller. Used to configure a virtual robot controller via [addRobotController](addRobotController). > **NOTE** > > The output generated by this endpoint can be too large for the site to handle, and may produce an error or incorrect output. > Use `curl` in combination with `> output.json` to capture the output, or use an API client like Postman.
6380
+ * Receive data to configure a virtual robot controller based on another controller. This can be used to create a virtual clone of a specific physical robot. When adding a virtual controller, use the Virtual configuration variant of [addRobotController](addRobotController) and pass the content string from this endpoint as the `json` field. Omit the `type` field that selects a preset configuration which is not required when providing a complete configuration. > **NOTE** > > The output generated by this endpoint can be too large for the site to handle, and may produce an error or incorrect output. > Use `curl` in combination with `> output.json` to capture the output, or use an API client like Postman.
6304
6381
  * @summary Virtual Robot Configuration
6305
6382
  * @param {string} cell Unique identifier addressing a cell in all API calls.
6306
6383
  * @param {string} controller Unique identifier to address a controller in the cell.
@@ -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
@@ -6763,7 +6854,7 @@ export const ControllerApiFp = function(configuration?: Configuration) {
6763
6854
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6764
6855
  },
6765
6856
  /**
6766
- * Receive the configuration for a virtual robot controller. Used to configure a virtual robot controller via [addRobotController](addRobotController). > **NOTE** > > The output generated by this endpoint can be too large for the site to handle, and may produce an error or incorrect output. > Use `curl` in combination with `> output.json` to capture the output, or use an API client like Postman.
6857
+ * Receive data to configure a virtual robot controller based on another controller. This can be used to create a virtual clone of a specific physical robot. When adding a virtual controller, use the Virtual configuration variant of [addRobotController](addRobotController) and pass the content string from this endpoint as the `json` field. Omit the `type` field that selects a preset configuration which is not required when providing a complete configuration. > **NOTE** > > The output generated by this endpoint can be too large for the site to handle, and may produce an error or incorrect output. > Use `curl` in combination with `> output.json` to capture the output, or use an API client like Postman.
6767
6858
  * @summary Virtual Robot Configuration
6768
6859
  * @param {string} cell Unique identifier addressing a cell in all API calls.
6769
6860
  * @param {string} controller Unique identifier to address a controller in the cell.
@@ -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
@@ -6957,7 +7059,7 @@ export const ControllerApiFactory = function (configuration?: Configuration, bas
6957
7059
  return localVarFp.getRobotController(cell, controller, options).then((request) => request(axios, basePath));
6958
7060
  },
6959
7061
  /**
6960
- * Receive the configuration for a virtual robot controller. Used to configure a virtual robot controller via [addRobotController](addRobotController). > **NOTE** > > The output generated by this endpoint can be too large for the site to handle, and may produce an error or incorrect output. > Use `curl` in combination with `> output.json` to capture the output, or use an API client like Postman.
7062
+ * Receive data to configure a virtual robot controller based on another controller. This can be used to create a virtual clone of a specific physical robot. When adding a virtual controller, use the Virtual configuration variant of [addRobotController](addRobotController) and pass the content string from this endpoint as the `json` field. Omit the `type` field that selects a preset configuration which is not required when providing a complete configuration. > **NOTE** > > The output generated by this endpoint can be too large for the site to handle, and may produce an error or incorrect output. > Use `curl` in combination with `> output.json` to capture the output, or use an API client like Postman.
6961
7063
  * @summary Virtual Robot Configuration
6962
7064
  * @param {string} cell Unique identifier addressing a cell in all API calls.
6963
7065
  * @param {string} controller Unique identifier to address a controller in the cell.
@@ -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
@@ -7144,7 +7259,7 @@ export class ControllerApi extends BaseAPI {
7144
7259
  }
7145
7260
 
7146
7261
  /**
7147
- * Receive the configuration for a virtual robot controller. Used to configure a virtual robot controller via [addRobotController](addRobotController). > **NOTE** > > The output generated by this endpoint can be too large for the site to handle, and may produce an error or incorrect output. > Use `curl` in combination with `> output.json` to capture the output, or use an API client like Postman.
7262
+ * Receive data to configure a virtual robot controller based on another controller. This can be used to create a virtual clone of a specific physical robot. When adding a virtual controller, use the Virtual configuration variant of [addRobotController](addRobotController) and pass the content string from this endpoint as the `json` field. Omit the `type` field that selects a preset configuration which is not required when providing a complete configuration. > **NOTE** > > The output generated by this endpoint can be too large for the site to handle, and may produce an error or incorrect output. > Use `curl` in combination with `> output.json` to capture the output, or use an API client like Postman.
7148
7263
  * @summary Virtual Robot Configuration
7149
7264
  * @param {string} cell Unique identifier addressing a cell in all API calls.
7150
7265
  * @param {string} controller Unique identifier to address a controller in the cell.