Class RotTrlTransform3d

java.lang.Object
org.photonvision.estimation.RotTrlTransform3d

public class RotTrlTransform3d extends Object
Represents a transformation that first rotates a pose around the origin, and then translates it.
  • Constructor Details

    • RotTrlTransform3d

      public RotTrlTransform3d(Rotation3d rot, Translation3d trl)
      A rotation-translation transformation.

      Applying this RotTrlTransform3d to poses will preserve their current origin-to-pose transform as if the origin was transformed by these components instead.

      Parameters:
      rot - The rotation component
      trl - The translation component
    • RotTrlTransform3d

      public RotTrlTransform3d(Pose3d initial, Pose3d last)
    • RotTrlTransform3d

      public RotTrlTransform3d(Transform3d trf)
      Creates a rotation-translation transformation from a Transform3d.

      Applying this RotTrlTransform3d to poses will preserve their current origin-to-pose transform as if the origin was transformed by trf instead.

      Parameters:
      trf - The origin transformation
    • RotTrlTransform3d

      public RotTrlTransform3d()
  • Method Details