Updated support for Talons

This commit is contained in:
thenetworkgrinch
2023-02-13 17:21:24 -06:00
parent e8d248b68a
commit 8f28956426
126 changed files with 5706 additions and 190 deletions

View File

@@ -1,4 +1,4 @@
package frc.robot.subsystems.swervedrive2.swervelib;
package swervelib;
import edu.wpi.first.math.controller.SimpleMotorFeedforward;
import edu.wpi.first.math.geometry.Rotation2d;
@@ -7,10 +7,10 @@ import edu.wpi.first.math.kinematics.SwerveModuleState;
import edu.wpi.first.wpilibj.Timer;
import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;
import frc.robot.Robot;
import frc.robot.subsystems.swervedrive2.swervelib.encoders.SwerveAbsoluteEncoder;
import frc.robot.subsystems.swervedrive2.swervelib.math.SwerveModuleState2;
import frc.robot.subsystems.swervedrive2.swervelib.motors.SwerveMotor;
import frc.robot.subsystems.swervedrive2.swervelib.parser.SwerveModuleConfiguration;
import swervelib.encoders.SwerveAbsoluteEncoder;
import swervelib.math.SwerveModuleState2;
import swervelib.motors.SwerveMotor;
import swervelib.parser.SwerveModuleConfiguration;
/**
* The Swerve Module class which represents and controls Swerve Modules for the swerve drive.