-
Notifications
You must be signed in to change notification settings - Fork 23
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
SDFormat URDF to SDF converter silently set to identity sensor pose if sensor is attached to lumped link #140
Comments
In the model generated by this repo, this affects:
|
Getting a fix in sdformat properly deployed will take time. For a faster fix, the best option to be seems to just to avoid to have the peculiar structure for which the The only reason we ever used the fake
However, iDynTree has migrated away from using anything related to KDL since 2015, and KDL dynamics does not support floating base dynamics, so getting on the model generation side to basically workaround a decade old bug (ros/kdl_parser#27) is not a great tradeoff. |
…ay around This permits to avoid the Gazebo bug described in #140 . Furthermore, this will make sure that even after fixed joint lumping the link in Classic Gazebo will be called "root_link".
…ay around This permits to avoid the Gazebo bug described in #140 . Furthermore, this will make sure that even after fixed joint lumping the link in Classic Gazebo will be called "root_link".
We worked around the issue in #142, and the underlying issue (gazebosim/sdformat#378) was fixed in sdformat in gazebosim/sdformat#1114 . While the fix is not available in Gazebo 11 apt binary packages in Ubuntu 20.04/22.04 that many user use, I think that given that we worked around this issue in our models and that upstream is fixed, we can just close this issue. |
The SDFormat URDF to SDF converter if fixed joints are present in the URDF, fuses the child link with its parent, transferring all the information from the lumped link to the remaining link. However, it seems that due to a bug the sensor pose are not correctly propagated.
The issue is clear with this example (done with Gazebo 11.1). Let's say that we have two URDF files:
model_sensor_on_root_link.urdf
:model_sensor_on_base_link.urdf
:The only difference between the two files is the line
<gazebo reference="root_link">
and<gazebo reference="base_link">
in another. The URDF files can be converted to SDF with the following command:that results in the following output:
model_sensor_on_root_link.urdf
:model_sensor_on_base_link.sdf
:The difference between this two files:
So it is possible to see that in the
model_sensor_on_base_link.sdf
case works fine, while in the case ofmodel_sensor_on_root_link.sdf
the pose of the sensor is silently set to the identity.The text was updated successfully, but these errors were encountered: