Skip to content

Commit

Permalink
reverse direction of amp spit out
Browse files Browse the repository at this point in the history
  • Loading branch information
HugoHead committed Feb 24, 2024
1 parent f315f03 commit 383d29e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/cpp/ControllerInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ void ControllerInterface::UpdateIntakeInput(RobotControlData &controlData)

if (controlData.intakeOutput.intakePos == IntakePos::AMP)
{
controlData.intakeInput.runIntakeIn = m_copilot.GetRightTriggerAxis() > 0.2;
controlData.intakeInput.runIntakeOut = m_copilot.GetRightTriggerAxis() > 0.2;
controlData.launcherInput.runIndexerForward = false;
}
else
{
controlData.launcherInput.runIndexerForward = m_copilot.GetRightTriggerAxis() > 0.2;
controlData.intakeInput.runIntakeIn = false;
controlData.intakeInput.runIntakeOut = false;
}

controlData.smartIntakeInput.smartOutTake = m_copilot.GetRightBumper();
Expand Down

0 comments on commit 383d29e

Please sign in to comment.