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 Classes
    Modifier and Type
    Class
    Description
    static 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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static edu.wpi.first.wpilibj2.command.Command
    log(edu.wpi.first.wpilibj2.command.Command cmd)
     
    static void
    log(String key, double value)
     
    static void
    log(String key, double[] value)
     
    static void
    log(String key, Boolean value)
     
    static void
     
    void
     
    static void
    print(String output)
     
    static void
    Print a statement if they are enabled
    static 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 interface edu.wpi.first.wpilibj2.command.Subsystem
    • start

      public static void start(boolean ntPublish, boolean captureNt, Telemetry.PrintPriority priority)
    • log

      public static edu.wpi.first.wpilibj2.command.Command log(edu.wpi.first.wpilibj2.command.Command cmd)
    • log

      public static void log(String key, Boolean value)
    • log

      public static void log(String key, double value)
    • log

      public static void log(String key, double[] value)
    • print

      public static void print(String output, Telemetry.PrintPriority priority)
      Print a statement if they are enabled
    • print

      public static void print(String output)
    • logAlerts

      public static void logAlerts()