Klasse Pose

java.lang.Object
org.opentcs.data.model.Pose
Alle implementierten Schnittstellen:
Serializable

public class Pose extends Object implements Serializable
A pose consisting of a position and an orientation angle.
Siehe auch:
  • Konstruktordetails

    • Pose

      public Pose(@Nullable Triple position, double orientationAngle)
      Creates a new instance.
      Parameter:
      position - The position/coordinates in mm.
      orientationAngle - The orientation angle in degrees (-360..360). May be Double.NaN if unknown/undefined.
  • Methodendetails

    • getPosition

      @Nullable public Triple getPosition()
      The position/coordinates in mm.
      Gibt zurück:
      The position/coordinates in mm.
    • withPosition

      public Pose withPosition(@Nullable Triple position)
      Creates a copy of this object, with the given position.
      Parameter:
      position - The value to be set in the copy.
      Gibt zurück:
      A copy of this object, differing in the given value.
    • getOrientationAngle

      public double getOrientationAngle()
      The orientation angle in degrees (-360..360). May be Double.NaN if unknown/undefined.
      Gibt zurück:
      The orientation angle in degrees, or Double.NaN.
    • withOrientationAngle

      public Pose withOrientationAngle(double orientationAngle)
      Creates a copy of this object, with the given orientation angle.
      Parameter:
      orientationAngle - The value to be set in the copy.
      Gibt zurück:
      A copy of this object, differing in the given value.
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • equals

      public boolean equals(Object obj)
      Setzt außer Kraft:
      equals in Klasse Object
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object