Class HootTelemetryBackend

java.lang.Object
com.ctre.phoenix6.HootTelemetryBackend
All Implemented Interfaces:
AutoCloseable, TelemetryBackend

public final class HootTelemetryBackend extends Object implements TelemetryBackend
A telemetry backend implementation that saves information to a CTRE hoot file on disk using the Phoenix 6 SignalLogger.
  • Constructor Details

    • HootTelemetryBackend

      public HootTelemetryBackend()
      Creates a new hoot telemetry backend. This immediately starts the SignalLogger and automatically stops it once close() has been called on all instances. This will use the default path documented in SignalLogger.setPath(String).
    • HootTelemetryBackend

      public HootTelemetryBackend(String prefix)
      Creates a new hoot telemetry backend. This immediately starts the SignalLogger and automatically stops it once close() has been called on all instances. This will use the default path documented in SignalLogger.setPath(String).
      Parameters:
      prefix - Prefix to prepend to all log entry names; defaults empty
    • HootTelemetryBackend

      public HootTelemetryBackend(String prefix, String path)
      Creates a new hoot telemetry backend with the target file path. This immediately starts the SignalLogger and automatically stops it once close() has been called on all instances.
      Parameters:
      prefix - Prefix to prepend to all log entry names; defaults empty
      path - Folder path for the log files; path must exist
  • Method Details