importrobot stopped adding visual shapes (in stl format) (2022a)

2 views (last 30 days)
I have a simscape model that I work with, I could import the robot from this file along with the visuals earlier. But recently the visual shapes don't get added. The shapes are in stl format and in the same path as the simscape file. I upgraded to 2022a recently and I'm not sure if that's when it stopped adding the visuals.

Answers (1)

Karsh Tharyani
Karsh Tharyani on 26 Oct 2023
Edited: Karsh Tharyani on 26 Oct 2023
Visual mesh data for URDF files shipped in MATLAB now ships in the Robotics System Toolbox Robot Library Data support package. Please download and install this package and you should be able to view those STL files corresponding to the meshes. Alternatively, you can use loadrobot to construct the rigid body tree object.
Karsh

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!