Requirement conflicts could be better communicated #6353
Labels
component: command-based
WPILib Command Based Library
type: fix
Iterations on existing features or infrastructure.
allwpilib/wpilibNewCommands/src/main/java/edu/wpi/first/wpilibj2/command/ParallelCommandGroup.java
Line 53 in 1db3936
Traditionally, it was fairly easy to track down problems with conflicting requirements just by looking at the back trace. With modern tools (e.g. PathPlanner) that create commands for you, it can be much harder. (See related issue mjansen4857/pathplanner#601)
I suggest that this exception message be augmented to include the name of the command, the name of the command being added, and the names of the subsystems in conflict. Perhaps something like:
The text was updated successfully, but these errors were encountered: