You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Unhandled exception: java.lang.IllegalArgumentException: Commands that have been composed may not be added to another composition or scheduled individually!
2025 beta: https://github.com/gwhs/2024v2/blob/2025-beta/src/main/java/frc/robot/subsystems/Arm/ArmSubsystem.java
2024 version: https://github.com/gwhs/2024v2/blob/rewrite/src/main/java/frc/robot/subsystems/Arm/ArmSubsystem.java
Expected behavior
Run the command when triggered from shuffleboard
Desktop (please complete the following information if applicable):
WPILib Information:
Project Version: 2025.1.1-beta-1
VS Code Version: 1.94.2
WPILib Extension Version: 2025.1.1-beta-1
C++ Extension Version: 1.22.9
Java Extension Version: 1.36.2024092708
Java Debug Extension Version: 0.58.2024090204
Java Dependencies Extension Version 0.24.0
Java Version: 17
Java Location: C:\Users\Public\wpilib\2025\jdk
Vendor Libraries:
PathplannerLib (2025.0.0-beta-4)
CTRE-Phoenix (v6) (25.0.0-beta-2)
photonlib (v2025.0.0-beta-1)
WPILib-New-Commands (1.0.0)
roboRIO (please complete the following information if applicable):
The text was updated successfully, but these errors were encountered: