Update find_soft_offsets.py

We're converting the input to lowercase so we need to check "y" instead of "Y"
This commit is contained in:
Chris Heninger 2025-04-19 19:35:12 -07:00 committed by GitHub
parent c1876c57ce
commit f93cad67e4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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