[copybara] Resync with mostrobotpy (#8662)

This commit is contained in:
PJ Reiniger
2026-03-09 00:38:21 -04:00
committed by GitHub
parent 71cd434699
commit c0f8159540
40 changed files with 181 additions and 79 deletions

View File

@@ -75,6 +75,8 @@ class Subsystem(Sendable):
Removes the default command for the subsystem. This will not cancel the default command if it
is currently running.
"""
from .commandscheduler import CommandScheduler
CommandScheduler.getInstance().removeDefaultCommand(self)
def getDefaultCommand(self) -> Optional[Command]: