Skip to content

Commit

Permalink
Bind indexer for testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
NottheIRS committed Feb 19, 2024
1 parent f8da14d commit d2b7dda
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main/cpp/ControllerInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ void ControllerInterface::UpdateRobotControlData(RobotControlData &controlData)
{
UpdateIntakeInput(controlData);
UpdateLauncherInput(controlData);
//UpdateSwerveInput(controlData);
// UpdateSwerveInput(controlData);
};

void ControllerInterface::UpdateIntakeInput(RobotControlData &controlData)
Expand All @@ -14,7 +14,8 @@ void ControllerInterface::UpdateIntakeInput(RobotControlData &controlData)
controlData.smartIntakeInput.smartIntake = m_copilot.GetLeftBumper();
controlData.smartIntakeInput.smartOutTake = m_copilot.GetRightBumper();
controlData.intakeInput.runIntakeIn = m_copilot.GetLeftTriggerAxis() >= 0.2;
controlData.intakeInput.runIntakeOut = m_copilot.GetRightTriggerAxis() >= 0.2;
// controlData.intakeInput.runIntakeOut = m_copilot.GetRightTriggerAxis() >= 0.2;
controlData.launcherInput.runIndexerForward = m_copilot.GetRightTriggerAxis() >= 0.2;

// This for debug purposes only
controlData.smartIntakeInput.laser = m_copilot.GetLeftStickButton();
Expand Down

0 comments on commit d2b7dda

Please sign in to comment.