-
Notifications
You must be signed in to change notification settings - Fork 22
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
Initialization of UnionSDF from RobotModel failed when original URDF uses not 1 "scale" attribute. #372
Comments
This comes from invalid rotation setting to collision trimesh metadata at scikit-robot/skrobot/utils/urdf.py Line 2562 in cd27403
scikit-robot/skrobot/utils/urdf.py Line 2565 in cd27403
|
What is the aim of lines around here? It looks like adjusting the pose of mesh based on scale factor. |
actually the most of the urdf.py in skrobto is copied from urdfpy. and the corresponding part is indeed unchanged from urdf I think the scaling by setting diag itself is fine. But these scale operation makes the rotational part invalid, so we must extract the R But I tihnk we can just modify the implementation so that applying the scaling factor to only the translation part of the pose. then keep the rotation matrix as original. @sktometometo |
When using a urdf like below.
Creation of UnionSDF fails like below.
The text was updated successfully, but these errors were encountered: