File tree Expand file tree Collapse file tree
src/main/java/frc/robot/subsystems/drive Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1010package frc .robot .subsystems .drive ;
1111
1212import com .ctre .phoenix6 .BaseStatusSignal ;
13- import com .ctre .phoenix6 .CANBus ;
1413import com .ctre .phoenix6 .StatusSignal ;
1514import edu .wpi .first .units .measure .Angle ;
1615import edu .wpi .first .wpilibj .RobotController ;
@@ -40,8 +39,7 @@ public class PhoenixOdometryThread extends Thread {
4039 private final List <Queue <Double >> genericQueues = new ArrayList <>();
4140 private final List <Queue <Double >> timestampQueues = new ArrayList <>();
4241
43- private static boolean isCANFD =
44- new CANBus (TunerConstants .DrivetrainConstants .CANBusName ).isNetworkFD ();
42+ private static boolean isCANFD = TunerConstants .kCANBus .isNetworkFD ();
4543 private static PhoenixOdometryThread instance = null ;
4644
4745 public static PhoenixOdometryThread getInstance () {
You can’t perform that action at this time.
0 commit comments