Open TAKBS2412 opened 3 months ago
One interesting thing for the future would be adding separate tests with different subsystems enabled/disabled (based off our existing simulation test) to catch errors like this in CI.
One big cause of this is the call to AutoLogic.initShuffleBoard that instantiates the static commandsMap
variable, which instances a bunch of static List
variables and the AutoPath
items in those lists. Those all assume there's a drivebase subsystem that's already configured PathPlanner, and crash if that's not the case.
Probably low priority, since (hopefully) we won't have to run in competition with subsystems disabled.
Sample intake disabled stacktrace:
Sample launcher disabled stacktrace:
Sample drivebase disabled stacktrace: