Azzera filtri
Azzera filtri

Importing URDF file into Simulink

7 visualizzazioni (ultimi 30 giorni)
Na
Na il 11 Ago 2023
Risposto: Suman il 25 Lug 2024 alle 9:08
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.

Risposte (1)

Suman
Suman il 25 Lug 2024 alle 9:08
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.

Categorie

Scopri di più su Model Import in Help Center e File Exchange

Tag

Prodotti


Release

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by