Package yams.telemetry
Class MechanismTelemetry
java.lang.Object
yams.telemetry.MechanismTelemetry
Mechanism telemetry.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the telemetry NetworkTable.Get the tuning NetworkTable.voidSetup loop time publisher.voidsetupTelemetry(String mechanismTelemetryName) Setup telemetry for the Mechanism and motor controller.voidsetupTelemetry(String mechanismTelemetryName, SmartMotorController motorController) Setup telemetry for the Mechanism and motor controller.voidUpdate the loop time.
-
Constructor Details
-
MechanismTelemetry
public MechanismTelemetry()
-
-
Method Details
-
setupLoopTime
public void setupLoopTime()Setup loop time publisher. -
setupTelemetry
Setup telemetry for the Mechanism and motor controller.- Parameters:
mechanismTelemetryName- Mechanism Telemetry Name.motorController-SmartMotorControllerto setup telemetry for.
-
setupTelemetry
Setup telemetry for the Mechanism and motor controller.- Parameters:
mechanismTelemetryName- Mechanism Telemetry Name.
-
getDataTable
Get the telemetry NetworkTable.- Returns:
- Telemetry NetworkTable.
-
getTuningTable
Get the tuning NetworkTable.- Returns:
- Tuning NetworkTable.
-
updateLoopTime
public void updateLoopTime()Update the loop time.
-