Update YAGSL to handle controls better

This commit is contained in:
thenetworkgrinch
2023-04-08 12:31:07 -05:00
parent d37a38bb7b
commit 5b38929c48
123 changed files with 871 additions and 805 deletions

View File

@@ -8,14 +8,6 @@ import static swervelib.math.SwerveMath.calculateMaxAngularVelocity;
public class SwerveControllerConfiguration
{
/**
* Maximum robot speed in meters per second.
*/
public double maxSpeed;
/**
* Maximum angular velocity in rad/s
*/
public double maxAngularVelocity;
/**
* PIDF for the heading of the robot.
*/
@@ -25,6 +17,14 @@ public class SwerveControllerConfiguration
*/
public final double
angleJoyStickRadiusDeadband; // Deadband for the minimum hypot for the heading joystick.
/**
* Maximum robot speed in meters per second.
*/
public double maxSpeed;
/**
* Maximum angular velocity in rad/s
*/
public double maxAngularVelocity;
/**
* Construct the swerve controller configuration.