@wandelbots/nova-api 26.2.0-dev.60 → 26.2.0-dev.62
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/v1/index.d.cts +178 -178
- package/dist/v1/index.d.ts +178 -178
- package/dist/v2/index.cjs +49 -0
- package/dist/v2/index.d.cts +251 -145
- package/dist/v2/index.d.ts +251 -145
- package/dist/v2/index.js +49 -0
- package/package.json +1 -1
package/dist/v2/index.js
CHANGED
|
@@ -6429,6 +6429,35 @@ var TrajectoryExecutionApi = class extends BaseAPI {
|
|
|
6429
6429
|
*/
|
|
6430
6430
|
const TrajectoryPlanningApiAxiosParamCreator = function(configuration) {
|
|
6431
6431
|
return {
|
|
6432
|
+
mergeTrajectories: async (cell, mergeTrajectoriesRequest, options = {}) => {
|
|
6433
|
+
assertParamExists("mergeTrajectories", "cell", cell);
|
|
6434
|
+
assertParamExists("mergeTrajectories", "mergeTrajectoriesRequest", mergeTrajectoriesRequest);
|
|
6435
|
+
const localVarPath = `/experimental/cells/{cell}/trajectory-planning/merge-trajectories`.replace(`{cell}`, encodeURIComponent(String(cell)));
|
|
6436
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6437
|
+
let baseOptions;
|
|
6438
|
+
if (configuration) baseOptions = configuration.baseOptions;
|
|
6439
|
+
const localVarRequestOptions = {
|
|
6440
|
+
method: "POST",
|
|
6441
|
+
...baseOptions,
|
|
6442
|
+
...options
|
|
6443
|
+
};
|
|
6444
|
+
const localVarHeaderParameter = {};
|
|
6445
|
+
const localVarQueryParameter = {};
|
|
6446
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
6447
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
6448
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6449
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6450
|
+
localVarRequestOptions.headers = {
|
|
6451
|
+
...localVarHeaderParameter,
|
|
6452
|
+
...headersFromBaseOptions,
|
|
6453
|
+
...options.headers
|
|
6454
|
+
};
|
|
6455
|
+
localVarRequestOptions.data = serializeDataIfNeeded(mergeTrajectoriesRequest, localVarRequestOptions, configuration);
|
|
6456
|
+
return {
|
|
6457
|
+
url: toPathString(localVarUrlObj),
|
|
6458
|
+
options: localVarRequestOptions
|
|
6459
|
+
};
|
|
6460
|
+
},
|
|
6432
6461
|
planCollisionFree: async (cell, planCollisionFreeRequest, options = {}) => {
|
|
6433
6462
|
assertParamExists("planCollisionFree", "cell", cell);
|
|
6434
6463
|
assertParamExists("planCollisionFree", "planCollisionFreeRequest", planCollisionFreeRequest);
|
|
@@ -6495,6 +6524,12 @@ const TrajectoryPlanningApiAxiosParamCreator = function(configuration) {
|
|
|
6495
6524
|
const TrajectoryPlanningApiFp = function(configuration) {
|
|
6496
6525
|
const localVarAxiosParamCreator = TrajectoryPlanningApiAxiosParamCreator(configuration);
|
|
6497
6526
|
return {
|
|
6527
|
+
async mergeTrajectories(cell, mergeTrajectoriesRequest, options) {
|
|
6528
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.mergeTrajectories(cell, mergeTrajectoriesRequest, options);
|
|
6529
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6530
|
+
const localVarOperationServerBasePath = operationServerMap["TrajectoryPlanningApi.mergeTrajectories"]?.[localVarOperationServerIndex]?.url;
|
|
6531
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6532
|
+
},
|
|
6498
6533
|
async planCollisionFree(cell, planCollisionFreeRequest, options) {
|
|
6499
6534
|
const localVarAxiosArgs = await localVarAxiosParamCreator.planCollisionFree(cell, planCollisionFreeRequest, options);
|
|
6500
6535
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
@@ -6515,6 +6550,9 @@ const TrajectoryPlanningApiFp = function(configuration) {
|
|
|
6515
6550
|
const TrajectoryPlanningApiFactory = function(configuration, basePath, axios) {
|
|
6516
6551
|
const localVarFp = TrajectoryPlanningApiFp(configuration);
|
|
6517
6552
|
return {
|
|
6553
|
+
mergeTrajectories(cell, mergeTrajectoriesRequest, options) {
|
|
6554
|
+
return localVarFp.mergeTrajectories(cell, mergeTrajectoriesRequest, options).then((request) => request(axios, basePath));
|
|
6555
|
+
},
|
|
6518
6556
|
planCollisionFree(cell, planCollisionFreeRequest, options) {
|
|
6519
6557
|
return localVarFp.planCollisionFree(cell, planCollisionFreeRequest, options).then((request) => request(axios, basePath));
|
|
6520
6558
|
},
|
|
@@ -6527,6 +6565,17 @@ const TrajectoryPlanningApiFactory = function(configuration, basePath, axios) {
|
|
|
6527
6565
|
* TrajectoryPlanningApi - object-oriented interface
|
|
6528
6566
|
*/
|
|
6529
6567
|
var TrajectoryPlanningApi = class extends BaseAPI {
|
|
6568
|
+
/**
|
|
6569
|
+
* <!-- theme: danger --> > **Experimental** Merges a list of joint trajectories into a single trajectory with collision-aware blending. This endpoint merges a list of separate trajectories by connecting them via blending. The blending is performed with collision checking to ensure the merged trajectory is safe to execute. Timescaling will be applied to the blended area to ensure all limits are respected.
|
|
6570
|
+
* @summary Merge Trajectories
|
|
6571
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6572
|
+
* @param {MergeTrajectoriesRequest} mergeTrajectoriesRequest
|
|
6573
|
+
* @param {*} [options] Override http request option.
|
|
6574
|
+
* @throws {RequiredError}
|
|
6575
|
+
*/
|
|
6576
|
+
mergeTrajectories(cell, mergeTrajectoriesRequest, options) {
|
|
6577
|
+
return TrajectoryPlanningApiFp(this.configuration).mergeTrajectories(cell, mergeTrajectoriesRequest, options).then((request) => request(this.axios, this.basePath));
|
|
6578
|
+
}
|
|
6530
6579
|
/**
|
|
6531
6580
|
* Plans a collision-free trajectory for a single motion group using point-to-point (PTP) motions. This endpoint is specifically designed for collision-free path planning algorithms that find a trajectory from a start joint position to a target position while avoiding obstacles. Use the following workflow to execute a planned collision-free trajectory: 1. Plan a collision-free trajectory. 2. Optional: Load the planned trajectory into the cache using the [addTrajectory](#/operations/addTrajectory) endpoint. 3. Execute the (cached) trajectory using the [executeTrajectory](#/operations/executeTrajectory) endpoint. If the trajectory planning fails due to collision or algorithm constraints, the response will contain error information about the failure.
|
|
6532
6581
|
* @summary Plan Collision-Free Trajectory
|