Interface TelemetryLoggable

All Known Implementing Classes:
ADXL345_I2C, AnalogAccelerometer, AnalogEncoder, AnalogInput, AnalogPotentiometer, BangBangController, CANcoder, CANrange, Compressor, DifferentialDrive, DigitalInput, DigitalOutput, DoubleSolenoid, DualSenseController, DualSenseEdgeController, DualShock4Controller, DutyCycle, DutyCycleEncoder, EdgeCounter, Encoder, Field2d, GameCubeController, Gamepad, GyroIO.GyroIOInputs, Koors40, LogitechF310Controller, MecanumDrive, Mechanism2d, MechanismLigament2d, MechanismObject2d, MechanismRoot2d, ModuleIO.ModuleIOInputs, NiDsPS4Controller, NiDsPS5Controller, NiDsStadiaController, NiDsXboxController, PhoenixPIDController, PIDController, Pigeon2, PowerDistribution, ProfiledPIDController, PWM, PWMMotorController, PWMSparkFlex, PWMSparkMax, PWMTalonFX, PWMTalonSRX, PWMVenom, PWMVictorSPX, SharpIR, Solenoid, Spark, SparkMini, SteamController, Switch2GCController, Switch2ProController, SwitchN64Controller, SwitchProController, Tachometer, Talon, TalonFX, TalonFXS, VictorSP, XboxController
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface TelemetryLoggable
The base interface for complex telemetry objects.
  • Method Details

    • logTo

      void logTo(TelemetryTable table)
      Logs the object to a TelemetryTable.
      Parameters:
      table - telemetry table
    • getTelemetryType

      default String getTelemetryType()
      Gets the telemetry table type. Default is no specified table type (null). A mismatch in type during logging results in a reported warning, so this should always return the same value.
      Returns:
      Table type