Skip to content

Commit

Permalink
Revert drive mtr current increase and decreased smart outtake time.
Browse files Browse the repository at this point in the history
  • Loading branch information
NottheIRS committed Mar 20, 2024
1 parent 58468c6 commit 8b1529c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/cpp/subsystems/SmartIntake.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ void SmartIntake::HandleInput(RobotControlData& input){
}
case 3:
{
if (m_timer.Get() > units::second_t(0.0425))
if (m_timer.Get() > units::second_t(0.035))
{
m_SmartOutTakeFlag = false;
m_OutTakeState = 0;
Expand Down
2 changes: 1 addition & 1 deletion src/main/include/SwerveConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ const double MAX_DRIVE_SPEED_FPS = 18.0;
const double MAX_ANGULAR_VELOCITY_DEGPS = 540.0;
const double CONTROLLER_DEADZONE = 0.1;
const int TURN_MOTOR_CURRENT_LIMIT = 20;
const int DRIVE_MOTOR_CURRENT_LIMIT = 55;
const int DRIVE_MOTOR_CURRENT_LIMIT = 20;
const double SWERVE_VOLTAGE_COMPENSATION = 10.5;
const bool IS_DRIVE_IN_COAST = false;
const bool IS_ROBOT_ORIENTED_DRIVE = false;

0 comments on commit 8b1529c

Please sign in to comment.