Open HosameldinMohamed opened 11 months ago
I tried to provide the quickest possible solution in https://github.com/robotology/simmechanics-to-urdf/pull/59, but I did not checked even if the code runs. @HosameldinMohamed can you run the code and check if it works? Thanks!
If I put in the YAML file the following lines:
Then:
And the values of
l_upper_arm
andr_upper_arm
originally in the XML file are1.6756
and1.67729
, respectively.The result in the URDF file is:
l_upper_arm
:1.67729
r_upper_arm
:1.8703
So it seems that the value of
l_upper_arm
got the original mass ofr_upper_arm
in the XML file.Is that a desired behavior to mirror also the mass? If yes, then maybe it's better to mirror the new value in
assignedMasses
.