FRCTeam3044 / 2024SwerveBase

Swerve Code for 2024 - Crescendo
Other
1 stars 0 forks source link

We cannot read the elevator limit switches because they are plugged into the sparkmaxes #43

Closed DavidDePauw1 closed 8 months ago

DavidDePauw1 commented 8 months ago

https://github.com/FRCTeam3044/2024SwerveBase/blob/60f85b4a5d5addeb974ca0ef6b9bcd1262ac689a/src/main/java/frc/robot/subsystems/ElevatorSubsystem.java#L27

@ghorrocks217 instead, we need to call the methods on the sparkmax to set it to respond to the limit switches that are plugged in. You can look up how to do this in the rev examples repo we have looked at previously. Please remove the methods related to limit switch reading from this class.