pollen-robotics / reachy2-sdk

Reachy 2 Python SDK
https://www.pollen-robotics.com
Apache License 2.0
5 stars 0 forks source link

380 be able to wait for movements #381

Closed glannuzel closed 2 months ago

glannuzel commented 2 months ago

Instead of doing:

a = reachy.r_arm.goto_joints([...])
while not reachy.is_move_finished(a):
     time.sleep(0.1)

We can do:

reachy.r_arm.goto_joints([...], wait=True)
github-actions[bot] commented 2 months ago

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
829 758 91% 0% 🟢

New Files

No new covered files...

Modified Files

File Coverage Status
tests/units/online/test_advanced_goto_functions.py 100% 🟢
TOTAL 100% 🟢

updated for commit: 5fcca9a by action🐍