Clear Filters
Clear Filters

Importing URDF file into Simulink

7 views (last 30 days)
Na
Na on 11 Aug 2023
Answered: Suman on 25 Jul 2024 at 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.

Answers (1)

Suman
Suman on 25 Jul 2024 at 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.

Categories

Find more on Model Import in Help Center and File Exchange

Tags

Products


Release

R2023a

Community Treasure Hunt

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

Start Hunting!