public interface Pose
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 lengthEpsilon,
Length.Unit lengthUnit,
double angleEpsilon,
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.
|
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()
double[] toArray()
toArray(Length.Unit, Angle.Unit)
double[] toArray(Length.Unit lengthUnit, Angle.Unit angleUnit)
lengthUnit
- the type of unit to return the X, Y, Z coordinates inangleUnit
- the type of unit to return the Rx, Ry, Rz orientation parameters inboolean equals(Object obj)
Pose
object is "equal to" this object.boolean epsilonEquals(Pose other, double epsilon)
epsilonEquals(Pose, double, Length.Unit, double, Angle.Unit)
Pose
object is "approximately equal" to this object.other
- another pose
objectepsilon
- a tolerance value for the X, Y, Z coordinate valuestrue
if the value of this object is "approximately equal" to the value of the other
argument; false
otherwise.boolean epsilonEquals(Pose other, double lengthEpsilon, Length.Unit lengthUnit, double angleEpsilon, Angle.Unit angleUnit)
Pose
is "approximately equal" to this one.other
- another Pose
objectlengthEpsilon
- a tolerance value for the X, Y, Z coordinates in specified unit typelengthUnit
- unit type of the lengthEpsilon
toleranceangleEpsilon
- a tolerance value for Rx, Ry, Rz orientation parameters in specified unit typeangleUnit
- unit type of the angleEpsilon
tolerancetrue
if the value of this object is "approximately equal" to the value of the other
argument; false
otherwise.Copyright © 2019. All rights reserved.