From b10f3175af6587359dc054e85decb4c3e2a21695 Mon Sep 17 00:00:00 2001 From: winthos Date: Fri, 2 Aug 2024 13:47:03 -0700 Subject: [PATCH] Fix to arm metadata unit test updating arm metadata unit test to correctly check for the default gripper state of the arm. The default state used to be completely closed but has since been changed to be in a slightly opened configuration by default. --- unity/Assets/UnitTests/TestStretchArmMeta.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unity/Assets/UnitTests/TestStretchArmMeta.cs b/unity/Assets/UnitTests/TestStretchArmMeta.cs index 5fa4a42e72..ed9b04b9cb 100644 --- a/unity/Assets/UnitTests/TestStretchArmMeta.cs +++ b/unity/Assets/UnitTests/TestStretchArmMeta.cs @@ -33,7 +33,7 @@ public IEnumerator TestStretchArmGripperOpennessMetadata() ArmMetadata meta = armController.GenerateMetadata(); //check meta is in correct state Debug.Log($"openness should be 0 but is: {meta.gripperOpennessState}"); - Assert.AreEqual(meta.gripperOpennessState, 0); + Assert.AreEqual(meta.gripperOpennessState, 1); //now lets open the gripper a bit action.Clear();