Skip to content

Commit

Permalink
fixed build issue with sim modules
Browse files Browse the repository at this point in the history
  • Loading branch information
GearBoxFox committed Jan 21, 2024
1 parent 1d4d4d9 commit 0f862f8
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/main/java/frc/robot/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
import edu.wpi.first.wpilibj2.command.Command;
import edu.wpi.first.wpilibj2.command.Commands;
import edu.wpi.first.wpilibj2.command.button.CommandXboxController;
import frc.robot.Constants.DriveConstants;
import frc.robot.commands.DriveCommands;
import frc.robot.commands.FeedForwardCharacterization;
import frc.robot.subsystems.drive.DriveSubsystem;
Expand Down Expand Up @@ -70,10 +71,10 @@ public RobotContainer() {
new DriveSubsystem(
new GyroIO() {
},
new ModuleIOSim(),
new ModuleIOSim(),
new ModuleIOSim(),
new ModuleIOSim());
new ModuleIOSim(DriveConstants.FL_MOD_CONSTANTS),
new ModuleIOSim(DriveConstants.FR_MOD_CONSTANTS),
new ModuleIOSim(DriveConstants.BL_MOD_CONSTANTS),
new ModuleIOSim(DriveConstants.BR_MOD_CONSTANTS));
m_shooter = new ShooterSubsystem(new ShooterIOPrototype());
}
default -> {
Expand Down

0 comments on commit 0f862f8

Please sign in to comment.