File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44
55package frc .robot ;
66
7- import com .revrobotics .CANSparkMax .IdleMode ;
7+ import com .revrobotics .CANSparkBase .IdleMode ;
88
99import edu .wpi .first .math .geometry .Translation2d ;
1010import edu .wpi .first .math .kinematics .SwerveDriveKinematics ;
Original file line number Diff line number Diff line change 99import edu .wpi .first .math .kinematics .SwerveModuleState ;
1010
1111import com .revrobotics .CANSparkMax ;
12- import com .revrobotics .CANSparkMaxLowLevel .MotorType ;
13- import com .revrobotics .SparkMaxAbsoluteEncoder .Type ;
14- import com .revrobotics .SparkMaxPIDController ;
12+ import com .revrobotics .CANSparkLowLevel .MotorType ;
13+ import com .revrobotics .SparkAbsoluteEncoder .Type ;
14+ import com .revrobotics .SparkPIDController ;
1515import com .revrobotics .AbsoluteEncoder ;
1616import com .revrobotics .RelativeEncoder ;
1717
@@ -24,8 +24,8 @@ public class MAXSwerveModule {
2424 private final RelativeEncoder m_drivingEncoder ;
2525 private final AbsoluteEncoder m_turningEncoder ;
2626
27- private final SparkMaxPIDController m_drivingPIDController ;
28- private final SparkMaxPIDController m_turningPIDController ;
27+ private final SparkPIDController m_drivingPIDController ;
28+ private final SparkPIDController m_turningPIDController ;
2929
3030 private double m_chassisAngularOffset = 0 ;
3131 private SwerveModuleState m_desiredState = new SwerveModuleState (0.0 , new Rotation2d ());
Original file line number Diff line number Diff line change 11{
22 "fileName" : " REVLib.json" ,
33 "name" : " REVLib" ,
4- "version" : " 2023.1.2" ,
4+ "version" : " 2024.2.0" ,
5+ "frcYear" : " 2024" ,
56 "uuid" : " 3f48eb8c-50fe-43a6-9cb7-44c86353c4cb" ,
67 "mavenUrls" : [
78 " https://maven.revrobotics.com/"
89 ],
9- "jsonUrl" : " https://software-metadata.revrobotics.com/REVLib-2023 .json" ,
10+ "jsonUrl" : " https://software-metadata.revrobotics.com/REVLib-2024 .json" ,
1011 "javaDependencies" : [
1112 {
1213 "groupId" : " com.revrobotics.frc" ,
1314 "artifactId" : " REVLib-java" ,
14- "version" : " 2023.1.2 "
15+ "version" : " 2024.2.0 "
1516 }
1617 ],
1718 "jniDependencies" : [
1819 {
1920 "groupId" : " com.revrobotics.frc" ,
2021 "artifactId" : " REVLib-driver" ,
21- "version" : " 2023.1.2 " ,
22+ "version" : " 2024.2.0 " ,
2223 "skipInvalidPlatforms" : true ,
2324 "isJar" : false ,
2425 "validPlatforms" : [
3637 {
3738 "groupId" : " com.revrobotics.frc" ,
3839 "artifactId" : " REVLib-cpp" ,
39- "version" : " 2023.1.2 " ,
40+ "version" : " 2024.2.0 " ,
4041 "libName" : " REVLib" ,
4142 "headerClassifier" : " headers" ,
4243 "sharedLibrary" : false ,
5455 {
5556 "groupId" : " com.revrobotics.frc" ,
5657 "artifactId" : " REVLib-driver" ,
57- "version" : " 2023.1.2 " ,
58+ "version" : " 2024.2.0 " ,
5859 "libName" : " REVLibDriver" ,
5960 "headerClassifier" : " headers" ,
6061 "sharedLibrary" : false ,
You can’t perform that action at this time.
0 commit comments