Class SystemTestCommand
- java.lang.Object
-
- edu.wpi.first.wpilibj2.command.CommandBase
-
- com.lightningrobotics.common.testing.SystemTestCommand
-
- All Implemented Interfaces:
edu.wpi.first.util.sendable.Sendable,edu.wpi.first.wpilibj2.command.Command
public class SystemTestCommand extends edu.wpi.first.wpilibj2.command.CommandBaseRuns allSystemTeststhat have been queued withSystemTest.register(SystemTest). The interactive test interface is on aShuffleboardtab called "System Tests" where users can view the current test, and pass/fail interactive system tests.
-
-
Constructor Summary
Constructors Constructor Description SystemTestCommand()Creates new SystemTestCommand.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidend(boolean interrupted)voidexecute()voidinitialize()booleanisFinished()voidreset()Resets the status of all system tests to incomplete.-
Methods inherited from class edu.wpi.first.wpilibj2.command.CommandBase
addRequirements, getName, getRequirements, getSubsystem, initSendable, setName, setSubsystem, withName
-
-
-
-
Constructor Detail
-
SystemTestCommand
public SystemTestCommand()
Creates new SystemTestCommand. This should only be called inLightningRobot.testInit().
-
-