Skip to content

Commit

Permalink
removed uneeded logging method
Browse files Browse the repository at this point in the history
  • Loading branch information
GearBoxFox committed Mar 13, 2024
1 parent e36fb61 commit 770abd1
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions src/main/java/frc/robot/subsystems/arm/ArmSubsystem.java
Original file line number Diff line number Diff line change
Expand Up @@ -266,26 +266,5 @@ public Command setWristPowerFactory(double power) {
},
() -> m_io.setWristVoltage(0.0));
}

/** Logging util */
public void setupLogging() {
logUtil.addDouble("ArmAngleDegs", () -> m_inputs.armPositionDegs, true);
logUtil.addDouble("WristAngleDegs", () -> m_inputs.wristPositionDegs, true);

logUtil.addDouble("ArmSetpointDegs", () -> m_desiredArmPoseDegs, true);
logUtil.addDouble("WristSetpointDegs", () -> m_desiredWristPoseDegs, true);

logUtil.addDouble("ArmAppliedOutput", () -> m_inputs.armAppliedOutput, false);
logUtil.addDouble("WristAppliedOutput", () -> m_inputs.wristAppliedOutput, false);

logUtil.addDouble("ArmClosedLoopOutput", () -> m_inputs.armClosedLoopOutput, false);
logUtil.addDouble("WristClosedLoopOutput", () -> m_inputs.wristClosedLoopOutput, false);

logUtil.addDouble("ArmAppliedOutput", () -> m_inputs.armAppliedOutput, false);
logUtil.addDouble("WristAppliedOutput", () -> m_inputs.wristAppliedOutput, false);

logUtil.addDouble("WristArmGap", () -> m_wristGap, true);
logUtil.addString("Arm Current State", () -> m_desiredState.toString(), true);
}
}

0 comments on commit 770abd1

Please sign in to comment.