Importing Robot Model in MATLAB

조회 수: 11 (최근 30일)
Riddhiman Laha
Riddhiman Laha 2020년 5월 7일
댓글: Cam Salzberger 2022년 1월 31일
I am trying to import the Franka Emika Panda robot in matlab for some simulation. However when I use robot = importrobot('frankaEmikaPanda'); it complains about invalid input argument. Can someone please let me know if it is possible or I have to design it myself ?
  댓글 수: 1
Rik
Rik 2020년 5월 8일
[release information copied from duplicate]

댓글을 달려면 로그인하십시오.

채택된 답변

Cam Salzberger
Cam Salzberger 2020년 5월 8일
Hello Riddhiman,
The importrobot function is looking for the input argument to be either a URDF file or the URDF-formatted text. I believe the file extension is required. Ensure that there is a "frankaEmikaPanda.urdf" file in your current directory, and try:
robot = importrobot('frankaEmikaPanda.urdf');
-Cam
  댓글 수: 3
zeynep ozkayikci
zeynep ozkayikci 2022년 1월 31일
편집: zeynep ozkayikci 2022년 1월 31일
hi, ı can't find .urdf file you mention. How can I find could you help ?
Cam Salzberger
Cam Salzberger 2022년 1월 31일
You will need the Robotics System Toolbox with a release that ships that model. Check the importrobot documentation page for your MATLAB release to see if that model is listed. For example, the current release (R2021b) shows it here.
-Cam

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Manipulator Modeling에 대해 자세히 알아보기

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by