public interface Pose
This interface represents a pose in Cartesian space (relative to a reference coordinate system).
A pose can, fe.g. describe the position of the robot tool (e.g. w.r.t. to robot base) or the TCP offset (relative to the center of the tool output flange).| Modifier and Type | Method and Description |
|---|---|
boolean |
epsilonEquals(Pose other,
double epsilon)
Deprecated.
|
boolean |
epsilonEquals(Pose other,
double positionEpsilon,
Length.Unit lengthUnit,
double rotationEpsilon,
Angle.Unit angleUnit)
Indicates whether some other
Pose is "approximately equal" to this one. |
boolean |
equals(Object obj)
Indicates whether some other
Pose object is "equal to" this object. |
Position |
getPosition() |
Rotation |
getRotation() |
int |
hashCode() |
double[] |
toArray()
Deprecated.
Use
toArray(Length.Unit, Angle.Unit) instead. |
double[] |
toArray(Length.Unit lengthUnit,
Angle.Unit angleUnit)
Provides an array containing the X, Y, Z coordinates of the position part and the Rx, Ry, Rz parameters of the
rotation part in specified units.
|
String |
toString() |
Position getPosition()
Rotation getRotation()
@Deprecated double[] toArray()
toArray(Length.Unit, Angle.Unit) instead.double[] toArray(Length.Unit lengthUnit, Angle.Unit angleUnit)
lengthUnit - The length unit for which to return the X, Y, Z coordinates.angleUnit - The angular unit for which to return the Rx, Ry, Rz orientation parameters.boolean equals(Object obj)
Pose object is "equal to" this object.@Deprecated boolean epsilonEquals(Pose other, double epsilon)
epsilonEquals(Pose, double, Length.Unit, double, Angle.Unit) instead.Pose object is "approximately equal" to this object.other - Another pose object.epsilon - A tolerance value (in SI units) used for comparing the X, Y, Z coordinate values and Rx, Ry, Rz
orientation parameters.true if the values of this object are "approximately equal" to the values of the other
argument; false otherwise.boolean epsilonEquals(Pose other, double positionEpsilon, Length.Unit lengthUnit, double rotationEpsilon, Angle.Unit angleUnit)
Indicates whether some other Pose is "approximately equal" to this one.
other - Another Pose object.positionEpsilon - The tolerance value to be used for the comparison of X, Y, Z coordinates in specified units.lengthUnit - The length unit for the specified positionEpsilon tolerance.rotationEpsilon - The tolerance value to be used for the comparison of Rx, Ry, Rz orientation parameters in
specified units.angleUnit - The angular unit for the specified rotationEpsilon tolerance.true if the values of this object are "approximately equal" to the values of the other
argument; false otherwise.Copyright © 2021. All rights reserved.