-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1f2a20d
commit 89caac5
Showing
2 changed files
with
33 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
package frc.robot; | ||
|
||
import com.ctre.phoenix6.hardware.TalonFX; | ||
|
||
import edu.wpi.first.units.Power; | ||
import edu.wpi.first.wpilibj.DigitalInput; | ||
import edu.wpi.first.wpilibj.PowerDistribution; | ||
import edu.wpi.first.wpilibj.PowerDistribution.ModuleType; | ||
import frc.robot.config.RobotConfig; | ||
|
||
public class Hardware { | ||
private final String canivoreName = null; | ||
|
||
public final PowerDistribution pdh = new PowerDistribution(1, ModuleType.kRev); | ||
|
||
public final TalonFX shooter = new TalonFX(RobotConfig.get().shooter().motorID(), canivoreName); | ||
|
||
public final TalonFX queuer = new TalonFX(RobotConfig.get().queuer().motorID(), canivoreName); | ||
|
||
|
||
public final TalonFX intake = new TalonFX(RobotConfig.get().intake().motorID(), canivoreName); | ||
|
||
public final TalonFX armLeft = new TalonFX(RobotConfig.get().arm().leftMotorID(), canivoreName); | ||
public final TalonFX armRight = new TalonFX(RobotConfig.get().arm().rightMotorID(), canivoreName); | ||
|
||
|
||
|
||
|
||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters