Skip to content
This repository has been archived by the owner on Jan 10, 2025. It is now read-only.

Commit

Permalink
Merge branch 'master' of https://github.com/CurtinFRC/2024-Offseason
Browse files Browse the repository at this point in the history
…into paul/sysid-final
  • Loading branch information
Superbro525Alt committed Aug 10, 2024
2 parents d8a88ec + bde5680 commit ee35a95
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions src/main/java/frc/robot/Robot.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,16 @@ public class Robot extends CommandRobot {
private final Trigger m_codriverX = m_codriver.x();

public Robot() {
HashMap<Integer, String> aliases = new HashMap<>();
aliases.put(31, "Shooter");
aliases.put(32, "Climber");
aliases.put(35, "Intake");
aliases.put(21, "Arm Lead");
aliases.put(26, "Arm Follower");
URCL.start(aliases, false);
HashMap<Integer, String> urclAliases = new HashMap<>();
urclAliases.put(Constants.shooterPort, "Shooter");
urclAliases.put(Constants.climberPort, "Climber");
urclAliases.put(Constants.intakePort, "Intake");
urclAliases.put(Constants.indexerPort, "Index");
urclAliases.put(Constants.armLeadPort, "Arm Lead");
urclAliases.put(Constants.armFollowerPort, "Arm Follower");

DataLogManager.start();
URCL.start(urclAliases, false);
DriverStation.startDataLog(DataLogManager.getLog());
SignalLogger.setPath(DataLogManager.getLogDir());
SignalLogger.start();
Expand Down

0 comments on commit ee35a95

Please sign in to comment.