Class LoggedCommand
- java.lang.Object
-
- edu.wpi.first.wpilibj2.command.CommandBase
-
- com.lightningrobotics.common.command.core.LoggedCommand
-
- All Implemented Interfaces:
edu.wpi.first.util.sendable.Sendable,edu.wpi.first.wpilibj2.command.Command
public abstract class LoggedCommand extends edu.wpi.first.wpilibj2.command.CommandBaseA command that writes toCommandLoggerduring execution.
-
-
Field Summary
Fields Modifier and Type Field Description protected CommandLoggerlogger
-
Constructor Summary
Constructors Constructor Description LoggedCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidend(boolean interrupted)voidexecute()voidinitialize()-
Methods inherited from class edu.wpi.first.wpilibj2.command.CommandBase
addRequirements, getName, getRequirements, getSubsystem, initSendable, setName, setSubsystem, withName
-
-
-
-
Field Detail
-
logger
protected CommandLogger logger
-
-