Add reverse mode

- Add reverse mode of autoAlign

TODO:
-  Shoot between normal and reverse mode
- Use the robot
- Make the math in autoAlign
This commit is contained in:
Astatin3
2024-02-16 12:59:22 -07:00
parent 20bac49f8d
commit 4b7cb07c1b
8 changed files with 175 additions and 81 deletions
+1 -6
View File
@@ -50,12 +50,7 @@ public class Robot extends TimedRobot {
* LiveWindow and SmartDashboard integrated updating.
*/
@Override
public void robotPeriodic() {
// This has to be run after the m_robotContainer is initiated
// It will instantly return after it is run
m_robotContainer.autoAlign.updateAlliance();
public void robotPeriodic() {
m_robotTime.updateTimes();
//mled.updateLED();
// Runs the Scheduler. This is responsible for polling buttons, adding newly-scheduled