|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.roboticsAPI.motionModel.controlModeModel.AbstractMotionControlMode
com.kuka.roboticsAPI.motionModel.controlModeModel.AbstractImpedanceControlMode
com.kuka.roboticsAPI.motionModel.controlModeModel.CartesianImpedanceControlMode
public class CartesianImpedanceControlMode
This control mode indicates cartesian impedance.
The mode always uses commanded values for the start position of the next motion unless the user sets the 'forceMeasuredValuesForNextMotion'-flag.
Note: The following default settings:
Stiffness [2000 N/m, 2000 N/m, 2000 N/m, 200 Nm/rad, 200 Nm/rad, 200 Nm/rad]
Damping [0.7, 0.7, 0.7, 0.7, 0.7, 0.7]
CartesianSineImpedanceControlMode| Nested Class Summary | |
|---|---|
class |
CartesianImpedanceControlMode.CartImpBuilder
Inner Class to parameterize the CartesianImpedanceControlMode for one or more degrees of freedom. |
| Constructor Summary | |
|---|---|
CartesianImpedanceControlMode()
Creates a new cartesian impedance control mode. |
|
CartesianImpedanceControlMode(CartesianImpedanceControlMode other)
Copy constructor. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object other)
Returns true, if all the impedance parameters are equal. |
double[] |
getAdditionalControlForce()
Gets the additional force to the TCP. |
double[] |
getDamping()
Gets the damping parameter array D_xi with values for Lehr's damping ratio for all degrees of freedom. |
double[] |
getMaxCartesianVelocity()
Gets the maximum cartesian velocity parameter array. |
double[] |
getMaxControlForce()
Gets the maximum control force parameter array. |
double[] |
getMaxPathDeviation()
Gets the maximum cartesian deviation accepted. |
Double |
getNullSpaceDamping()
Gets the damping parameter for null space [Nm*s/rad]. |
Double |
getNullSpaceStiffness()
Gets the stiffness parameter for null space [Nm/rad]. |
AbstractFrame |
getReferenceSystem()
Gets the reference system for the impedance settings. |
AbstractFrame |
getSpringPosition()
Gets the position of the spring. |
double[] |
getStiffness()
Gets the stiffness parameter array K_x. |
int |
hashCode()
|
boolean |
hasMaxControlForceStopCondition()
Indicates whether a stop condition is fired if the maximum control force is exceeded. |
boolean |
hasNullSpaceDamping()
Boolean value that indicates whether the null space damping parameter is set. |
boolean |
hasNullSpaceStiffness()
Boolean value that indicates whether the null space stiffness parameter is set. |
boolean |
isRecoverable()
States whether the control mode can be used to recover a device or not. |
CartesianImpedanceControlMode.CartImpBuilder |
parametrize(CartDOF... degreeOfFreedom)
Configures parameter for the cartesianImpedance- and cartesianSineImpedanceControlMode. |
CartesianImpedanceControlMode |
setAdditionalControlForce(double x,
double y,
double z,
double a,
double b,
double c)
Deprecated. Please use method parametrize(CartDOF...). |
void |
setAdditionalControlForceToDefaultValue()
Resets the additional force parameter to its default value. |
CartesianImpedanceControlMode |
setDamping(double[] values)
Deprecated. Please use method parametrize(CartDOF...). |
CartesianImpedanceControlMode |
setDamping(double x,
double y,
double z,
double a,
double b,
double c)
Deprecated. Please use method parametrize(CartDOF...). |
void |
setDampingToDefaultValue()
Resets the damping parameter to its default value. |
CartesianImpedanceControlMode |
setMaxCartesianVelocity(double x,
double y,
double z,
double a,
double b,
double c)
Sets the maximum cartesian velocity for this impedance motion. |
void |
setMaxCartesianVelocityToDefaultValue()
Resets the maximum cartesian velocity parameter to its default value. |
CartesianImpedanceControlMode |
setMaxControlForce(double x,
double y,
double z,
double a,
double b,
double c,
boolean addStopCondition)
Sets the maximum control force applied for this mode. |
void |
setMaxControlForceToDefaultValue()
Resets the maximum control force parameter to its default value. |
CartesianImpedanceControlMode |
setMaxPathDeviation(double x,
double y,
double z,
double a,
double b,
double c)
Sets the maximum cartesian deviation accepted. |
void |
setMaxPathDeviationToDefaultValue()
Resets the maximum path deviation parameter to its default value. |
CartesianImpedanceControlMode |
setNullSpaceDamping(double nullSpaceDamping)
Sets the damping parameter for null space. |
void |
setNullSpaceDampingToDefaultValue()
Resets the null space damping parameter to its default value. |
CartesianImpedanceControlMode |
setNullSpaceStiffness(double nullSpaceStiffness)
Sets the stiffness parameter for null space. |
void |
setNullSpaceStiffnessToDefaultValue()
Resets the null space stiffness parameter to its default value. |
CartesianImpedanceControlMode |
setReferenceSystem(AbstractFrame referenceSystem)
Sets the reference system for the impedance settings. |
CartesianImpedanceControlMode |
setSpringPosition(AbstractFrame springPosition)
Sets the position of the spring. |
CartesianImpedanceControlMode |
setStiffness(double[] values)
Deprecated. |
CartesianImpedanceControlMode |
setStiffness(double x,
double y,
double z,
double a,
double b,
double c)
Deprecated. Please use method parametrize(CartDOF...). |
void |
setStiffnessToDefaultValue()
Resets the stiffness parameter to its default value. |
String |
toString()
|
| Methods inherited from class com.kuka.roboticsAPI.motionModel.controlModeModel.AbstractImpedanceControlMode |
|---|
getMaxJointDeltas, isDeviceSupported, needsMeasuredValues, noCommandedMeasuredDevianceIntended, setMaxJointDeltas, useCommandedValuesForNextMotion, useMeasuredValuesForNextMotion |
| Methods inherited from class com.kuka.roboticsAPI.motionModel.controlModeModel.AbstractMotionControlMode |
|---|
getMaxJointSpeed, setMaxJointSpeed |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.kuka.roboticsAPI.motionModel.controlModeModel.IMotionControlMode |
|---|
getMaxJointSpeed |
| Constructor Detail |
|---|
public CartesianImpedanceControlMode()
public CartesianImpedanceControlMode(CartesianImpedanceControlMode other)
other - The other mode. null is not allowed.| Method Detail |
|---|
public CartesianImpedanceControlMode.CartImpBuilder parametrize(CartDOF... degreeOfFreedom)
degreeOfFreedom - The degree(s) of freedom for setting parameters. It is possible to set more than one degree at once
such as (CartDOF.X, CartDOF.Y)
CartDOF.ALL means [X,Y,Z,A,B,C]
CartDOF.ROT means [A,B,C]
CartDOF.TRANS means [X,Y,Z]
public final AbstractFrame getSpringPosition()
public final AbstractFrame getReferenceSystem()
public double[] getStiffness()
valueY is the stiffness value for the Y dimension [N/m],
valueZ is the stiffness value for the Z dimension [N/m],
valueA is the stiffness value for the A dimension [Nm/rad],
valueB is the stiffness value for the B dimension [Nm/rad],
valueC is the stiffness value for the C dimension [Nm/rad].
Returns the default value if stiffness is not set.
public void setStiffnessToDefaultValue()
public final double[] getDamping()
valueX is the damping value for the X dimension [dimensionless],
valueY is the damping value for the Y dimension [dimensionless],
valueZ is the damping value for the Z dimension [dimensionless],
valueA is the damping value for the A dimension [dimensionless],
valueB is the damping value for the B dimension [dimensionless],
valueC is the damping value for the C dimension [dimensionless].
Returns the default values if array not set.
[0.7, 0.7, 0.7, 0.7, 0.7, 0.7]
public void setDampingToDefaultValue()
public final Double getNullSpaceStiffness()
public void setNullSpaceStiffnessToDefaultValue()
public final Double getNullSpaceDamping()
public void setNullSpaceDampingToDefaultValue()
public double[] getMaxCartesianVelocity()
valueX is the maximum velocity in X direction [mm/s],
valueY is the maximum velocity in Y direction [mm/s],
valueZ is the maximum velocity in Z direction [mm/s],
valueA is the maximum velocity in A direction [rad/s],
valueB is the maximum velocity in B direction [rad/s],
valueC is the maximum velocity in C direction [rad/s].
Returns null if array not set.
public void setMaxCartesianVelocityToDefaultValue()
public double[] getMaxControlForce()
valueX is the maximum force in X direction [N],
valueY is the maximum force in Y direction [N],
valueZ is the maximum force in Z direction [N],
valueA is the maximum force in A direction [Nm],
valueB is the maximum force in B direction [Nm],
valueC is the maximum force in C direction [Nm].
Returns null if value not set.
public void setMaxControlForceToDefaultValue()
public double[] getMaxPathDeviation()
valueX, is the maximum deviation in X direction [mm],
valueY, is the maximum deviation in Y direction [mm],
valueZ, is the maximum deviation in Z direction [mm],
valueA, is the maximum deviation in A direction [rad],
valueB, is the maximum deviation in B direction [rad].,
valueC, is the maximum deviation in C direction [rad].
Returns null if value not set.
public void setMaxPathDeviationToDefaultValue()
public double[] getAdditionalControlForce()
valueX is the force to apply in X direction [N],
valueY is the force to apply in Y direction [N],
valueZ is the force to apply in Z direction [N],
valueA is the force to apply in A direction [Nm],
valueB is the force to apply in B direction [Nm],
valueC is the force to apply in C direction [Nm].
Returns null if array not set.
public void setAdditionalControlForceToDefaultValue()
@Deprecated
public CartesianImpedanceControlMode setDamping(double x,
double y,
double z,
double a,
double b,
double c)
parametrize(CartDOF...).
Damping values should be between 0 and 1. A good damping value is 0.7.
The mode will use measured values for the next motion, because it's settings have changed. If you do not want such a behavior, call useCommandedValues on the mode.
x - The damping value for the X dimension [dimensionless]. y - The damping value for the Y dimension [dimensionless]. z - The damping value for the Z dimension [dimensionless]. a - The damping value for the A dimension [dimensionless]. b - The damping value for the B dimension [dimensionless]. c - The damping value for the C dimension [dimensionless]. @Deprecated public CartesianImpedanceControlMode setDamping(double[] values)
parametrize(CartDOF...).
The mode will use measured values for the next motion, because it's settings have changed. If you do not want such a behavior, call useCommandedValues on the mode.
values - the damping values [x, y, z, a, b, c] for the cartesian impedance [dimensionless for all degrees of
freedom].
@Deprecated
public CartesianImpedanceControlMode setStiffness(double x,
double y,
double z,
double a,
double b,
double c)
parametrize(CartDOF...).
The mode will use measured values for the next motion, because it's settings have changed. If you do not want such a behavior, call useCommandedValues on the mode.
x - The stiffness value for the X dimension [N/m]. y - The stiffness value for the Y dimension [N/m]. z - The stiffness value for the Z dimension [N/m]. a - The stiffness value for the A dimension [Nm/rad]. b - The stiffness value for the B dimension [Nm/rad].c - The stiffness value for the C dimension [Nm/rad].@Deprecated public CartesianImpedanceControlMode setStiffness(double[] values)
parametrize(CartDOF...).
Sets the Cartesian stiffness parameters (K_x..).
The mode will use measured values for the next motion, because it's settings have changed. If you do not want such a behavior, call useCommandedValues on the mode.
values - the stiffness values [x, y, z, a, b, c] for the cartesian impedance, x, y, z in [N/m], a, b, c in
[Nm/rad]. public CartesianImpedanceControlMode setSpringPosition(AbstractFrame springPosition)
The spring position defines the position of the spring when the measured and commanded values of the robot start to be different. Normally, the spring is located in the TCP of the robot. But for special cases, this position can be changed by using this method.
The spring position therefore changes the position of the spring in contrast to the TCP, but not it's properties like stiffness or damping. The direction of the applied force on the TCP is therefore affected by the spring position.
The given frame must be connected through one or more static frames with the flange of the robot.
Note that the referenceSystem method also affects how the impedance settings are calculated in the TCP relative to the spring position.
The mode will use measured values for the next motion, because it's settings have changed. If you do not want such a behavior, call useCommandedValues on the mode.
springPosition - The position of the spring.
public CartesianImpedanceControlMode setReferenceSystem(AbstractFrame referenceSystem)
Set the system to null to indicate that the system is the defined spring position. This is also the
default value.
The mode will use measured values for the next motion, because it's settings have changed. If you do not want such a behavior, call useCommandedValues on the mode.
referenceSystem - The reference system.
public CartesianImpedanceControlMode setNullSpaceDamping(double nullSpaceDamping)
A good damping value is 0.7.
The mode will use measured values for the next motion, because it's settings have changed. If you do not want such a behavior, call useCommandedValues on the mode.
nullSpaceDamping - The damping parameter for null space [Nm*s/rad]. public CartesianImpedanceControlMode setNullSpaceStiffness(double nullSpaceStiffness)
nullSpaceStiffness - The stiffness value for null space [Nm/rad].
public CartesianImpedanceControlMode setMaxPathDeviation(double x,
double y,
double z,
double a,
double b,
double c)
x - The maximum deviation in X direction [mm]. y - The maximum deviation in Y direction [mm]. z - The maximum deviation in Z direction [mm]. a - The maximum deviation in A direction [rad]. b - The maximum deviation in B direction [rad]. c - The maximum deviation in C direction [rad].
public CartesianImpedanceControlMode setMaxControlForce(double x,
double y,
double z,
double a,
double b,
double c,
boolean addStopCondition)
x - The maximum force in X direction [N]. y - The maximum force in Y direction [N]. z - The maximum force in Z direction [N]. a - The maximum force in A direction [Nm]. b - The maximum force in B direction [Nm]. c - The maximum force in C direction [Nm]. addStopCondition - Indicates whether the stop condition should be fired if the maximum force is exceeded.
public CartesianImpedanceControlMode setMaxCartesianVelocity(double x,
double y,
double z,
double a,
double b,
double c)
x - The maximum velocity in X direction [mm/s]. y - The maximum velocity in Y direction [mm/s]. z - The maximum velocity in Z direction [mm/s]. a - The maximum velocity in A direction [rad/s]. b - The maximum velocity in B direction [rad/s]. c - The maximum velocity in C direction [rad/s].
@Deprecated
public CartesianImpedanceControlMode setAdditionalControlForce(double x,
double y,
double z,
double a,
double b,
double c)
parametrize(CartDOF...).
Sets an additional force to the TCP. This force acts in addition to the spring. The additional force is stepwise applied.
x - The force to apply in X direction [N].y - The force to apply in Y direction [N].z - The force to apply in Z direction [N].a - The force to apply in A direction [Nm].b - The force to apply in B direction [Nm].c - The force to apply in C direction [Nm].
public String toString()
toString in class Objectpublic boolean hasNullSpaceDamping()
public boolean hasNullSpaceStiffness()
public boolean hasMaxControlForceStopCondition()
public int hashCode()
hashCode in class AbstractImpedanceControlModepublic boolean equals(Object other)
equals in class AbstractImpedanceControlModeother - other control mode to compare
public boolean isRecoverable()
IMotionControlMode
True if the control mode can be used to recover a device,
otherwise false.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||