Updated swervelib documentation and merged @7910f6ba7ee4 PR

This commit is contained in:
thenetworkgrinch
2023-02-14 22:03:02 -06:00
parent 154bee371a
commit 9a7ba52cee
126 changed files with 12415 additions and 23714 deletions

View File

@@ -28,6 +28,8 @@ public class SwerveController
/**
* Construct the SwerveController object which is used for determining the speeds of the robot based on controller
* input.
*
* @param cfg {@link SwerveControllerConfiguration} containing the PIDF variables for the heading PIDF.
*/
public SwerveController(SwerveControllerConfiguration cfg)
{
@@ -53,6 +55,8 @@ public class SwerveController
*
* @param x The x value for the joystick in which the deadband should be applied.
* @param y The y value for the joystick in which the deadband should be applied.
* @return Whether the values are within the deadband from
* {@link SwerveControllerConfiguration#angleJoyStickRadiusDeadband}.
*/
public boolean withinHypotDeadband(double x, double y)
{