Simscape multibody is not displayed when using show() function

4 visualizzazioni (ultimi 30 giorni)
I am working on a project where I have to build a UR5e robot system with Robotique Hand-e gripper. Since the Hand-e gripper is not available in the library, I downloaded the CAD model and converted it into STL format (as a single body, since I just need it for representation). I created a simscape multibody and then the model to the UR5e robot using addSubTree() function.
When i check the rigidBodyTree using showdetails() function the gripper object is added correctly (see image- Body 11). But when I try to visualize the same using show() function the gripper body is not displayed. I can view the model Simscape mechanics explorer without any issues. What am I doing wrong?
  2 Commenti
Yash
Yash il 19 Ago 2024
Hi Srinivasan,
Are you encountering any error or warning messages while trying to use the "show()" function?
Also, please share the STL file and the steps you are following, so that we can resolve the issue better.
Srinivasan
Srinivasan il 22 Ago 2024
Hey! Thanks for answering.
I resolved the issue myself. There was a scale mismatch between the STL file and import function in MATLAB. STL file was in mm and Matlab was in m causing the error. Issue was resolved after I modified the scale.

Accedi per commentare.

Risposte (0)

Categorie

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

Prodotti


Release

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by