Package frc.spectrumLib
Class Telemetry
java.lang.Object
dev.doglog.DogLog
frc.spectrumLib.Telemetry
- All Implemented Interfaces:
edu.wpi.first.wpilibj2.command.Subsystem
public class Telemetry
extends dev.doglog.DogLog
implements edu.wpi.first.wpilibj2.command.Subsystem
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic enumPriority levels for printing to the console NORMAL: Low priority, only print if enabled HIGH: High priority, always print -
Field Summary
Fields inherited from class dev.doglog.DogLog
enabled, logger, options -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic edu.wpi.first.wpilibj2.command.Commandlog(edu.wpi.first.wpilibj2.command.Command cmd) static voidstatic voidstatic voidstatic voidvoidperiodic()static voidstatic voidprint(String output, Telemetry.PrintPriority priority) Print a statement if they are enabledstatic voidstart(boolean ntPublish, boolean captureNt, Telemetry.PrintPriority priority) Methods inherited from class dev.doglog.DogLog
clearFault, clearFault, decreaseFault, decreaseFault, faultsActive, faultsLogged, getOptions, log, log, log, log, log, log, log, log, log, log, log, log, log, log, logFault, logFault, logFault, setEnabled, setOptions, setPdh, timestampMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface edu.wpi.first.wpilibj2.command.Subsystem
defer, getCurrentCommand, getDefaultCommand, getName, register, removeDefaultCommand, run, runEnd, runOnce, setDefaultCommand, simulationPeriodic, startEnd, startRun
-
Constructor Details
-
Telemetry
public Telemetry()
-
-
Method Details
-
periodic
public void periodic()- Specified by:
periodicin interfaceedu.wpi.first.wpilibj2.command.Subsystem
-
start
-
log
public static edu.wpi.first.wpilibj2.command.Command log(edu.wpi.first.wpilibj2.command.Command cmd) -
log
-
log
-
log
-
print
Print a statement if they are enabled -
print
-
logAlerts
public static void logAlerts()
-