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 enum
static enum
Priority 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.Command
log
(edu.wpi.first.wpilibj2.command.Command cmd) static void
static void
static void
static void
void
periodic()
static void
static void
print
(String output, Telemetry.PrintPriority priority) Print a statement if they are enabledstatic void
start
(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, timestamp
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
periodic
in 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()
-