Simscape multibody is not displayed when using show() function

8 visualizaciones (últimos 30 días)
Srinivasan
Srinivasan el 1 de Ag. de 2024
Comentada: Srinivasan el 22 de Ag. de 2024
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 comentarios
Yash
Yash el 19 de Ag. de 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 el 22 de Ag. de 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.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Model Import en Help Center y File Exchange.

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