Package org.team1126.lib.swerve
Class SwerveState.Modules
java.lang.Object
org.team1126.lib.swerve.SwerveState.Modules
- Enclosing class:
SwerveState
Contains information about swerve module states and positions.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal edu.wpi.first.math.kinematics.SwerveModuleState[]The last target states of the modules.final edu.wpi.first.math.kinematics.SwerveModuleState[]The next target states of the modules.final edu.wpi.first.math.kinematics.SwerveModulePosition[]The current measured module positions.final edu.wpi.first.math.kinematics.SwerveModuleState[]The current measured module states. -
Method Summary
-
Field Details
-
positions
public final edu.wpi.first.math.kinematics.SwerveModulePosition[] positionsThe current measured module positions. -
states
public final edu.wpi.first.math.kinematics.SwerveModuleState[] statesThe current measured module states. -
lastTarget
public final edu.wpi.first.math.kinematics.SwerveModuleState[] lastTargetThe last target states of the modules. -
nextTarget
public final edu.wpi.first.math.kinematics.SwerveModuleState[] nextTargetThe next target states of the modules.
-