@wandelbots/nova-api 25.3.0-dev.36 → 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/v2/api.ts CHANGED
@@ -2394,11 +2394,11 @@ export interface InitializeMovementRequest {
2394
2394
  */
2395
2395
  'message_type'?: InitializeMovementRequestMessageTypeEnum;
2396
2396
  /**
2397
- * The trajectory which should be executed and locked to the connection. Get information about the trajectory via [getMotionTrajectory](getMotionTrajectory).
2398
- * @type {string}
2397
+ *
2398
+ * @type {InitializeMovementRequestTrajectory}
2399
2399
  * @memberof InitializeMovementRequest
2400
2400
  */
2401
- 'trajectory': string;
2401
+ 'trajectory': InitializeMovementRequestTrajectory;
2402
2402
  /**
2403
2403
  * 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
2404
2404
  * @type {number}
@@ -2425,6 +2425,13 @@ export const InitializeMovementRequestMessageTypeEnum = {
2425
2425
 
2426
2426
  export type InitializeMovementRequestMessageTypeEnum = typeof InitializeMovementRequestMessageTypeEnum[keyof typeof InitializeMovementRequestMessageTypeEnum];
2427
2427
 
2428
+ /**
2429
+ * @type InitializeMovementRequestTrajectory
2430
+ * The trajectory which should be executed and locked to the connection.
2431
+ * @export
2432
+ */
2433
+ export type InitializeMovementRequestTrajectory = { message_type: 'TrajectoryData' } & TrajectoryData | { message_type: 'TrajectoryId' } & TrajectoryId;
2434
+
2428
2435
  /**
2429
2436
  * Response for InitializeMovementRequest message.
2430
2437
  * @export
@@ -5976,6 +5983,64 @@ export interface TorqueExceededTorqueExceeded {
5976
5983
  */
5977
5984
  'torque_limit'?: number;
5978
5985
  }
5986
+ /**
5987
+ *
5988
+ * @export
5989
+ * @interface TrajectoryData
5990
+ */
5991
+ export interface TrajectoryData {
5992
+ /**
5993
+ * Type specifier for server, set automatically.
5994
+ * @type {string}
5995
+ * @memberof TrajectoryData
5996
+ */
5997
+ 'message_type': TrajectoryDataMessageTypeEnum;
5998
+ /**
5999
+ * The trajectory consisting of a list of joint positions and an equal number of corresponding timestamps.
6000
+ * @type {JointTrajectory}
6001
+ * @memberof TrajectoryData
6002
+ */
6003
+ 'data': JointTrajectory;
6004
+ /**
6005
+ * Unique identifier of the tool the trajectory is planned for.
6006
+ * @type {string}
6007
+ * @memberof TrajectoryData
6008
+ */
6009
+ 'tcp'?: string;
6010
+ }
6011
+
6012
+ export const TrajectoryDataMessageTypeEnum = {
6013
+ TrajectoryData: 'TrajectoryData'
6014
+ } as const;
6015
+
6016
+ export type TrajectoryDataMessageTypeEnum = typeof TrajectoryDataMessageTypeEnum[keyof typeof TrajectoryDataMessageTypeEnum];
6017
+
6018
+ /**
6019
+ *
6020
+ * @export
6021
+ * @interface TrajectoryId
6022
+ */
6023
+ export interface TrajectoryId {
6024
+ /**
6025
+ * Type specifier for server, set automatically.
6026
+ * @type {string}
6027
+ * @memberof TrajectoryId
6028
+ */
6029
+ 'message_type': TrajectoryIdMessageTypeEnum;
6030
+ /**
6031
+ * The identifier of the trajectory which was returned by the [addTrajectory](addTrajectory) endpoint.
6032
+ * @type {string}
6033
+ * @memberof TrajectoryId
6034
+ */
6035
+ 'id': string;
6036
+ }
6037
+
6038
+ export const TrajectoryIdMessageTypeEnum = {
6039
+ TrajectoryId: 'TrajectoryId'
6040
+ } as const;
6041
+
6042
+ export type TrajectoryIdMessageTypeEnum = typeof TrajectoryIdMessageTypeEnum[keyof typeof TrajectoryIdMessageTypeEnum];
6043
+
5979
6044
  /**
5980
6045
  *
5981
6046
  * @export