Describe the bug
We imported our robot code from 2024 to 2025. As part of testing individual commands of a subsystem, we added these commands to Shuffleboard.
However, when we run the command from shuffleboard or in simulation, it would throw an exception.
In WPILib 2024, this worked, but this no longer works in 2025 beta.
I also noticed that the names of the commands are no longer displayed in simulation/shuffleboard; just SequentialCommandGroup
Same code but in 2024
To Reproduce
Steps to reproduce the behavior:
Add command to shuffleboard
Trigger command in shuffleboard in simulation -> throw
Unhandled exception: java.lang.IllegalArgumentException: Commands that have been composed may not be added to another composition or scheduled individually!
Describe the bug We imported our robot code from 2024 to 2025. As part of testing individual commands of a subsystem, we added these commands to Shuffleboard.
However, when we run the command from shuffleboard or in simulation, it would throw an exception.
In WPILib 2024, this worked, but this no longer works in 2025 beta.
I also noticed that the names of the commands are no longer displayed in simulation/shuffleboard; just SequentialCommandGroup
Same code but in 2024
To Reproduce Steps to reproduce the behavior:
Trigger command in shuffleboard in simulation -> throw Unhandled exception: java.lang.IllegalArgumentException: Commands that have been composed may not be added to another composition or scheduled individually!
Expected behavior Run the command when triggered from shuffleboard
Desktop (please complete the following information if applicable):
roboRIO (please complete the following information if applicable):