Class OdomPacket

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

public abstract class OdomPacket extends Object implements Packet
Packet handler for robot odometry data. Provides functionality to parse incoming packets containing robot pose, velocity, and position variance information.
  • Field Details

  • Constructor Details

    • OdomPacket

      public OdomPacket()
  • Method Details

    • updateData

      public static OdomPacket.OdometryData updateData(byte[] buffer)
      Parses odometry packet data from a received byte buffer. Extracts timestamp, pose, velocity, and variance information from the buffer.
      Parameters:
      buffer - the byte buffer containing the packet data
      Returns:
      OdometryData object with parsed information