Design Position Controlled Manipulator Using Simscape error

조회 수: 20 (최근 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 CenterFile Exchange에서 Model Statistics에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by