Skip to content

Commit

Permalink
configed idle modes to coast
Browse files Browse the repository at this point in the history
  • Loading branch information
GearBoxFox committed Feb 3, 2024
1 parent 5bab1dc commit 18813fa
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ public ShooterIOPrototype() {
m_bottomLeftMotor.restoreFactoryDefaults();
m_bottomRightMotor.restoreFactoryDefaults();

m_topLeftMotor.setIdleMode(CANSparkBase.IdleMode.kCoast);
m_topRightMotor.setIdleMode(CANSparkBase.IdleMode.kCoast);
m_bottomLeftMotor.setIdleMode(CANSparkBase.IdleMode.kCoast);
m_bottomRightMotor.setIdleMode(CANSparkBase.IdleMode.kCoast);

m_topLeftMotor.setInverted(ShooterConstants.TOP_LEFT_INVERTED);
m_topRightMotor.setInverted(ShooterConstants.TOP_RIGHT_INVERTED);
m_bottomLeftMotor.setInverted(ShooterConstants.BOTTOM_LEFT_INVERTED);
Expand Down

0 comments on commit 18813fa

Please sign in to comment.