made PID, commented out all of the auto stuff cuz it broke the code (im tweakin)

This commit is contained in:
Abhishrek05
2024-02-09 22:01:27 -07:00
parent bd58fb3246
commit 96d612b9a1
4 changed files with 81 additions and 24 deletions
+12 -12
View File
@@ -81,20 +81,20 @@ public class Robot extends TimedRobot {
*/
@Override
public void autonomousInit() {
m_autonomousCommand = m_robotContainer.getAutonomousCommand();
// m_autonomousCommand = m_robotContainer.getAutonomousCommand();
/*
* String autoSelected = SmartDashboard.getString("Auto Selector",
* "Default"); switch(autoSelected) { case "My Auto": autonomousCommand
* = new MyAutoCommand(); break; case "Default Auto": default:
* autonomousCommand = new ExampleCommand(); break; }
*/
// /*
// * String autoSelected = SmartDashboard.getString("Auto Selector",
// * "Default"); switch(autoSelected) { case "My Auto": autonomousCommand
// * = new MyAutoCommand(); break; case "Default Auto": default:
// * autonomousCommand = new ExampleCommand(); break; }
// */
// schedule the autonomous command (example)
if (m_autonomousCommand != null) {
m_autonomousCommand.schedule();
}
m_robotTime.startMatchTime();
// // schedule the autonomous command (example)
// if (m_autonomousCommand != null) {
// m_autonomousCommand.schedule();
// }
// m_robotTime.startMatchTime();
}
/**