From aec90d256f9ef7c3bfe29c35074056e963525d31 Mon Sep 17 00:00:00 2001 From: Reed Mullett Date: Thu, 21 Nov 2024 16:12:39 -0600 Subject: [PATCH] added logger line --- .../java/frc/robot/subsystems/RandomMotors/RandomMotors.java | 3 +++ src/main/java/frc/robot/subsystems/intake/intake.java | 3 +++ 2 files changed, 6 insertions(+) diff --git a/src/main/java/frc/robot/subsystems/RandomMotors/RandomMotors.java b/src/main/java/frc/robot/subsystems/RandomMotors/RandomMotors.java index c1db219..0b96503 100644 --- a/src/main/java/frc/robot/subsystems/RandomMotors/RandomMotors.java +++ b/src/main/java/frc/robot/subsystems/RandomMotors/RandomMotors.java @@ -1,5 +1,6 @@ package frc.robot.subsystems.RandomMotors; +import org.littletonrobotics.junction.Logger; import edu.wpi.first.wpilibj2.command.SubsystemBase; public class RandomMotors extends SubsystemBase { @@ -13,6 +14,8 @@ public RandomMotors(RandomMotorsIO io) { @Override public void periodic() { io.updateInputs(inputs); + Logger.processInputs("RandomMotors", inputs); + } public void runMotor(double power) { diff --git a/src/main/java/frc/robot/subsystems/intake/intake.java b/src/main/java/frc/robot/subsystems/intake/intake.java index ca8b9b8..63f0326 100644 --- a/src/main/java/frc/robot/subsystems/intake/intake.java +++ b/src/main/java/frc/robot/subsystems/intake/intake.java @@ -1,5 +1,6 @@ package frc.robot.subsystems.Intake; +import org.littletonrobotics.junction.Logger; import edu.wpi.first.wpilibj2.command.SubsystemBase; public class Intake extends SubsystemBase { @@ -13,6 +14,8 @@ public Intake(IntakeIO io) { @Override public void periodic() { io.updateInputs(inputs); + Logger.processInputs("Intake", inputs); + } public void setIntakeVoltage(int power) {