Merge pull request #16 from chrisheninger/patch-1

Update find_soft_offsets.py
This commit is contained in:
Antoine Pirrone 2025-04-25 10:01:06 +02:00 committed by GitHub
commit 5a0764b6da
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