How to import robot to workspace
이전 댓글 표시
I modelled a manipulator in solidworks and exported to (.xml) file , now i need to work in inverse kinematics designer with the same robot. How do i import this robot to my workspace .
채택된 답변
추가 답변 (1개)
Shantanu Dixit
2025년 3월 24일
편집: Shantanu Dixit
2025년 3월 24일
0 개 추천
Hi Kannan,
You can import the manipulator into MATLAB's Inverse Kinematics Designer app by following the below steps:
- Import the robot model into MATLAB using 'importrobot': https://www.mathworks.com/help/robotics/ref/importrobot.html This function accepts XML files of the format 'URDF', 'XML Macros', 'SDF' and imports the robot returning a 'rigidBodyTree' object in MATLAB.
- Launch the Inverse Kinematics Designer app: You can open the application through the terminal with the command 'inverseKinematicsDesigner'or alternately by navigating to : Apps > Robotics and Autonomous Systems > Inverse Kinematics Designer in the MATLAB toolstrip. https://www.mathworks.com/help/robotics/ref/inversekinematicsdesigner-app.html
- Loading the robot model into the app: In the Inverse Kinematics Designer app, you can click on "New Session". In the dialog box, select "Load from workspace" and choose your imported 'rigidBodyTree' object (robot).
Hope this helps!
카테고리
도움말 센터 및 File Exchange에서 Manipulator Modeling에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!