Clear Filters
Clear Filters

Simscape multibody is not displayed when using show() function

59 views (last 30 days)
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 Comments
Yash
Yash on 19 Aug 2024 at 5:49
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 on 22 Aug 2024 at 7:07
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.

Sign in to comment.

Answers (0)

Products


Release

R2023a

Community Treasure Hunt

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

Start Hunting!