@wandelbots/nova-api 25.3.0-dev.35 → 25.3.0-dev.37
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 +65 -3
- package/v2/api.js +6 -0
- package/v2/api.js.map +1 -1
- package/v2/api.ts +68 -3
package/package.json
CHANGED
package/v2/api.d.ts
CHANGED
|
@@ -2318,11 +2318,11 @@ export interface InitializeMovementRequest {
|
|
|
2318
2318
|
*/
|
|
2319
2319
|
'message_type'?: InitializeMovementRequestMessageTypeEnum;
|
|
2320
2320
|
/**
|
|
2321
|
-
*
|
|
2322
|
-
* @type {
|
|
2321
|
+
*
|
|
2322
|
+
* @type {InitializeMovementRequestTrajectory}
|
|
2323
2323
|
* @memberof InitializeMovementRequest
|
|
2324
2324
|
*/
|
|
2325
|
-
'trajectory':
|
|
2325
|
+
'trajectory': InitializeMovementRequestTrajectory;
|
|
2326
2326
|
/**
|
|
2327
2327
|
* Location on trajectory where the execution will start. The default value is the start (forward movement) or end (backward movement) of the trajectory. If you want to start your movement from an arbitrary location, e.g. in combination with [streamMoveToTrajectoryViaJointPTP](streamMoveToTrajectoryViaJointPTP), set the location by respecting the following format: - The location is a scalar value that defines a position along a path, typically ranging from 0 to `n`, where `n` denotes the number of motion commands - Each integer value of the location corresponds to a specific motion command, while non-integer values interpolate positions within the segments. - The location is calculated from the joint path
|
|
2328
2328
|
* @type {number}
|
|
@@ -2346,6 +2346,16 @@ export declare const InitializeMovementRequestMessageTypeEnum: {
|
|
|
2346
2346
|
readonly InitializeMovementRequest: "InitializeMovementRequest";
|
|
2347
2347
|
};
|
|
2348
2348
|
export type InitializeMovementRequestMessageTypeEnum = typeof InitializeMovementRequestMessageTypeEnum[keyof typeof InitializeMovementRequestMessageTypeEnum];
|
|
2349
|
+
/**
|
|
2350
|
+
* @type InitializeMovementRequestTrajectory
|
|
2351
|
+
* The trajectory which should be executed and locked to the connection.
|
|
2352
|
+
* @export
|
|
2353
|
+
*/
|
|
2354
|
+
export type InitializeMovementRequestTrajectory = {
|
|
2355
|
+
message_type: 'TrajectoryData';
|
|
2356
|
+
} & TrajectoryData | {
|
|
2357
|
+
message_type: 'TrajectoryId';
|
|
2358
|
+
} & TrajectoryId;
|
|
2349
2359
|
/**
|
|
2350
2360
|
* Response for InitializeMovementRequest message.
|
|
2351
2361
|
* @export
|
|
@@ -5757,6 +5767,58 @@ export interface TorqueExceededTorqueExceeded {
|
|
|
5757
5767
|
*/
|
|
5758
5768
|
'torque_limit'?: number;
|
|
5759
5769
|
}
|
|
5770
|
+
/**
|
|
5771
|
+
*
|
|
5772
|
+
* @export
|
|
5773
|
+
* @interface TrajectoryData
|
|
5774
|
+
*/
|
|
5775
|
+
export interface TrajectoryData {
|
|
5776
|
+
/**
|
|
5777
|
+
* Type specifier for server, set automatically.
|
|
5778
|
+
* @type {string}
|
|
5779
|
+
* @memberof TrajectoryData
|
|
5780
|
+
*/
|
|
5781
|
+
'message_type': TrajectoryDataMessageTypeEnum;
|
|
5782
|
+
/**
|
|
5783
|
+
* The trajectory consisting of a list of joint positions and an equal number of corresponding timestamps.
|
|
5784
|
+
* @type {JointTrajectory}
|
|
5785
|
+
* @memberof TrajectoryData
|
|
5786
|
+
*/
|
|
5787
|
+
'data': JointTrajectory;
|
|
5788
|
+
/**
|
|
5789
|
+
* Unique identifier of the tool the trajectory is planned for.
|
|
5790
|
+
* @type {string}
|
|
5791
|
+
* @memberof TrajectoryData
|
|
5792
|
+
*/
|
|
5793
|
+
'tcp'?: string;
|
|
5794
|
+
}
|
|
5795
|
+
export declare const TrajectoryDataMessageTypeEnum: {
|
|
5796
|
+
readonly TrajectoryData: "TrajectoryData";
|
|
5797
|
+
};
|
|
5798
|
+
export type TrajectoryDataMessageTypeEnum = typeof TrajectoryDataMessageTypeEnum[keyof typeof TrajectoryDataMessageTypeEnum];
|
|
5799
|
+
/**
|
|
5800
|
+
*
|
|
5801
|
+
* @export
|
|
5802
|
+
* @interface TrajectoryId
|
|
5803
|
+
*/
|
|
5804
|
+
export interface TrajectoryId {
|
|
5805
|
+
/**
|
|
5806
|
+
* Type specifier for server, set automatically.
|
|
5807
|
+
* @type {string}
|
|
5808
|
+
* @memberof TrajectoryId
|
|
5809
|
+
*/
|
|
5810
|
+
'message_type': TrajectoryIdMessageTypeEnum;
|
|
5811
|
+
/**
|
|
5812
|
+
* The identifier of the trajectory which was returned by the [addTrajectory](addTrajectory) endpoint.
|
|
5813
|
+
* @type {string}
|
|
5814
|
+
* @memberof TrajectoryId
|
|
5815
|
+
*/
|
|
5816
|
+
'id': string;
|
|
5817
|
+
}
|
|
5818
|
+
export declare const TrajectoryIdMessageTypeEnum: {
|
|
5819
|
+
readonly TrajectoryId: "TrajectoryId";
|
|
5820
|
+
};
|
|
5821
|
+
export type TrajectoryIdMessageTypeEnum = typeof TrajectoryIdMessageTypeEnum[keyof typeof TrajectoryIdMessageTypeEnum];
|
|
5760
5822
|
/**
|
|
5761
5823
|
*
|
|
5762
5824
|
* @export
|
package/v2/api.js
CHANGED
|
@@ -536,6 +536,12 @@ export const StartMovementRequestMessageTypeEnum = {
|
|
|
536
536
|
export const TcpVelocityRequestMessageTypeEnum = {
|
|
537
537
|
TcpVelocityRequest: 'TcpVelocityRequest'
|
|
538
538
|
};
|
|
539
|
+
export const TrajectoryDataMessageTypeEnum = {
|
|
540
|
+
TrajectoryData: 'TrajectoryData'
|
|
541
|
+
};
|
|
542
|
+
export const TrajectoryIdMessageTypeEnum = {
|
|
543
|
+
TrajectoryId: 'TrajectoryId'
|
|
544
|
+
};
|
|
539
545
|
/**
|
|
540
546
|
* The type of the trigger.
|
|
541
547
|
* @export
|