Class PieceDetectionPacket.PieceDetectionData

java.lang.Object
com.marswars.proxy_server.PieceDetectionPacket.PieceDetectionData
Enclosing class:
PieceDetectionPacket

public static class PieceDetectionPacket.PieceDetectionData extends Object
Data structure containing game piece detection information.
  • Field Details

    • classId

      public final int classId
      Classification ID of the detected piece
    • detectionCount

      public final int detectionCount
      Number of detections in this packet
    • detectionIndex

      public final int detectionIndex
      Index of this detection in the sequence
    • thetaX

      public final double thetaX
      Horizontal angle to the detected piece (radians)
    • thetaY

      public final double thetaY
      Vertical angle to the detected piece (radians)
    • allDetections

      List of all piece detections in this packet
    • timestamp

      public final Packet.Timestamp timestamp
      Timestamp when the detection was made
    • cameraSerial

      public final String cameraSerial
      Camera serial number / identifier
  • Constructor Details