WEIRDLabUW / asid

14 stars 0 forks source link

RuntimeError: ValidateParameters: Provided joint_id [0] is invalid #3

Open rbt4168 opened 1 month ago

rbt4168 commented 1 month ago

Dear author,

First of all, great work on this project! I’ve followed the README instructions for installation, but I’m running into an issue when trying to run it. Here’s my system information:

Screen Shot 2024-09-25 at 3 59 29 AM Screen Shot 2024-09-25 at 3 59 10 AM

The error I’m getting is:

RuntimeError: ValidateParameters: Provided joint_id [0] is invalid for the provided model, which has [0] joints.
Screen Shot 2024-09-25 at 4 02 18 AM

After some code tracing, I found that the issue seems to originate from robot_ik_solver.py at line 53:

self._cart_effector_6d.after_compile(self._arm.mjcf_model, self._physics)

Any insights on what might be causing this?

I’d appreciate your help!

memmelma commented 2 weeks ago

Hey @rbt4168, this looks like an issue with the IK package.

I can't reproduce the error on my side. Can you please try installing the older version below?

pip install dm-robotics-moma==0.5.0 --no-deps
pip install dm-robotics-transformations==0.5.0 --no-deps
pip install dm-robotics-agentflow==0.5.0 --no-deps
pip install dm-robotics-geometry==0.5.0 --no-deps
pip install dm-robotics-manipulation==0.5.0 --no-deps
pip install dm-robotics-controllers==0.5.0 --no-deps

Lmk if that worked.