This commit is contained in:
aarav18
2022-03-12 17:43:17 -07:00
parent 2a9a3d9486
commit 42421b51af
2 changed files with 29 additions and 14 deletions
+7
View File
@@ -270,6 +270,13 @@ public class Robot extends TimedRobot {
*/
@Override
public void teleopPeriodic() {
boolean robotManual = m_robotContainer.manual;
if (robotManual) {
m_robotContainer.configureManualButtonBindings();
} else {
m_robotContainer.configureAutomaticButtonBindings();
}
}
@Override