Class TagSolutionPacket

java.lang.Object
com.marswars.proxy_server.TagSolutionPacket
All Implemented Interfaces:
Packet

public abstract class TagSolutionPacket extends Object implements Packet
Packet handler for AprilTag detection and pose estimation data. Provides functionality to parse incoming tag solution packets containing robot pose estimates based on detected AprilTags.
  • Field Details

  • Constructor Details

    • TagSolutionPacket

      public TagSolutionPacket()
  • Method Details

    • updateData

      public static TagSolutionPacket.TagSolutionData updateData(byte[] buffer)
      Parses tag solution packet data from a received byte buffer. Extracts timestamp, camera serial, pose, and detected tag IDs from the buffer.
      Parameters:
      buffer - the byte buffer containing the packet data
      Returns:
      TagSolutionData object with parsed information