Open ajaygunalan opened 5 years ago
Hi @ajaygunalan , thanks for opening the issue and sharing a SimscapeMultibodyImportXML
import example file. I compared it with an example of PhysicalModelingXMLFile
file that we support (see https://github.com/robotology/simmechanics-to-urdf/blob/master/test/LEGS_MECHANISM.xml) and unfortunatly the differences are not only superficial, for example just the name of some tags, but more in depth. Perhaps there are some parallelism (do Subsystem
in PhysicalModelingXMLFile
correspond to Assembly
in SimscapeMultibodyImportXML
?) but a more throughout analysis is probably required before attemping to port the parser to also support SimscapeMultibodyImportXML
.
In the meanwhile, if you are stuck with Matlab 2019b, I would give it a try to install the Simscape Multibody 4.8 available at https://mathworks.com/campaigns/offers/download_smlink.html anadd to install it with Matlab 2019b ? I never tried this, but perhaps it is possible to do so.
Hi @traversaro. Actually, I did try to install SimMechanics 4.x on MatLab 2019. But, It wasn't possible. It seems there is a link between the MatLab version and the SimMechanics version.
Kindly see the below image. Will try to get an older version of MatLab.
For reference, it seems that the first version that does not support exporting first gen files is R2017b, see https://mathworks.com/help/physmod/smlink/release-notes.html , so to use the script you need a Matlab R2017a or earlier.
Thanks for the input on the version. Hopefully, I will try to get an older version, maybe R2016a.
Hi @traversaro,
I'm stuck with the same problem with Inventor 2019 and Matlab 2020. I have no opportunity to get an older Inventor version than 2018. Is there any option to generate PhysicalModelingXMLFile
from a newer version of a CAD program or to convert SimscapeMultibodyImportXML
to PhysicalModelingXMLFile
? Otherwise, simmechanics-to-urdf would not be usable anymore?
Is there any option to generate
PhysicalModelingXMLFile
from a newer version of a CAD program or to convertSimscapeMultibodyImportXML
toPhysicalModelingXMLFile
?
Not that I am aware.
Otherwise, simmechanics-to-urdf would not be usable anymore?
As any open source project, simmechanics-to-urdf
only provides the functionality that are contributed for free by volunteers. If you or someone else are interested in contributing support SimscapeMultibodyImportXML
to URDF functionality in simmechanics-to-urdf
or in a new project, I will be happy to provide you support and advice, but unless someone contributes this work, simmechanics-to-urdf
will continue to just support the old and deprecated PhysicalModelingXMLFile
format.
cc @Nicogene
When I try to generate the URDF by running:
I get the following error:
I think it is due to the XML syntax difference between the latest (2019b) and the older version.
Is it possible to modify the parser to work with the Matlab 2019b (Simscape Multibody 6.2) ?
The following file (MAIN.xml) is an XML of a simple (creo 4.0) model generated by MatLab 2019b .