mirror of
https://github.com/apirrone/Open_Duck_Mini_Runtime.git
synced 2025-09-02 03:04:02 +00:00
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:
parent
c1876c57ce
commit
f93cad67e4
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue