put environment file from solidworks in simscape
3 views (last 30 days)
Show older comments
I make an environment file for robotic simulation with solidworks
it consists of ground(wide enough), desk, chair, and some others
all stuffs must be fixed and not move.
I want to put them in the simscape as an environment file
after I put this environment file, I must put 2 robot files(one is UR5, and other is self design robot arm in solidworks)
how can I put an environment file as an environment file in matlab simulation?
plz answer.
0 Comments
Answers (1)
Steve Miller
on 19 Nov 2022
You can define your environment using the File Solid block, where you can reference your files directly.
The robots can be imported using smimport() if you have used the Simscape Multibody Link plug-in for SolidWorks. If your robots are defined using URDF files, you can import them directly using smimport().
Many examples for URDF import (including UR5) are available in this File Exchange submission:
Download the files and follow the instructions.
--Steve
0 Comments
See Also
Categories
Find more on Simscape Multibody in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!