Importing URDF file into Simulink

6 visualizaciones (últimos 30 días)
Na
Na el 11 de Ag. de 2023
Respondida: Suman el 25 de Jul. de 2024
I am trying to import a Clearpath Husky model into simulink by running the following code;
smimport('clearpathhusky.urdf')
I was successful visualizing the blocks in simulink, but the robot itself cannot be visualized as some Visual blocks are undefined.
What can I do to show the Husky robot in Simulink?
Thank you in advance. I apologize if I am not making sense.

Respuestas (1)

Suman
Suman el 25 de Jul. de 2024
Here are some troubleshooting steps that you can try to resolve this issue:
  1. Check that the xml description in the udrf file only contains elements and attributes that are supported. You can see the supported elements and atrributes here. If this model contains any elements or attributes outside of the supported ones, it may not be properly visualized.
  2. Verify Mesh Files: If the URDF file references external mesh files (e.g., .stl, .dae), make sure these files are available and correctly referenced in the URDF. The paths should be correct relative to the location of the URDF file.

Categorías

Más información sobre Simulink Coder en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2023a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by