Robot Core Documentation
|
Public Attributes | |
kCancelSelf | |
kCancelIncoming | |
An enum describing the command's behavior when another command with a shared requirement is scheduled.
edu.wpi.first.wpilibj2.command.Command.InterruptionBehavior.kCancelIncoming |
This command continues, and the incoming command is not scheduled.
edu.wpi.first.wpilibj2.command.Command.InterruptionBehavior.kCancelSelf |
This command ends, end(true)
is called, and the incoming command is scheduled normally.
This is the default behavior.