Cannot access SpeedController with WPI_TalonFX and SRC

We (Team 4829) are experiencing an error while testing some motors in the 2023 version of WPILib
Error: src\main\java\frc\robot\subsystems\MotorSubsystem.java:21: error: cannot access SpeedController
class file for edu.wpi.first.wpilibj.SpeedController not found
Code: motor.set(speed);
Class of motor: WPI_TalonFX
Project information:
image

Cause (I think): The yearly changes removed the SpeedController class. However, the CTRE Phoenix class has not removed it yet and replaced it with MotorController.

1 Like

You need the new 2023 CTRE vendor dep (2023 release version is 5.30.2). You also need to update navX (2023 release version is 2023.0.1).

1 Like

Genuine question - where did you get the Phoenix vendordep from?

5.19.4 is quite old, so I just want to make sure we don’t have a rogue link out there somewhere that’s somehow missed being updated.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.