public static enum Joint.ResidualType extends java.lang.Enum<Joint.ResidualType>
Residual type requested for Joint.getResidual(int, ResidualType,
int, double[])
.
Enum Constant and Description |
---|
FULL_DOF_OR_DOI_RESIDUAL
Get a residual for all DoF or DoI of the current
Joint.Type ,
as appliccable. |
FULL_RESIDUAL
get a full 6-component residual
|
PARTIAL_RESIDUAL
For
Joint.RX_TARGET or Joint.RX_POSTURE , only get a residual
for the currently set goal components, if any. |
Modifier and Type | Method and Description |
---|---|
static Joint.ResidualType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Joint.ResidualType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Joint.ResidualType FULL_RESIDUAL
public static final Joint.ResidualType FULL_DOF_OR_DOI_RESIDUAL
Get a residual for all DoF or DoI of the current Joint.Type
,
as appliccable.
public static final Joint.ResidualType PARTIAL_RESIDUAL
For Joint.RX_TARGET
or Joint.RX_POSTURE
, only get a residual
for the currently set goal components, if any.
Same behavior as FULL_DOF_OR_DOI_RESIDUAL
otherwise.
public static Joint.ResidualType[] values()
for (Joint.ResidualType c : Joint.ResidualType.values()) System.out.println(c);
public static Joint.ResidualType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null