InterruptionBehavior
- class commands2.InterruptionBehavior(*values)[source]
Bases:
EnumAn enum describing the command’s behavior when another command with a shared requirement is scheduled.
- kCancelIncoming = 0
This command ends,
commands2.Command.end()is called, and the incoming command is scheduled normally.This is the default behavior.
- kCancelSelf = 1
This command continues, and the incoming command is not scheduled.