Package org.photonvision.targeting.proto
Class PhotonTrackedTargetProto
java.lang.Object
org.photonvision.targeting.proto.PhotonTrackedTargetProto
- All Implemented Interfaces:
Protobuf<PhotonTrackedTarget,
Photon.ProtobufPhotonTrackedTarget>
public class PhotonTrackedTargetProto
extends Object
implements Protobuf<PhotonTrackedTarget,Photon.ProtobufPhotonTrackedTarget>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionus.hebi.quickbuf.Descriptors.Descriptor
void
void
pack
(us.hebi.quickbuf.RepeatedMessage<Photon.ProtobufPhotonTrackedTarget> msg, List<PhotonTrackedTarget> value) unpack
(us.hebi.quickbuf.RepeatedMessage<Photon.ProtobufPhotonTrackedTarget> msg) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface edu.wpi.first.util.protobuf.Protobuf
clone, forEachDescriptor, getTypeString, isCloneable, isImmutable, unpackInto
-
Constructor Details
-
PhotonTrackedTargetProto
public PhotonTrackedTargetProto()
-
-
Method Details
-
getTypeClass
- Specified by:
getTypeClass
in interfaceProtobuf<PhotonTrackedTarget,
Photon.ProtobufPhotonTrackedTarget>
-
getDescriptor
public us.hebi.quickbuf.Descriptors.Descriptor getDescriptor()- Specified by:
getDescriptor
in interfaceProtobuf<PhotonTrackedTarget,
Photon.ProtobufPhotonTrackedTarget>
-
createMessage
- Specified by:
createMessage
in interfaceProtobuf<PhotonTrackedTarget,
Photon.ProtobufPhotonTrackedTarget>
-
unpack
- Specified by:
unpack
in interfaceProtobuf<PhotonTrackedTarget,
Photon.ProtobufPhotonTrackedTarget>
-
unpack
public List<PhotonTrackedTarget> unpack(us.hebi.quickbuf.RepeatedMessage<Photon.ProtobufPhotonTrackedTarget> msg) -
pack
- Specified by:
pack
in interfaceProtobuf<PhotonTrackedTarget,
Photon.ProtobufPhotonTrackedTarget>
-
pack
public void pack(us.hebi.quickbuf.RepeatedMessage<Photon.ProtobufPhotonTrackedTarget> msg, List<PhotonTrackedTarget> value)
-