From 7416a27f3e1cc75033c24a1fae73fe099835302b Mon Sep 17 00:00:00 2001 From: sciencewhiz Date: Mon, 1 Jan 2024 11:13:16 -0800 Subject: [PATCH] fix negative PID gain in test (#584) --- src/test/java/robotbuilder/TestUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/robotbuilder/TestUtils.java b/src/test/java/robotbuilder/TestUtils.java index c3382d81..bd5c4804 100644 --- a/src/test/java/robotbuilder/TestUtils.java +++ b/src/test/java/robotbuilder/TestUtils.java @@ -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");