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.CommandBase
Runs allSystemTests
that have been queued withSystemTest.register(SystemTest)
. The interactive test interface is on aShuffleboard
tab 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 void
end(boolean interrupted)
void
execute()
void
initialize()
boolean
isFinished()
void
reset()
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()
.
-
-