Class RepeatCommand

java.lang.Object
edu.wpi.first.wpilibj2.command.Command
edu.wpi.first.wpilibj2.command.RepeatCommand
All Implemented Interfaces:
Sendable

public class RepeatCommand
extends Command
A command that runs another command repeatedly, restarting it when it ends, until this command is interrupted. Command instances that are passed to it cannot be added to any other groups, or scheduled individually.

The rules for command compositions apply: command instances that are passed to it cannot be added to any other composition or scheduled individually,and the composition requires all subsystems its components require.

This class is provided by the NewCommands VendorDep