Hey, we are finishing the autonomous, but to achieve this, we overcome a strange “bug” (i dont know if its a bug, if its a code error I need help hahahah).
When we were testing our autonomous in pathweaver, frequently the trajectories started to run wrong paths, but when we stopped to use sendable chooser to select the auto on shuffleboard, the paths started to work well.
Now Im using manual choose to run a path, but in a competition I would like to fix the sendable chooser.
My code (the most recent code is in branch “limelight”): frc-2022/src/main at limelight · Team1772/frc-2022 · GitHub
Sendable Chooser is in robot container: https://github.com/Team1772/frc-2022/blob/limelight/src/main/java/frc/robot/RobotContainer.java