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 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.
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 type of unit to return the X, Y, Z coordinates in.angleUnit
- the type of unit to return the Rx, Ry, Rz orientation parameters in.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 for the X, Y, Z coordinate values.true
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
object.lengthEpsilon
- a tolerance value for the X, Y, Z coordinates in specified unit type.lengthUnit
- unit type of the lengthEpsilon
tolerance.angleEpsilon
- a tolerance value for Rx, Ry, Rz orientation parameters in specified unit type.angleUnit
- unit type of the angleEpsilon
tolerance.true
if the value of this object is "approximately equal" to the value of the other
argument; false
otherwise.Copyright © 2020. All rights reserved.