From a7b325788bea9618d7bfa41bf803d6e41db08a55 Mon Sep 17 00:00:00 2001 From: sciencewhiz Date: Fri, 29 Dec 2023 20:29:17 -0800 Subject: [PATCH] Add workaround for MXP numbering (#583) --- src/test/java/robotbuilder/TestUtils.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/test/java/robotbuilder/TestUtils.java b/src/test/java/robotbuilder/TestUtils.java index c6243c55..536e6ae0 100644 --- a/src/test/java/robotbuilder/TestUtils.java +++ b/src/test/java/robotbuilder/TestUtils.java @@ -143,6 +143,8 @@ public static RobotTree generateTestTree() { RobotComponent servo = new RobotComponent("Servo", "Servo", tree); misc.add(servo); RobotComponent dO = new RobotComponent("DO", "Digital Output", tree); + // needed until #583 is fixed + dO.getProperty("Output Channel (Digital)").setValueAndUpdate("12"); misc.add(dO); RobotComponent relay = new RobotComponent("Relay", "Spike", tree); misc.add(relay);