@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.cjs
CHANGED
|
@@ -6431,6 +6431,35 @@ var TrajectoryExecutionApi = class extends BaseAPI {
|
|
|
6431
6431
|
*/
|
|
6432
6432
|
const TrajectoryPlanningApiAxiosParamCreator = function(configuration) {
|
|
6433
6433
|
return {
|
|
6434
|
+
mergeTrajectories: async (cell, mergeTrajectoriesRequest, options = {}) => {
|
|
6435
|
+
assertParamExists("mergeTrajectories", "cell", cell);
|
|
6436
|
+
assertParamExists("mergeTrajectories", "mergeTrajectoriesRequest", mergeTrajectoriesRequest);
|
|
6437
|
+
const localVarPath = `/experimental/cells/{cell}/trajectory-planning/merge-trajectories`.replace(`{cell}`, encodeURIComponent(String(cell)));
|
|
6438
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6439
|
+
let baseOptions;
|
|
6440
|
+
if (configuration) baseOptions = configuration.baseOptions;
|
|
6441
|
+
const localVarRequestOptions = {
|
|
6442
|
+
method: "POST",
|
|
6443
|
+
...baseOptions,
|
|
6444
|
+
...options
|
|
6445
|
+
};
|
|
6446
|
+
const localVarHeaderParameter = {};
|
|
6447
|
+
const localVarQueryParameter = {};
|
|
6448
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
6449
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
6450
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6451
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6452
|
+
localVarRequestOptions.headers = {
|
|
6453
|
+
...localVarHeaderParameter,
|
|
6454
|
+
...headersFromBaseOptions,
|
|
6455
|
+
...options.headers
|
|
6456
|
+
};
|
|
6457
|
+
localVarRequestOptions.data = serializeDataIfNeeded(mergeTrajectoriesRequest, localVarRequestOptions, configuration);
|
|
6458
|
+
return {
|
|
6459
|
+
url: toPathString(localVarUrlObj),
|
|
6460
|
+
options: localVarRequestOptions
|
|
6461
|
+
};
|
|
6462
|
+
},
|
|
6434
6463
|
planCollisionFree: async (cell, planCollisionFreeRequest, options = {}) => {
|
|
6435
6464
|
assertParamExists("planCollisionFree", "cell", cell);
|
|
6436
6465
|
assertParamExists("planCollisionFree", "planCollisionFreeRequest", planCollisionFreeRequest);
|
|
@@ -6497,6 +6526,12 @@ const TrajectoryPlanningApiAxiosParamCreator = function(configuration) {
|
|
|
6497
6526
|
const TrajectoryPlanningApiFp = function(configuration) {
|
|
6498
6527
|
const localVarAxiosParamCreator = TrajectoryPlanningApiAxiosParamCreator(configuration);
|
|
6499
6528
|
return {
|
|
6529
|
+
async mergeTrajectories(cell, mergeTrajectoriesRequest, options) {
|
|
6530
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.mergeTrajectories(cell, mergeTrajectoriesRequest, options);
|
|
6531
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6532
|
+
const localVarOperationServerBasePath = operationServerMap["TrajectoryPlanningApi.mergeTrajectories"]?.[localVarOperationServerIndex]?.url;
|
|
6533
|
+
return (axios$1, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$1, localVarOperationServerBasePath || basePath);
|
|
6534
|
+
},
|
|
6500
6535
|
async planCollisionFree(cell, planCollisionFreeRequest, options) {
|
|
6501
6536
|
const localVarAxiosArgs = await localVarAxiosParamCreator.planCollisionFree(cell, planCollisionFreeRequest, options);
|
|
6502
6537
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
@@ -6517,6 +6552,9 @@ const TrajectoryPlanningApiFp = function(configuration) {
|
|
|
6517
6552
|
const TrajectoryPlanningApiFactory = function(configuration, basePath, axios$1) {
|
|
6518
6553
|
const localVarFp = TrajectoryPlanningApiFp(configuration);
|
|
6519
6554
|
return {
|
|
6555
|
+
mergeTrajectories(cell, mergeTrajectoriesRequest, options) {
|
|
6556
|
+
return localVarFp.mergeTrajectories(cell, mergeTrajectoriesRequest, options).then((request) => request(axios$1, basePath));
|
|
6557
|
+
},
|
|
6520
6558
|
planCollisionFree(cell, planCollisionFreeRequest, options) {
|
|
6521
6559
|
return localVarFp.planCollisionFree(cell, planCollisionFreeRequest, options).then((request) => request(axios$1, basePath));
|
|
6522
6560
|
},
|
|
@@ -6529,6 +6567,17 @@ const TrajectoryPlanningApiFactory = function(configuration, basePath, axios$1)
|
|
|
6529
6567
|
* TrajectoryPlanningApi - object-oriented interface
|
|
6530
6568
|
*/
|
|
6531
6569
|
var TrajectoryPlanningApi = class extends BaseAPI {
|
|
6570
|
+
/**
|
|
6571
|
+
* <!-- 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.
|
|
6572
|
+
* @summary Merge Trajectories
|
|
6573
|
+
* @param {string} cell Unique identifier addressing a cell in all API calls.
|
|
6574
|
+
* @param {MergeTrajectoriesRequest} mergeTrajectoriesRequest
|
|
6575
|
+
* @param {*} [options] Override http request option.
|
|
6576
|
+
* @throws {RequiredError}
|
|
6577
|
+
*/
|
|
6578
|
+
mergeTrajectories(cell, mergeTrajectoriesRequest, options) {
|
|
6579
|
+
return TrajectoryPlanningApiFp(this.configuration).mergeTrajectories(cell, mergeTrajectoriesRequest, options).then((request) => request(this.axios, this.basePath));
|
|
6580
|
+
}
|
|
6532
6581
|
/**
|
|
6533
6582
|
* 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.
|
|
6534
6583
|
* @summary Plan Collision-Free Trajectory
|