Skip to content

Commit

Permalink
Fix to arm metadata unit test
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
winthos committed Aug 2, 2024
1 parent 7afaf39 commit b10f317
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unity/Assets/UnitTests/TestStretchArmMeta.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit b10f317

Please sign in to comment.