Class PacketUtils

java.lang.Object
org.photonvision.utils.PacketUtils

public class PacketUtils extends Object
  • Field Details

  • Constructor Details

    • PacketUtils

      public PacketUtils()
  • Method Details

    • packRotation2d

      public static void packRotation2d(Packet packet, Rotation2d rotation)
    • unpackRotation2d

      public static Rotation2d unpackRotation2d(Packet packet)
    • packQuaternion

      public static void packQuaternion(Packet packet, Quaternion quaternion)
    • unpackQuaternion

      public static Quaternion unpackQuaternion(Packet packet)
    • packRotation3d

      public static void packRotation3d(Packet packet, Rotation3d rotation)
    • unpackRotation3d

      public static Rotation3d unpackRotation3d(Packet packet)
    • packTranslation2d

      public static void packTranslation2d(Packet packet, Translation2d translation)
    • unpackTranslation2d

      public static Translation2d unpackTranslation2d(Packet packet)
    • packTranslation3d

      public static void packTranslation3d(Packet packet, Translation3d translation)
    • unpackTranslation3d

      public static Translation3d unpackTranslation3d(Packet packet)
    • packTransform2d

      public static void packTransform2d(Packet packet, Transform2d transform)
    • unpackTransform2d

      public static Transform2d unpackTransform2d(Packet packet)
    • packTransform3d

      public static void packTransform3d(Packet packet, Transform3d transform)
    • unpackTransform3d

      public static Transform3d unpackTransform3d(Packet packet)
    • packPose2d

      public static void packPose2d(Packet packet, Pose2d pose)
    • unpackPose2d

      public static Pose2d unpackPose2d(Packet packet)
    • packPose3d

      public static void packPose3d(Packet packet, Pose3d pose)
    • unpackPose3d

      public static Pose3d unpackPose3d(Packet packet)