Package com.marswars.proxy_server
Class StatesPacket.ModuleStatesData
java.lang.Object
com.marswars.proxy_server.StatesPacket.ModuleStatesData
- Enclosing class:
- StatesPacket
Data structure containing swerve module state information.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal SwerveModuleState[]Array of swerve module states (4 modules)final Packet.TimestampTimestamp when the states were recorded -
Constructor Summary
ConstructorsConstructorDescriptionModuleStatesData(SwerveModuleState[] moduleStates, Packet.Timestamp timestamp) -
Method Summary
-
Field Details
-
moduleStates
Array of swerve module states (4 modules) -
timestamp
Timestamp when the states were recorded
-
-
Constructor Details
-
ModuleStatesData
-