Design Position Controlled Manipulator Using Simscape error

9 ビュー (過去 30 日間)
Choonghan
Choonghan 2025 年 2 月 25 日
コメント済み: Choonghan 2025 年 3 月 10 日
Dear MATLAB users.
Hello.
I ran 'Design Position Controlled Manipulator Using Simscape'(https://www.mathworks.com/help/robotics/ug/design-position-controlled-manipulator-using-simscape.html)
At 'Simulate Model', unfortunately, the simscape returns errors as below.
For your information, I moved URDF and right file to the workspace.
Thank you
Choonghan Lee
['ManipulatorPositionControl']: The following errors were found in the model ManipulatorPositionControl.
Caused by:
['ManipulatorPositionControl/Robot/Bracelet_Link/Visual']: The parameter Geometry/File Name is a file that does not exist. Resolve this issue in order to simulate the model.
['ManipulatorPositionControl/Robot/ForeArm_Link/Visual']: The parameter Geometry/File Name is a file that does not exist. Resolve this issue in order to simulate the model.
['ManipulatorPositionControl/Robot/HalfArm1_Link/Visual']: The parameter Geometry/File Name is a file that does not exist. Resolve this issue in order to simulate the model.
['ManipulatorPositionControl/Robot/HalfArm2_Link/Visual']: The parameter Geometry/File Name is a file that does not exist. Resolve this issue in order to simulate the model.
['ManipulatorPositionControl/Robot/Shoulder_Link/Visual']: The parameter Geometry/File Name is a file that does not exist. Resolve this issue in order to simulate the model.
['ManipulatorPositionControl/Robot/Wrist1_Link/Visual']: The parameter Geometry/File Name is a file that does not exist. Resolve this issue in order to simulate the model.
['ManipulatorPositionControl/Robot/Wrist2_Link/Visual']: The parameter Geometry/File Name is a file that does not exist. Resolve this issue in order to simulate the model.
['ManipulatorPositionControl/Robot/base_link/Visual']: The parameter Geometry/File Name is a file that does not exist. Resolve this issue in order to simulate the model.
Component:Simulink | Category:Block diagram error

採用された回答

Hannes Daepp
Hannes Daepp 2025 年 3 月 5 日
編集済み: Hannes Daepp 2025 年 3 月 5 日
Hi Choonghan,
This behavior is expected. You must follow the instructions of the sections in the example, which ultimately instruct the reader to replace a the Robot subsystem in ManipulatorPositionControl.slx with the subsystem from ManipulatorPositionControl_Subsystem.slx, as detailed in the Simulate Model section of the example. Once you do this, the model will run as expected.
Note that in order for this to work, the Robotics System Toolbox Robot Library Data must be installed. Not having this support package installed will also cause the observed error, as the Robotics System Toolbox only ships with rigidbodytree meshes (i.e. for MATLAB visualization and collision-checking). The source meshes (STLs and DAEs) are supplied in this support package and are needed for Simscape visualization.
Download the SPKG and install it (using the Add-On Explorer, or from the link above). Then the example should run as-is.
Cheers,
Hannes
  1 件のコメント
Choonghan
Choonghan 2025 年 3 月 10 日
Dear Hannes
I appriciate your kind answer.
Robotics toolbox was already installed since I installed MATLAB as below
Also, I cannot find how to replace the subsystem in the tutorial.
Can you help me for this?
Thank you
Choonghan Lee

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeModel Statistics についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by