Class CanandcolorColorDataStruct
java.lang.Object
com.reduxrobotics.sensors.canandcolor.wpistruct.CanandcolorColorDataStruct
WPILib struct implementation for
ColorData
-
Field Summary
Fields inherited from interface edu.wpi.first.util.struct.Struct
kSizeBool, kSizeDouble, kSizeFloat, kSizeInt16, kSizeInt32, kSizeInt64, kSizeInt8
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
getSize()
void
pack
(ByteBuffer bb, ColorData value) unpack
(ByteBuffer bb) 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.struct.Struct
clone, getNested, getTypeString, isCloneable, isImmutable, unpackInto
-
Constructor Details
-
CanandcolorColorDataStruct
public CanandcolorColorDataStruct()
-
-
Method Details
-
getTypeClass
- Specified by:
getTypeClass
in interfaceStruct<ColorData>
-
getTypeName
- Specified by:
getTypeName
in interfaceStruct<ColorData>
-
getSize
public int getSize() -
getSchema
-
unpack
-
pack
-