Class EpilogueTelemetry
java.lang.Object
org.wpilib.epilogue.EpilogueTelemetry
Utility functions for generated Epilogue telemetry loggers.
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetUnitMetadata(String unitSymbol) Returns JSON-encoded unit metadata for the given unit symbol.static StringgetUnitMetadata(Unit unit) Returns JSON-encoded unit metadata for the given unit.static voidlogMeasure(TelemetryTable table, String name, Measure<?> value) Logs a measure with unit metadata.
-
Method Details
-
getUnitMetadata
-
getUnitMetadata
-
logMeasure
Logs a measure with unit metadata.This logs the measure in terms of its base unit.
- Parameters:
table- telemetry tablename- entry namevalue- measure value
-