From f93cad67e40c4152d7becb8809d3a4a8aadfa130 Mon Sep 17 00:00:00 2001 From: Chris Heninger Date: Sat, 19 Apr 2025 19:35:12 -0700 Subject: [PATCH] Update find_soft_offsets.py We're converting the input to lowercase so we need to check "y" instead of "Y" --- scripts/find_soft_offsets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/find_soft_offsets.py b/scripts/find_soft_offsets.py index 0c945b5..a3e7b66 100644 --- a/scripts/find_soft_offsets.py +++ b/scripts/find_soft_offsets.py @@ -60,7 +60,7 @@ try: hwi.io.enable_torque([joint_id]) # hwi.control.kps[i] = 32 res = input("Is that ok ? (Y/n)").lower() - if res == "Y" or res == "": + if res == "y" or res == "": print("Ok, setting offset") hwi.joints_offsets[joint_name] = offset ok = True