Skip to content

Commit

Permalink
fix negative PID gain in test (#584)
Browse files Browse the repository at this point in the history
  • Loading branch information
sciencewhiz authored Jan 1, 2024
1 parent e033db2 commit 7416a27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/java/robotbuilder/TestUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public static RobotTree generateTestTree() {
subsystems.add(wrist);
wrist.getProperty("P").setValueAndUpdate(2);
wrist.getProperty("I").setValueAndUpdate(1);
wrist.getProperty("D").setValueAndUpdate(-1);
wrist.getProperty("D").setValueAndUpdate(0.5);
wrist.getProperty("Continuous").setValueAndUpdate(true);
RobotComponent wristMotor = new RobotComponent("Motor", "Motor Controller", tree);
wristMotor.setProperty("Type", "Jaguar");
Expand Down

0 comments on commit 7416a27

Please sign in to comment.