isIntentComplete

abstract fun isIntentComplete(): Boolean

Check if intent goal is achieved.

Return true when all subsystems have reached their target states. The command will finish when this returns true.

Example:

override fun isIntentComplete() =
Elevator.isAtTarget() && Arm.isAtTarget()

Return

true when the intent's goal is complete