File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3535import frc .robot .subsystems .elevator .ElevatorIO ;
3636import frc .robot .subsystems .elevator .ElevatorIOReal ;
3737import frc .robot .subsystems .elevator .ElevatorIOSim ;
38+ import frc .robot .subsystems .groundintake .GroundIntake ;
39+ import frc .robot .subsystems .groundintake .GroundIntakeIO ;
40+ import frc .robot .subsystems .groundintake .GroundIntakeIOReal ;
41+ import frc .robot .subsystems .groundintake .GroundIntakeIOSim ;
42+
3843import org .littletonrobotics .junction .networktables .LoggedDashboardChooser ;
3944
4045/**
@@ -48,6 +53,7 @@ public class RobotContainer {
4853 private final Drive drive ;
4954 private final Elevator elevator ;
5055 private final Arm arm ;
56+ private final GroundIntake groundIntake ;
5157
5258 // Controller
5359 private final CommandXboxController controller = new CommandXboxController (0 );
@@ -71,6 +77,8 @@ public RobotContainer() {
7177
7278 arm = new Arm (new ArmIOReal ());
7379
80+ groundIntake = new GroundIntake (new GroundIntakeIOReal ());
81+
7482 break ;
7583
7684 case SIM :
@@ -86,6 +94,8 @@ public RobotContainer() {
8694
8795 arm = new Arm (new ArmIOSim ());
8896
97+ groundIntake = new GroundIntake (new GroundIntakeIOSim ());
98+
8999 break ;
90100
91101 default :
Original file line number Diff line number Diff line change 11package frc .robot .subsystems .groundintake ;
22
3- public class GroundIntake {}
3+ import edu .wpi .first .wpilibj2 .command .SubsystemBase ;
4+
5+ public class GroundIntake extends SubsystemBase {
6+ private final GroundIntakeIO io ;
7+ private final GroundIntakeIOInputsAutoLogged replayedInputs = new GroundIntakeIOInputsAutoLogged ();
8+
9+ public GroundIntake (GroundIntakeIO io ){
10+ this .io = io ;
11+ }
12+ }
You can’t perform that action at this time.
0 commit comments