]> git.taranathan.com Git - FRC2026.git/commitdiff
Merge branch 'spindexer' into beta-bot
authoriefomit <timofei.stem@gmail.com>
Wed, 18 Feb 2026 18:24:09 +0000 (10:24 -0800)
committeriefomit <timofei.stem@gmail.com>
Wed, 18 Feb 2026 18:24:09 +0000 (10:24 -0800)
1  2 
src/main/java/frc/robot/RobotContainer.java
src/main/java/frc/robot/subsystems/spindexer/Spindexer.java

index 2f3f9758d6cc699853d9649698aaee3d29974d1a,1724219180ccc0d1e8b4cdf98204118890c8720c..01646d670fe76c03d985e9f05cb9f38ab72d92fd
@@@ -1,13 -1,19 +1,17 @@@
  package frc.robot.subsystems.spindexer;
  
+ import com.ctre.phoenix6.configs.CurrentLimitsConfigs;
  import com.ctre.phoenix6.hardware.TalonFX;
  
+ import org.littletonrobotics.junction.Logger;
  import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;
 -import edu.wpi.first.wpilibj2.command.InstantCommand;
  import edu.wpi.first.wpilibj2.command.SubsystemBase;
+ import frc.robot.constants.Constants;
  import frc.robot.constants.IdConstants;
 -import frc.robot.subsystems.spindexer.SpindexerIO;
  
- public class Spindexer extends SubsystemBase implements SpindexerIO{
-     TalonFX motor = new TalonFX(IdConstants.SPINDEXER_ID);
+ public class Spindexer extends SubsystemBase implements SpindexerIO {
+     private TalonFX motor = new TalonFX(IdConstants.SPINDEXER_ID, Constants.SUBSYSTEM_CANIVORE_CAN);
  
      private double power = 0.0;
      public int ballCount = 0;