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.CommandBase
A command that writes toCommandLogger
during execution.
-
-
Field Summary
Fields Modifier and Type Field Description protected CommandLogger
logger
-
Constructor Summary
Constructors Constructor Description LoggedCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
end(boolean interrupted)
void
execute()
void
initialize()
-
Methods inherited from class edu.wpi.first.wpilibj2.command.CommandBase
addRequirements, getName, getRequirements, getSubsystem, initSendable, setName, setSubsystem, withName
-
-
-
-
Field Detail
-
logger
protected CommandLogger logger
-
-