|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.roboticsAPI.conditionModel.AbstractCondition
com.kuka.roboticsAPI.conditionModel.RobotCondition
com.kuka.roboticsAPI.conditionModel.ForceCondition
public class ForceCondition
ForceCondition is used to check the Cartesian force-vector at any arbitrary
position relative to the robot flange. The orientation of the coordinate
system for the measurement can also be chosen freely.
The condition is fulfilled every time the magnitude of the projection of the
measured force vector to the specified Cartesian component exceeds the force
threshold.
| Constructor Summary | |
|---|---|
ForceCondition(AbstractFrame measureFrame,
AbstractFrame orientationFrame,
EnumSet<CoordinateAxis> coordinateAxes,
double threshold)
Creates a new instance of a ForceCondition. |
|
ForceCondition(AbstractFrame measureFrame,
AbstractFrame orientationFrame,
EnumSet<CoordinateAxis> coordinateAxes,
double threshold,
double tolerance)
Creates a new instance of a ForceCondition. |
|
ForceCondition(AbstractFrame measureFrame,
EnumSet<CoordinateAxis> coordinateAxes,
double threshold)
Creates a new instance of a ForceCondition. |
|
ForceCondition(AbstractFrame measureFrame,
EnumSet<CoordinateAxis> coordinateAxes,
double threshold,
double tolerance)
Creates a new instance of a ForceCondition. |
|
| Method Summary | |
|---|---|
static ForceCondition |
createNormalForceCondition(AbstractFrame measureFrame,
AbstractFrame orientationFrame,
CoordinateAxis direction,
double threshold)
Creates a new ForceCondition that checks the magnitude of the measured force in direction of the specified Cartesian coordinate axis (direction). |
static ForceCondition |
createNormalForceCondition(AbstractFrame measureFrame,
AbstractFrame orientationFrame,
CoordinateAxis direction,
double threshold,
double tolerance)
Creates a new ForceCondition that checks the magnitude of the measured force in direction of the specified Cartesian coordinate axis (direction). |
static ForceCondition |
createNormalForceCondition(AbstractFrame measureFrame,
CoordinateAxis direction,
double threshold)
Creates a new ForceCondition that checks the magnitude of the measured force in direction of the specified Cartesian coordinate axis (direction). |
static ForceCondition |
createNormalForceCondition(AbstractFrame measureFrame,
CoordinateAxis direction,
double threshold,
double tolerance)
Creates a new ForceCondition that checks the magnitude of the measured force in direction of the specified Cartesian coordinate axis (direction). |
static ForceCondition |
createShearForceCondition(AbstractFrame measureFrame,
AbstractFrame orientationFrame,
CoordinateAxis normalDirection,
double threshold)
Creates a new ForceCondition that checks the magnitude of the projection of the measured force vector to a plane. |
static ForceCondition |
createShearForceCondition(AbstractFrame measureFrame,
AbstractFrame orientationFrame,
CoordinateAxis normalDirection,
double threshold,
double tolerance)
Creates a new ForceCondition that checks the magnitude of the projection of the measured force vector to a plane. |
static ForceCondition |
createShearForceCondition(AbstractFrame measureFrame,
CoordinateAxis normalDirection,
double threshold)
Creates a new ForceCondition that checks the magnitude of the projection of the measured force vector to a plane. |
static ForceCondition |
createShearForceCondition(AbstractFrame measureFrame,
CoordinateAxis normalDirection,
double threshold,
double tolerance)
Creates a new ForceCondition that checks the magnitude of the projection of the measured force vector to a plane. |
static ForceCondition |
createSpatialForceCondition(AbstractFrame measureFrame,
AbstractFrame orientationFrame,
double threshold)
Creates a new ForceCondition that checks the magnitude of the three-dimensional measured force vector. |
static ForceCondition |
createSpatialForceCondition(AbstractFrame measureFrame,
AbstractFrame orientationFrame,
double threshold,
double tolerance)
Creates a new ForceCondition that checks the magnitude of the three-dimensional measured force vector. |
static ForceCondition |
createSpatialForceCondition(AbstractFrame measureFrame,
double threshold)
Creates a new ForceCondition that checks the magnitude of the three-dimensional measured force vector. |
static ForceCondition |
createSpatialForceCondition(AbstractFrame measureFrame,
double threshold,
double tolerance)
Creates a new ForceCondition that checks the magnitude of the three-dimensional measured force vector. |
EnumSet<CoordinateAxis> |
getCoordinateAxes()
Gets the Cartesian coordinate axes which define the projection of the applied force vector that will be considered when evaluating the condition. |
AbstractFrame |
getMeasureFrame()
Gets the frame where the measurement will take place. |
AbstractFrame |
getOrientationFrame()
Gets the frame that specifies the orientation of the coordinate axes used in this condition. |
double |
getThreshold()
Gets the force threshold value at which the condition will fire. |
double |
getTolerance()
Gets the tolerance value which is used as an estimator for the maximum allowed measurement inaccuracy. |
String |
toString()
|
| Methods inherited from class com.kuka.roboticsAPI.conditionModel.RobotCondition |
|---|
getController, getRobot, setRobot |
| Methods inherited from class com.kuka.roboticsAPI.conditionModel.AbstractCondition |
|---|
and, invert, or, xor |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ForceCondition(AbstractFrame measureFrame,
EnumSet<CoordinateAxis> coordinateAxes,
double threshold)
measureFrame exceeds the
force threshold.
This condition has a default value for measurement inaccuracy.
The quality of the measurement depends on the current robot pose, and declines near singularities. The
ForceCondition is fulfilled every time the measurement inaccuracy is equal or greater than the specified
tolerance.
measureFrame - The frame where the measurement will take place. At motion execution, this frame
must be statically attached to a device which can measure
forces (such as an LBR). null, the frame that is
currently moved is used.coordinateAxes - Specifies the projection of the applied force vector that will
be considered when evaluating the condition. This depends on
which and how many parameters are included in this EnumSet:
measureFrame
measureFrame threshold - The force threshold value in [N]. The value has to be
nonnegative.
IllegalArgumentException - if an invalid argument is given
public ForceCondition(AbstractFrame measureFrame,
EnumSet<CoordinateAxis> coordinateAxes,
double threshold,
double tolerance)
measureFrame exceeds the
force threshold.tolerance other than the default value
(= 10) is required.
measureFrame - The frame where the measurement will take place. This frame
must be statically attached to a device which can measure
forces (such as an LBR). null, the frame that is
currently moved is used.coordinateAxes - Specifies the projection of the applied force vector that will
be considered when evaluating the condition. This depends on
which and how many parameters are included in this EnumSet:
measureFrame
measureFrame
threshold - The force threshold value in [N]. The value has to be
nonnegative.tolerance - Tolerance is used as an estimator for maximum allowed
measurement inaccuracy. The quality of the measurement depends
on the current robot pose, and declines near singularities. IllegalArgumentException - if an invalid argument is given
public ForceCondition(AbstractFrame measureFrame,
AbstractFrame orientationFrame,
EnumSet<CoordinateAxis> coordinateAxes,
double threshold)
orientationFrame exceeds
the force threshold.
This condition has a default value for measurement inaccuracy.
The quality of the measurement depends on the current robot pose, and declines near singularities. The
ForceCondition is fulfilled every time the measurement inaccuracy is equal or greater than the specified
tolerance.
measureFrame - The frame where the measurement will take place. This frame
must be statically attached to a device which can measure
forces (such as an LBR). If an orientationFrame is
given, the orientation of measureFrame will be ignored.null, the frame that is
currently moved is used.orientationFrame - Optional frame that specifies the orientation of the
coordinate axes used in this condition. Must be a frame that
has a static transformation to World. If orientationFrame is
set to null, the orientation of measureFrame is used.coordinateAxes - Specifies the projection of the applied force vector that will
be considered when evaluating the condition. This depends on
which and how many parameters are included in this EnumSet:
orientationFrame orientationFrame threshold - The force threshold value in [N]. The value has to be
nonnegative.
IllegalArgumentException - if an invalid argument is given
public ForceCondition(AbstractFrame measureFrame,
AbstractFrame orientationFrame,
EnumSet<CoordinateAxis> coordinateAxes,
double threshold,
double tolerance)
orientationFrame exceeds
the force threshold.tolerance other than the default value
(= 10) is required.
measureFrame - The frame where the measurement will take place. This frame
must be statically attached to a device which can measure
forces (such as an LBR). If an orientationFrame is
given, the orientation of measureFrame will be ignored.null, the frame that is
currently moved is used.orientationFrame - Optional frame that specifies the orientation of the
coordinate axes used in this condition. Must be a frame that
has a static transformation to World. If orientationFrame is
set to null, the orientation of measureFrame is used.coordinateAxes - Specifies the projection of the applied force vector that will
be considered when evaluating the condition. This depends on
which and how many parameters are included in this EnumSet:
orientationFrame
orientationFrame
threshold - The force threshold value in [N]. The value has to be
nonnegative.tolerance - Tolerance is used as an estimator for maximum allowed
measurement inaccuracy. The quality of the measurement depends
on the current robot pose, and declines near singularities. IllegalArgumentException - if an invalid argument is given| Method Detail |
|---|
public AbstractFrame getMeasureFrame()
LBR). If an orientationFrame is
given, the orientation of this
frame will be ignored.null if the frame that is currently moved is used.
public double getTolerance()
public AbstractFrame getOrientationFrame()
null, the orientation of the measurement
frame is used.
public EnumSet<CoordinateAxis> getCoordinateAxes()
EnumSet:
orientationFrame
orientationFrame
public double getThreshold()
public static ForceCondition createSpatialForceCondition(AbstractFrame measureFrame,
double threshold)
This condition has a default value for measurement inaccuracy.
The quality of the measurement depends on the current robot pose, and declines near singularities. The
ForceCondition is fulfilled every time the measurement inaccuracy is equal or greater than the specified
tolerance.
measureFrame - The frame where the measurement will take place. This frame
must be statically attached to a device which can measure
forces (such as an LBR). null, the frame that is
currently moved is used.threshold - The force threshold value in [N]. The value has to be
nonnegative.
IllegalArgumentException - if an invalid argument is given
public static ForceCondition createSpatialForceCondition(AbstractFrame measureFrame,
double threshold,
double tolerance)
tolerance other than the default value (=
10) is required.
measureFrame - The frame where the measurement will take place. This frame
must be statically attached to a device which can measure
forces (such as an LBR). null, the frame that is
currently moved is used.threshold - The force threshold value in [N]. The value has to be
nonnegative.tolerance - Tolerance is used as an estimator for maximum allowed
measurement inaccuracy. The quality of the measurement depends
on the current robot pose, and declines near singularities. IllegalArgumentException - if an invalid argument is given
public static ForceCondition createSpatialForceCondition(AbstractFrame measureFrame,
AbstractFrame orientationFrame,
double threshold)
This condition has a default value for measurement inaccuracy.
The quality of the measurement depends on the current robot pose, and declines near singularities. The
ForceCondition is fulfilled every time the measurement inaccuracy is equal or greater than the specified
tolerance.
measureFrame - The frame where the measurement will take place. This frame
must be statically attached to a device which can measure
forces (such as an LBR). If an orientationFrame is
given, the orientation of measureFrame will be ignored.null, the frame that is
currently moved is used.orientationFrame - Optional frame that specifies the orientation of the
coordinate axes used in this condition. Must be a frame that
has a static transformation to World. If orientationFrame is
set to null, the orientation of measureFrame is used.threshold - The force threshold value in [N]. The value has to be
nonnegative.
IllegalArgumentException - if an invalid argument is given
public static ForceCondition createSpatialForceCondition(AbstractFrame measureFrame,
AbstractFrame orientationFrame,
double threshold,
double tolerance)
tolerance other than the default value (=
10) is required.
measureFrame - The frame where the measurement will take place. This frame
must be statically attached to a device which can measure
forces (such as an LBR). If an orientationFrame is
given, the orientation of measureFrame will be ignored.null, the frame that is
currently moved is used.orientationFrame - Optional frame that specifies the orientation of the
coordinate axes used in this condition. Must be a frame that
has a static transformation to World. If orientationFrame is
set to null, the orientation of measureFrame is used.threshold - The force threshold value in [N]. The value has to be
nonnegative.tolerance - Tolerance is used as an estimator for maximum allowed
measurement inaccuracy. The quality of the measurement depends
on the current robot pose, and declines near singularities. IllegalArgumentException - if an invalid argument is given
public static ForceCondition createShearForceCondition(AbstractFrame measureFrame,
CoordinateAxis normalDirection,
double threshold)
This condition has a default value for measurement inaccuracy.
The quality of the measurement depends on the current robot pose, and declines near singularities. The
ForceCondition is fulfilled every time the measurement inaccuracy is equal or greater than the specified
tolerance.
measureFrame - The frame where the measurement will take place. This frame
must be statically attached to a device which can measure
forces (such as an LBR). null, the frame that is
currently moved is used.normalDirection - The Cartesian coordinate axis that is orthogonal to the plane.threshold - The force threshold value in [N]. The value has to be
nonnegative.
IllegalArgumentException - if an invalid argument is given
public static ForceCondition createShearForceCondition(AbstractFrame measureFrame,
CoordinateAxis normalDirection,
double threshold,
double tolerance)
tolerance other than the default value (=
10) is required.
measureFrame - The frame where the measurement will take place. This frame
must be statically attached to a device which can measure
forces (such as an LBR). null, the frame that is
currently moved is used.normalDirection - The Cartesian coordinate axis that is orthogonal to the plane.threshold - The force threshold value in [N]. The value has to be
nonnegative.tolerance - Tolerance is used as an estimator for maximum allowed
measurement inaccuracy. The quality of the measurement depends
on the current robot pose, and declines near singularities. IllegalArgumentException - if an invalid argument is given
public static ForceCondition createShearForceCondition(AbstractFrame measureFrame,
AbstractFrame orientationFrame,
CoordinateAxis normalDirection,
double threshold)
This condition has a default value for measurement inaccuracy.
The quality of the measurement depends on the current robot pose, and declines near singularities. The
ForceCondition is fulfilled every time the measurement inaccuracy is equal or greater than the specified
tolerance.
measureFrame - The frame where the measurement will take place. This frame
must be statically attached to a device which can measure
forces (such as an LBR). If an orientationFrame is
given, the orientation of measureFrame will be ignored.null, the frame that is
currently moved is used.orientationFrame - Optional frame that specifies the orientation of the
coordinate axes used in this condition. Must be a frame that
has a static transformation to World. If orientationFrame is
set to null, the orientation of measureFrame is used.normalDirection - The Cartesian coordinate axis that is orthogonal to the plane.threshold - The force threshold value in [N]. The value has to be
nonnegative.
public static ForceCondition createShearForceCondition(AbstractFrame measureFrame,
AbstractFrame orientationFrame,
CoordinateAxis normalDirection,
double threshold,
double tolerance)
tolerance other than the default value (=
10) is required.
measureFrame - The frame where the measurement will take place. This frame
must be statically attached to a device which can measure
forces (such as an LBR). If an orientationFrame is
given, the orientation of measureFrame will be ignored.null, the frame that is
currently moved is used.orientationFrame - Optional frame that specifies the orientation of the
coordinate axes used in this condition. Must be a frame that
has a static transformation to World. If orientationFrame is
set to null, the orientation of measureFrame is used.normalDirection - The Cartesian coordinate axis that is orthogonal to the plane.threshold - The force threshold value in [N]. The value has to be
nonnegative.tolerance - Tolerance is used as an estimator for maximum allowed
measurement inaccuracy. The quality of the measurement depends
on the current robot pose, and declines near singularities. IllegalArgumentException - if an invalid argument is given
public static ForceCondition createNormalForceCondition(AbstractFrame measureFrame,
CoordinateAxis direction,
double threshold)
This condition has a default value for measurement inaccuracy.
The quality of the measurement depends on the current robot pose, and declines near singularities. The
ForceCondition is fulfilled every time the measurement inaccuracy is equal or greater than the specified
tolerance.
measureFrame - The frame where the measurement will take place. This frame
must be statically attached to a device which can measure
forces (such as an LBR). null, the frame that is
currently moved is used.direction - The Cartesian coordinate axis onto which the measured force
vector is projected.threshold - The force threshold value in [N]. The value has to be
nonnegative.
IllegalArgumentException - if an invalid argument is given
public static ForceCondition createNormalForceCondition(AbstractFrame measureFrame,
CoordinateAxis direction,
double threshold,
double tolerance)
tolerance other than the default value (=
10) is required.
measureFrame - The frame where the measurement will take place. This frame
must be statically attached to a device which can measure
forces (such as an LBR). null, the frame that is
currently moved is used.direction - The Cartesian coordinate axis onto which the measured force
vector is projected.threshold - The force threshold value in [N]. The value has to be
nonnegative.tolerance - Tolerance is used as an estimator for maximum allowed
measurement inaccuracy. The quality of the measurement depends
on the current robot pose, and declines near singularities. IllegalArgumentException - if an invalid argument is given
public static ForceCondition createNormalForceCondition(AbstractFrame measureFrame,
AbstractFrame orientationFrame,
CoordinateAxis direction,
double threshold)
This condition has a default value for measurement inaccuracy.
The quality of the measurement depends on the current robot pose, and declines near singularities. The
ForceCondition is fulfilled every time the measurement inaccuracy is equal or greater than the specified
tolerance.
measureFrame - The frame where the measurement will take place. This frame
must be statically attached to a device which can measure
BasicConditions#DEFAULT_FORCE_TOLERANCE measurement inaccuracy}.
The quality of the measurement depends on the current robot pose, and
declines near singularities. The ForceCondition is fulfilled every time
the measurement inaccuracy is equal or greater than the specified
tolerance.orientationFrame - Optional frame that specifies the orientation of the
coordinate axes used in this condition. Must be a frame that
has a static transformation to World. If orientationFrame is
set to null, the orientation of measureFrame is used.direction - The Cartesian coordinate axis onto which the measured force
vector is projected.threshold - The force threshold value in [N]. The value has to be
nonnegative.
IllegalArgumentException - if an invalid argument is given
public static ForceCondition createNormalForceCondition(AbstractFrame measureFrame,
AbstractFrame orientationFrame,
CoordinateAxis direction,
double threshold,
double tolerance)
tolerance other than the default value (=
10) is required.
measureFrame - The frame where the measurement will take place. This frame
must be statically attached to a device which can measure
forces (such as an LBR). If an orientationFrame is
given, the orientation of measureFrame will be ignored.null, the frame that is
currently moved is used.orientationFrame - Optional frame that specifies the orientation of the
coordinate axes used in this condition. Must be a frame that
has a static transformation to World. If orientationFrame is
set to null, the orientation of measureFrame is used.direction - The Cartesian coordinate axis onto which the measured force
vector is projected. Must not be null.threshold - The force threshold value in [N]. The value has to be
nonnegative.tolerance - Tolerance is used as an estimator for maximum allowed
measurement inaccuracy. The quality of the measurement depends
on the current robot pose, and declines near singularities. IllegalArgumentException - if an invalid argument is givenpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||