Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error occurs when running example humanoid_collisions.py from the repository placo-examples #6

Open
yanghanjiang opened this issue Aug 28, 2024 · 0 comments

Comments

@yanghanjiang
Copy link

Environment:

  • placo version: 0.6.2
  • placo installation type: installed from source
  • python version: 3.8.10
  • eigen version: 3.4.0
  • OS version: ubuntu 20.04

Issue Details:
An error occurs when running the humanoid_collisions.py example from the placo-examples repository. The log is shown below.

You can open the visualizer by visiting the following URL:
http://127.0.0.1:7000/static/
Viewer URL: http://127.0.0.1:7000/static/
Traceback (most recent call last):
  File "humanoid_collisions.py", line 95, in <module>
    run_loop()
  File "/usr/local/lib/python3.8/dist-packages/ischedule/ischedule.py", line 107, in run_loop
    run_pending()
  File "/usr/local/lib/python3.8/dist-packages/ischedule/ischedule.py", line 80, in run_pending
    task.func()
  File "humanoid_collisions.py", line 85, in loop
    solver.solve(True)
RuntimeError: QPError: Problem: Infeasible QP (check your hard inequality constraints)

I've found some workarounds, such as changing the self-collision constraint priority from hard to soft, but this might not address the root cause of the issue.

avoid_self_collisions.configure("avoid_self_collisions", "soft", 10.0)

I'm also uncertain whether this issue should be filed under the placo repository or the placo-examples repository. Since it seems like the error originates from placo, I'm posting it here first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant