Updated to 2024.4.6.3

This commit is contained in:
thenetworkgrinch
2024-01-26 11:29:15 -06:00
parent bd949c2fa5
commit 75ec1aee24
121 changed files with 1751 additions and 552 deletions

View File

@@ -53,6 +53,10 @@ public class ModuleJson
* The location of the swerve module from the center of the robot in inches.
*/
public LocationJson location;
/**
* Should do cosine compensation when not pointing correct direction;.
*/
public boolean useCosineCompensator = true;
/**
* Create the swerve module configuration based off of parsed data.
@@ -131,6 +135,7 @@ public class ModuleJson
absoluteEncoderInverted,
inverted.drive,
inverted.angle,
name.replaceAll("\\.json", ""));
name.replaceAll("\\.json", ""),
useCosineCompensator);
}
}