Skip to content

Commit 7554779

Browse files
committed
Update REVLib to 2024.2.0
1 parent 309b0a1 commit 7554779

3 files changed

Lines changed: 13 additions & 12 deletions

File tree

src/main/java/frc/robot/Constants.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
package frc.robot;
66

7-
import com.revrobotics.CANSparkMax.IdleMode;
7+
import com.revrobotics.CANSparkBase.IdleMode;
88

99
import edu.wpi.first.math.geometry.Translation2d;
1010
import edu.wpi.first.math.kinematics.SwerveDriveKinematics;

src/main/java/frc/robot/subsystems/MAXSwerveModule.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
import edu.wpi.first.math.kinematics.SwerveModuleState;
1010

1111
import 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;
1515
import com.revrobotics.AbsoluteEncoder;
1616
import 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());

vendordeps/REVLib.json

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,25 @@
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": [
@@ -36,7 +37,7 @@
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,
@@ -54,7 +55,7 @@
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,

0 commit comments

Comments
 (0)