mirror of
https://github.com/BroncBotz3481/YAGSL
synced 2026-06-19 06:21:40 +00:00
Updated to include optional chassis correction.
This commit is contained in:
@@ -209,7 +209,7 @@ public class SwerveModule
|
||||
*/
|
||||
public void setAngle(double angle)
|
||||
{
|
||||
angleMotor.setReference(angle, configuration.moduleSteerFFCL);
|
||||
angleMotor.setReference(angle, 0);
|
||||
lastState.angle = Rotation2d.fromDegrees(angle);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user