Skip to content

Commit

Permalink
mesage
Browse files Browse the repository at this point in the history
  • Loading branch information
ProgrammingSR committed Mar 5, 2024
1 parent 0f410cf commit 7694a35
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/main/java/frc/robot/Constants.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public static final class IOConstants {
public static final int kDriverControllerPort = 0;
public static final int kOperatorControllerPort = 1;

public static final double kControllerDeadband = 0.05;
public static final double kControllerDeadband = 0.1;
public static final double kSlowModeScalar = 0.8;
}

Expand Down Expand Up @@ -102,7 +102,7 @@ public static final class IntakeConstants {

// In degrees
public static final double kIntakeLoweredAngle = -193;
public static final double kIntakeRaisedAngle = -10;
public static final double kIntakeRaisedAngle = 0;
public static final double kIntakeAmpScoringAngle = -93; // 193 - 100 (previous angle)

/** Encoder offset in rotations */
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/frc/robot/subsystems/IntakeSubsystem.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ public IntakeSubsystem() {
SmartDashboard.putNumber("arm", m_armEncoder.getAbsolutePosition());
m_armEncoder.setDistancePerRotation(360);

m_intakeMotor.setIdleMode(IdleMode.kBrake);
m_armMotor.setIdleMode(IdleMode.kCoast);
m_intakeMotor.setIdleMode(IdleMode.kCoast);
m_armMotor.setIdleMode(IdleMode.kBrake);

m_armPID.setTolerance(10);

Expand Down

0 comments on commit 7694a35

Please sign in to comment.