-
Notifications
You must be signed in to change notification settings - Fork 482
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
Joint axis restricted to one of the frame axis #253
Comments
Hey @gianluca-garofalo could you please provide an example of a URDF which produces this issue? Then I can have a look at what we can do about it. |
Hi @jhavl, Using just one joint should already be enough. I have attached a minimal example, that I hope shows what I was referring to. If you change the axis to "1 0 0", the test is visualized correctly, while the axis in the attached URDF yields an error. Please, do let me know if I can support you somehow. Thank you for your looking into it. |
Sorry for the delay, I've implemented a fix, let me know if it works as expected. |
Hello, I'd like to re-open this issue. I don't think this is resolved. While moving a revolute joint with a tilted Cheers, Hatef |
Hello, I discovered this closed issue after I made my pull request. The issue is still here in the current version. You can find my (quite long) fix in this pull request: I hope it will help someone. |
While using Swift, I have noticed that a URDF file containing a joint axis that is not aligned with one of the three frame axis (either x, y or z) gets the wrong number of DoFs. Although I noticed this while using Swift, I suspect that it might be due to this part of the code:
robotics-toolbox-python/roboticstoolbox/tools/urdf/urdf.py
Line 1740 in 338d960
If I am correct, do you have a suggestion on how to fix this issue that does not involve changing the URDF?
Thank you in advance for your support and of course for sharing your code!
The text was updated successfully, but these errors were encountered: