@wandelbots/nova-api 25.8.0-dev.48 → 25.8.0-dev.49

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
@@ -106,7 +106,7 @@ export interface AddTrajectoryError {
106
106
  */
107
107
  'message'?: string;
108
108
  /**
109
- * The location of the error in the trajectory.
109
+ * 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
110
110
  * @type {number}
111
111
  * @memberof AddTrajectoryError
112
112
  */
@@ -2639,7 +2639,7 @@ export interface JointTrajectory {
2639
2639
  */
2640
2640
  'times': Array<number>;
2641
2641
  /**
2642
- * Location for each sample, scalar value defining a position along a path. Typical range: 0 to `n`, `n` denoting the number of motion commands. Each integer value of the location corresponds to a specific motion command. If provided, the number of samples must match the number of timestamps provided in the times field.
2642
+ *
2643
2643
  * @type {Array<number>}
2644
2644
  * @memberof JointTrajectory
2645
2645
  */
@@ -3913,11 +3913,11 @@ export interface PlanTrajectoryFailedResponse {
3913
3913
  */
3914
3914
  'error_feedback': PlanTrajectoryFailedResponseErrorFeedback;
3915
3915
  /**
3916
- *
3916
+ * 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
3917
3917
  * @type {number}
3918
3918
  * @memberof PlanTrajectoryFailedResponse
3919
3919
  */
3920
- 'error_location_on_trajectory'?: number;
3920
+ 'error_location_on_trajectory': number;
3921
3921
  /**
3922
3922
  * The joint trajectory from the start joint position to the error.
3923
3923
  * @type {JointTrajectory}
@@ -4962,6 +4962,25 @@ export interface ServiceStatusStatus {
4962
4962
  }
4963
4963
 
4964
4964
 
4965
+ /**
4966
+ * Defines an input/output that should be set upon reaching a specified location on the trajectory.
4967
+ * @export
4968
+ * @interface SetIO
4969
+ */
4970
+ export interface SetIO {
4971
+ /**
4972
+ *
4973
+ * @type {IOValue}
4974
+ * @memberof SetIO
4975
+ */
4976
+ 'io': IOValue;
4977
+ /**
4978
+ * The location on the trajectory where the input/output should be set.
4979
+ * @type {number}
4980
+ * @memberof SetIO
4981
+ */
4982
+ 'location': number;
4983
+ }
4965
4984
  /**
4966
4985
  *
4967
4986
  * @export
@@ -5037,10 +5056,10 @@ export interface StartMovementRequest {
5037
5056
  'direction'?: Direction;
5038
5057
  /**
5039
5058
  * Attaches a list of output commands to the trajectory. The outputs are set to the specified values right after the specified location was reached. If the specified location is located before the start location (forward direction: value is smaller, backward direction: value is bigger), the output is not set.
5040
- * @type {Array<IOValue>}
5059
+ * @type {Array<SetIO>}
5041
5060
  * @memberof StartMovementRequest
5042
5061
  */
5043
- 'set_outputs'?: Array<IOValue>;
5062
+ 'set_outputs'?: Array<SetIO>;
5044
5063
  /**
5045
5064
  * Defines an input/output that is listened to before the movement. Execution starts if the defined comparator evaluates to `true`.
5046
5065
  * @type {StartOnIO}
@@ -5312,7 +5331,7 @@ export interface TrajectoryDetails {
5312
5331
  */
5313
5332
  'trajectory': string;
5314
5333
  /**
5315
- * Current location of motion group on the trajectory.
5334
+ * 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
5316
5335
  * @type {number}
5317
5336
  * @memberof TrajectoryDetails
5318
5337
  */