Package frc.robot.loggers.revlib.structs
Class SparkFaultsStruct
java.lang.Object
frc.robot.loggers.revlib.structs.SparkFaultsStruct
Struct to represent the data in
SparkBase.Faults.-
Field Summary
FieldsFields inherited from interface edu.wpi.first.util.struct.Struct
kSizeBool, kSizeDouble, kSizeFloat, kSizeInt16, kSizeInt32, kSizeInt64, kSizeInt8 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetSize()booleanvoidpack(ByteBuffer bb, Integer value) unpack(ByteBuffer bb) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface edu.wpi.first.util.struct.Struct
clone, getNested, getTypeString, isCloneable, unpackInto
-
Field Details
-
inst
Static instance of the struct.
-
-
Constructor Details
-
SparkFaultsStruct
public SparkFaultsStruct()
-
-
Method Details
-
getTypeClass
- Specified by:
getTypeClassin interfaceStruct<Integer>
-
getTypeName
- Specified by:
getTypeNamein interfaceStruct<Integer>
-
getSize
public int getSize() -
getSchema
-
unpack
-
pack
-
isImmutable
public boolean isImmutable()- Specified by:
isImmutablein interfaceStruct<Integer>
-