@wandelbots/nova-api 25.6.0-dev.38 → 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 -76
- package/v2/api.js +179 -145
- package/v2/api.js.map +1 -1
- package/v2/api.ts +200 -161
package/package.json
CHANGED
package/v2/api.d.ts
CHANGED
|
@@ -6467,6 +6467,108 @@ export declare class MotionGroupApi extends BaseAPI {
|
|
|
6467
6467
|
*/
|
|
6468
6468
|
streamMotionGroupState(cell: string, motionGroup: string, responseRate?: number, responseCoordinateSystem?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MotionGroupState, any>>;
|
|
6469
6469
|
}
|
|
6470
|
+
/**
|
|
6471
|
+
* MotionGroupModelsApi - axios parameter creator
|
|
6472
|
+
* @export
|
|
6473
|
+
*/
|
|
6474
|
+
export declare const MotionGroupModelsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
6475
|
+
/**
|
|
6476
|
+
* 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.
|
|
6477
|
+
* @summary Get Collision Model
|
|
6478
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6479
|
+
* @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).
|
|
6480
|
+
* @param {*} [options] Override http request option.
|
|
6481
|
+
* @throws {RequiredError}
|
|
6482
|
+
*/
|
|
6483
|
+
getMotionGroupCollisionModel: (cell: string, motionGroupModel: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
6484
|
+
/**
|
|
6485
|
+
* Returns motion group models that are supported for planning.
|
|
6486
|
+
* @summary Motion Group Models
|
|
6487
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6488
|
+
* @param {*} [options] Override http request option.
|
|
6489
|
+
* @throws {RequiredError}
|
|
6490
|
+
*/
|
|
6491
|
+
getMotionGroupModels: (cell: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
6492
|
+
};
|
|
6493
|
+
/**
|
|
6494
|
+
* MotionGroupModelsApi - functional programming interface
|
|
6495
|
+
* @export
|
|
6496
|
+
*/
|
|
6497
|
+
export declare const MotionGroupModelsApiFp: (configuration?: Configuration) => {
|
|
6498
|
+
/**
|
|
6499
|
+
* 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.
|
|
6500
|
+
* @summary Get Collision Model
|
|
6501
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6502
|
+
* @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).
|
|
6503
|
+
* @param {*} [options] Override http request option.
|
|
6504
|
+
* @throws {RequiredError}
|
|
6505
|
+
*/
|
|
6506
|
+
getMotionGroupCollisionModel(cell: string, motionGroupModel: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<{
|
|
6507
|
+
[key: string]: Collider;
|
|
6508
|
+
}>>>;
|
|
6509
|
+
/**
|
|
6510
|
+
* Returns motion group models that are supported for planning.
|
|
6511
|
+
* @summary Motion Group Models
|
|
6512
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6513
|
+
* @param {*} [options] Override http request option.
|
|
6514
|
+
* @throws {RequiredError}
|
|
6515
|
+
*/
|
|
6516
|
+
getMotionGroupModels(cell: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string>>>;
|
|
6517
|
+
};
|
|
6518
|
+
/**
|
|
6519
|
+
* MotionGroupModelsApi - factory interface
|
|
6520
|
+
* @export
|
|
6521
|
+
*/
|
|
6522
|
+
export declare const MotionGroupModelsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
6523
|
+
/**
|
|
6524
|
+
* 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.
|
|
6525
|
+
* @summary Get Collision Model
|
|
6526
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6527
|
+
* @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).
|
|
6528
|
+
* @param {*} [options] Override http request option.
|
|
6529
|
+
* @throws {RequiredError}
|
|
6530
|
+
*/
|
|
6531
|
+
getMotionGroupCollisionModel(cell: string, motionGroupModel: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<{
|
|
6532
|
+
[key: string]: Collider;
|
|
6533
|
+
}>>;
|
|
6534
|
+
/**
|
|
6535
|
+
* Returns motion group models that are supported for planning.
|
|
6536
|
+
* @summary Motion Group Models
|
|
6537
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6538
|
+
* @param {*} [options] Override http request option.
|
|
6539
|
+
* @throws {RequiredError}
|
|
6540
|
+
*/
|
|
6541
|
+
getMotionGroupModels(cell: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>>;
|
|
6542
|
+
};
|
|
6543
|
+
/**
|
|
6544
|
+
* MotionGroupModelsApi - object-oriented interface
|
|
6545
|
+
* @export
|
|
6546
|
+
* @class MotionGroupModelsApi
|
|
6547
|
+
* @extends {BaseAPI}
|
|
6548
|
+
*/
|
|
6549
|
+
export declare class MotionGroupModelsApi extends BaseAPI {
|
|
6550
|
+
/**
|
|
6551
|
+
* 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.
|
|
6552
|
+
* @summary Get Collision Model
|
|
6553
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6554
|
+
* @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).
|
|
6555
|
+
* @param {*} [options] Override http request option.
|
|
6556
|
+
* @throws {RequiredError}
|
|
6557
|
+
* @memberof MotionGroupModelsApi
|
|
6558
|
+
*/
|
|
6559
|
+
getMotionGroupCollisionModel(cell: string, motionGroupModel: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
|
|
6560
|
+
[key: string]: Collider;
|
|
6561
|
+
}[], any>>;
|
|
6562
|
+
/**
|
|
6563
|
+
* Returns motion group models that are supported for planning.
|
|
6564
|
+
* @summary Motion Group Models
|
|
6565
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6566
|
+
* @param {*} [options] Override http request option.
|
|
6567
|
+
* @throws {RequiredError}
|
|
6568
|
+
* @memberof MotionGroupModelsApi
|
|
6569
|
+
*/
|
|
6570
|
+
getMotionGroupModels(cell: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string[], any>>;
|
|
6571
|
+
}
|
|
6470
6572
|
/**
|
|
6471
6573
|
* ProgramApi - axios parameter creator
|
|
6472
6574
|
* @export
|
|
@@ -8504,23 +8606,6 @@ export declare class TrajectoryExecutionApi extends BaseAPI {
|
|
|
8504
8606
|
* @export
|
|
8505
8607
|
*/
|
|
8506
8608
|
export declare const TrajectoryPlanningApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
8507
|
-
/**
|
|
8508
|
-
* 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.
|
|
8509
|
-
* @summary Get Default Link Chain
|
|
8510
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8511
|
-
* @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).
|
|
8512
|
-
* @param {*} [options] Override http request option.
|
|
8513
|
-
* @throws {RequiredError}
|
|
8514
|
-
*/
|
|
8515
|
-
getDefaultLinkChain: (cell: string, motionGroupModel: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
8516
|
-
/**
|
|
8517
|
-
* Returns motion group models that are supported for planning.
|
|
8518
|
-
* @summary Motion Group Models for Planning
|
|
8519
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8520
|
-
* @param {*} [options] Override http request option.
|
|
8521
|
-
* @throws {RequiredError}
|
|
8522
|
-
*/
|
|
8523
|
-
getMotionGroupModelsForPlanning: (cell: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
8524
8609
|
/**
|
|
8525
8610
|
* 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.
|
|
8526
8611
|
* @summary Plan Trajectory
|
|
@@ -8536,25 +8621,6 @@ export declare const TrajectoryPlanningApiAxiosParamCreator: (configuration?: Co
|
|
|
8536
8621
|
* @export
|
|
8537
8622
|
*/
|
|
8538
8623
|
export declare const TrajectoryPlanningApiFp: (configuration?: Configuration) => {
|
|
8539
|
-
/**
|
|
8540
|
-
* 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.
|
|
8541
|
-
* @summary Get Default Link Chain
|
|
8542
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8543
|
-
* @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).
|
|
8544
|
-
* @param {*} [options] Override http request option.
|
|
8545
|
-
* @throws {RequiredError}
|
|
8546
|
-
*/
|
|
8547
|
-
getDefaultLinkChain(cell: string, motionGroupModel: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<{
|
|
8548
|
-
[key: string]: Collider;
|
|
8549
|
-
}>>>;
|
|
8550
|
-
/**
|
|
8551
|
-
* Returns motion group models that are supported for planning.
|
|
8552
|
-
* @summary Motion Group Models for Planning
|
|
8553
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8554
|
-
* @param {*} [options] Override http request option.
|
|
8555
|
-
* @throws {RequiredError}
|
|
8556
|
-
*/
|
|
8557
|
-
getMotionGroupModelsForPlanning(cell: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string>>>;
|
|
8558
8624
|
/**
|
|
8559
8625
|
* 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.
|
|
8560
8626
|
* @summary Plan Trajectory
|
|
@@ -8570,25 +8636,6 @@ export declare const TrajectoryPlanningApiFp: (configuration?: Configuration) =>
|
|
|
8570
8636
|
* @export
|
|
8571
8637
|
*/
|
|
8572
8638
|
export declare const TrajectoryPlanningApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
8573
|
-
/**
|
|
8574
|
-
* 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.
|
|
8575
|
-
* @summary Get Default Link Chain
|
|
8576
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8577
|
-
* @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).
|
|
8578
|
-
* @param {*} [options] Override http request option.
|
|
8579
|
-
* @throws {RequiredError}
|
|
8580
|
-
*/
|
|
8581
|
-
getDefaultLinkChain(cell: string, motionGroupModel: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<{
|
|
8582
|
-
[key: string]: Collider;
|
|
8583
|
-
}>>;
|
|
8584
|
-
/**
|
|
8585
|
-
* Returns motion group models that are supported for planning.
|
|
8586
|
-
* @summary Motion Group Models for Planning
|
|
8587
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8588
|
-
* @param {*} [options] Override http request option.
|
|
8589
|
-
* @throws {RequiredError}
|
|
8590
|
-
*/
|
|
8591
|
-
getMotionGroupModelsForPlanning(cell: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>>;
|
|
8592
8639
|
/**
|
|
8593
8640
|
* 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.
|
|
8594
8641
|
* @summary Plan Trajectory
|
|
@@ -8606,27 +8653,6 @@ export declare const TrajectoryPlanningApiFactory: (configuration?: Configuratio
|
|
|
8606
8653
|
* @extends {BaseAPI}
|
|
8607
8654
|
*/
|
|
8608
8655
|
export declare class TrajectoryPlanningApi extends BaseAPI {
|
|
8609
|
-
/**
|
|
8610
|
-
* 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.
|
|
8611
|
-
* @summary Get Default Link Chain
|
|
8612
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8613
|
-
* @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).
|
|
8614
|
-
* @param {*} [options] Override http request option.
|
|
8615
|
-
* @throws {RequiredError}
|
|
8616
|
-
* @memberof TrajectoryPlanningApi
|
|
8617
|
-
*/
|
|
8618
|
-
getDefaultLinkChain(cell: string, motionGroupModel: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
|
|
8619
|
-
[key: string]: Collider;
|
|
8620
|
-
}[], any>>;
|
|
8621
|
-
/**
|
|
8622
|
-
* Returns motion group models that are supported for planning.
|
|
8623
|
-
* @summary Motion Group Models for Planning
|
|
8624
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8625
|
-
* @param {*} [options] Override http request option.
|
|
8626
|
-
* @throws {RequiredError}
|
|
8627
|
-
* @memberof TrajectoryPlanningApi
|
|
8628
|
-
*/
|
|
8629
|
-
getMotionGroupModelsForPlanning(cell: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string[], any>>;
|
|
8630
8656
|
/**
|
|
8631
8657
|
* 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.
|
|
8632
8658
|
* @summary Plan Trajectory
|
package/v2/api.js
CHANGED
|
@@ -4082,6 +4082,185 @@ export class MotionGroupApi extends BaseAPI {
|
|
|
4082
4082
|
return MotionGroupApiFp(this.configuration).streamMotionGroupState(cell, motionGroup, responseRate, responseCoordinateSystem, options).then((request) => request(this.axios, this.basePath));
|
|
4083
4083
|
}
|
|
4084
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
|
+
}
|
|
4085
4264
|
/**
|
|
4086
4265
|
* ProgramApi - axios parameter creator
|
|
4087
4266
|
* @export
|
|
@@ -7943,80 +8122,6 @@ export class TrajectoryExecutionApi extends BaseAPI {
|
|
|
7943
8122
|
*/
|
|
7944
8123
|
export const TrajectoryPlanningApiAxiosParamCreator = function (configuration) {
|
|
7945
8124
|
return {
|
|
7946
|
-
/**
|
|
7947
|
-
* 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.
|
|
7948
|
-
* @summary Get Default Link Chain
|
|
7949
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
7950
|
-
* @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).
|
|
7951
|
-
* @param {*} [options] Override http request option.
|
|
7952
|
-
* @throws {RequiredError}
|
|
7953
|
-
*/
|
|
7954
|
-
getDefaultLinkChain: async (cell, motionGroupModel, options = {}) => {
|
|
7955
|
-
// verify required parameter 'cell' is not null or undefined
|
|
7956
|
-
assertParamExists('getDefaultLinkChain', 'cell', cell);
|
|
7957
|
-
// verify required parameter 'motionGroupModel' is not null or undefined
|
|
7958
|
-
assertParamExists('getDefaultLinkChain', 'motionGroupModel', motionGroupModel);
|
|
7959
|
-
const localVarPath = `/cells/{cell}/store/collision/default-link-chains/{motion-group-model}`
|
|
7960
|
-
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)))
|
|
7961
|
-
.replace(`{${"motion-group-model"}}`, encodeURIComponent(String(motionGroupModel)));
|
|
7962
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7963
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7964
|
-
let baseOptions;
|
|
7965
|
-
if (configuration) {
|
|
7966
|
-
baseOptions = configuration.baseOptions;
|
|
7967
|
-
}
|
|
7968
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
7969
|
-
const localVarHeaderParameter = {};
|
|
7970
|
-
const localVarQueryParameter = {};
|
|
7971
|
-
// authentication BasicAuth required
|
|
7972
|
-
// http basic authentication required
|
|
7973
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
7974
|
-
// authentication BearerAuth required
|
|
7975
|
-
// http bearer authentication required
|
|
7976
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
7977
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7978
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7979
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
7980
|
-
return {
|
|
7981
|
-
url: toPathString(localVarUrlObj),
|
|
7982
|
-
options: localVarRequestOptions,
|
|
7983
|
-
};
|
|
7984
|
-
},
|
|
7985
|
-
/**
|
|
7986
|
-
* Returns motion group models that are supported for planning.
|
|
7987
|
-
* @summary Motion Group Models for Planning
|
|
7988
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
7989
|
-
* @param {*} [options] Override http request option.
|
|
7990
|
-
* @throws {RequiredError}
|
|
7991
|
-
*/
|
|
7992
|
-
getMotionGroupModelsForPlanning: async (cell, options = {}) => {
|
|
7993
|
-
// verify required parameter 'cell' is not null or undefined
|
|
7994
|
-
assertParamExists('getMotionGroupModelsForPlanning', 'cell', cell);
|
|
7995
|
-
const localVarPath = `/cells/{cell}/motion-planning/motion-group-models`
|
|
7996
|
-
.replace(`{${"cell"}}`, encodeURIComponent(String(cell)));
|
|
7997
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7998
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7999
|
-
let baseOptions;
|
|
8000
|
-
if (configuration) {
|
|
8001
|
-
baseOptions = configuration.baseOptions;
|
|
8002
|
-
}
|
|
8003
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
8004
|
-
const localVarHeaderParameter = {};
|
|
8005
|
-
const localVarQueryParameter = {};
|
|
8006
|
-
// authentication BasicAuth required
|
|
8007
|
-
// http basic authentication required
|
|
8008
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
8009
|
-
// authentication BearerAuth required
|
|
8010
|
-
// http bearer authentication required
|
|
8011
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
8012
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8013
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8014
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
8015
|
-
return {
|
|
8016
|
-
url: toPathString(localVarUrlObj),
|
|
8017
|
-
options: localVarRequestOptions,
|
|
8018
|
-
};
|
|
8019
|
-
},
|
|
8020
8125
|
/**
|
|
8021
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.
|
|
8022
8127
|
* @summary Plan Trajectory
|
|
@@ -8064,33 +8169,6 @@ export const TrajectoryPlanningApiAxiosParamCreator = function (configuration) {
|
|
|
8064
8169
|
export const TrajectoryPlanningApiFp = function (configuration) {
|
|
8065
8170
|
const localVarAxiosParamCreator = TrajectoryPlanningApiAxiosParamCreator(configuration);
|
|
8066
8171
|
return {
|
|
8067
|
-
/**
|
|
8068
|
-
* 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.
|
|
8069
|
-
* @summary Get Default Link Chain
|
|
8070
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8071
|
-
* @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).
|
|
8072
|
-
* @param {*} [options] Override http request option.
|
|
8073
|
-
* @throws {RequiredError}
|
|
8074
|
-
*/
|
|
8075
|
-
async getDefaultLinkChain(cell, motionGroupModel, options) {
|
|
8076
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getDefaultLinkChain(cell, motionGroupModel, options);
|
|
8077
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8078
|
-
const localVarOperationServerBasePath = operationServerMap['TrajectoryPlanningApi.getDefaultLinkChain']?.[localVarOperationServerIndex]?.url;
|
|
8079
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8080
|
-
},
|
|
8081
|
-
/**
|
|
8082
|
-
* Returns motion group models that are supported for planning.
|
|
8083
|
-
* @summary Motion Group Models for Planning
|
|
8084
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8085
|
-
* @param {*} [options] Override http request option.
|
|
8086
|
-
* @throws {RequiredError}
|
|
8087
|
-
*/
|
|
8088
|
-
async getMotionGroupModelsForPlanning(cell, options) {
|
|
8089
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getMotionGroupModelsForPlanning(cell, options);
|
|
8090
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8091
|
-
const localVarOperationServerBasePath = operationServerMap['TrajectoryPlanningApi.getMotionGroupModelsForPlanning']?.[localVarOperationServerIndex]?.url;
|
|
8092
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8093
|
-
},
|
|
8094
8172
|
/**
|
|
8095
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.
|
|
8096
8174
|
* @summary Plan Trajectory
|
|
@@ -8114,27 +8192,6 @@ export const TrajectoryPlanningApiFp = function (configuration) {
|
|
|
8114
8192
|
export const TrajectoryPlanningApiFactory = function (configuration, basePath, axios) {
|
|
8115
8193
|
const localVarFp = TrajectoryPlanningApiFp(configuration);
|
|
8116
8194
|
return {
|
|
8117
|
-
/**
|
|
8118
|
-
* 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.
|
|
8119
|
-
* @summary Get Default Link Chain
|
|
8120
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8121
|
-
* @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).
|
|
8122
|
-
* @param {*} [options] Override http request option.
|
|
8123
|
-
* @throws {RequiredError}
|
|
8124
|
-
*/
|
|
8125
|
-
getDefaultLinkChain(cell, motionGroupModel, options) {
|
|
8126
|
-
return localVarFp.getDefaultLinkChain(cell, motionGroupModel, options).then((request) => request(axios, basePath));
|
|
8127
|
-
},
|
|
8128
|
-
/**
|
|
8129
|
-
* Returns motion group models that are supported for planning.
|
|
8130
|
-
* @summary Motion Group Models for Planning
|
|
8131
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8132
|
-
* @param {*} [options] Override http request option.
|
|
8133
|
-
* @throws {RequiredError}
|
|
8134
|
-
*/
|
|
8135
|
-
getMotionGroupModelsForPlanning(cell, options) {
|
|
8136
|
-
return localVarFp.getMotionGroupModelsForPlanning(cell, options).then((request) => request(axios, basePath));
|
|
8137
|
-
},
|
|
8138
8195
|
/**
|
|
8139
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.
|
|
8140
8197
|
* @summary Plan Trajectory
|
|
@@ -8155,29 +8212,6 @@ export const TrajectoryPlanningApiFactory = function (configuration, basePath, a
|
|
|
8155
8212
|
* @extends {BaseAPI}
|
|
8156
8213
|
*/
|
|
8157
8214
|
export class TrajectoryPlanningApi extends BaseAPI {
|
|
8158
|
-
/**
|
|
8159
|
-
* 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.
|
|
8160
|
-
* @summary Get Default Link Chain
|
|
8161
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8162
|
-
* @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).
|
|
8163
|
-
* @param {*} [options] Override http request option.
|
|
8164
|
-
* @throws {RequiredError}
|
|
8165
|
-
* @memberof TrajectoryPlanningApi
|
|
8166
|
-
*/
|
|
8167
|
-
getDefaultLinkChain(cell, motionGroupModel, options) {
|
|
8168
|
-
return TrajectoryPlanningApiFp(this.configuration).getDefaultLinkChain(cell, motionGroupModel, options).then((request) => request(this.axios, this.basePath));
|
|
8169
|
-
}
|
|
8170
|
-
/**
|
|
8171
|
-
* Returns motion group models that are supported for planning.
|
|
8172
|
-
* @summary Motion Group Models for Planning
|
|
8173
|
-
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
8174
|
-
* @param {*} [options] Override http request option.
|
|
8175
|
-
* @throws {RequiredError}
|
|
8176
|
-
* @memberof TrajectoryPlanningApi
|
|
8177
|
-
*/
|
|
8178
|
-
getMotionGroupModelsForPlanning(cell, options) {
|
|
8179
|
-
return TrajectoryPlanningApiFp(this.configuration).getMotionGroupModelsForPlanning(cell, options).then((request) => request(this.axios, this.basePath));
|
|
8180
|
-
}
|
|
8181
8215
|
/**
|
|
8182
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.
|
|
8183
8217
|
* @summary Plan Trajectory
|