Package com.marslib.diagnostics
Interface SystemTestable
- All Known Implementing Classes:
MARSClimber,MARSCowl,MARSIntakePivot,MARSShooter,SwerveDrive
public interface SystemTestable
Indicates that a subsystem or component can perform an automated self-test.
Implementing classes must provide a command that executes physical maneuvers and assert hardware readings against strict tolerances, triggering Alerts upon failure.
-
Method Summary
Modifier and TypeMethodDescriptionedu.wpi.first.wpilibj2.command.CommandGenerates an autonomous, state-machine style verification routine for this subsystem.
-
Method Details
-
getSystemCheckCommand
edu.wpi.first.wpilibj2.command.Command getSystemCheckCommand()Generates an autonomous, state-machine style verification routine for this subsystem.- Returns:
- A command that runs through diagnostic checks and logs results.
-