manual and normal button box switching

This commit is contained in:
aarav18
2022-03-12 19:01:16 -07:00
parent 17fdcc00f6
commit 74b13a3b9d
3 changed files with 70 additions and 34 deletions
+1 -9
View File
@@ -269,15 +269,7 @@ public class Robot extends TimedRobot {
* This function is called periodically during operator control.
*/
@Override
public void teleopPeriodic() {
boolean robotManual = m_robotContainer.manual;
if (robotManual) {
m_robotContainer.configureManualButtonBindings();
} else {
m_robotContainer.configureAutomaticButtonBindings();
}
}
public void teleopPeriodic() {}
@Override
public void testInit() {