SwerveLocalizer
Default localizer for swerve drives based on the drive encoder positions and module orientations.
Parameters
modules
the individual swerve modules
modulePositions
the positions of all the modules relative to the center of rotation of the robot
Constructors
Link copied to clipboard
public SwerveLocalizer SwerveLocalizer(List<SwerveModule> modules, Double trackWidth, Double wheelBase)
Default localizer for swerve drives based on the drive encoder positions and module orientations.
Default localizer for swerve drives based on the drive encoder positions and module orientations.