mirror of
https://github.com/BroncBotz3481/YAGSL
synced 2026-06-19 06:21:40 +00:00
Updated to 2024.4.6.3
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user