Importing Robot Model in MATLAB

15 ビュー (過去 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 Center および File ExchangeManipulator Modeling についてさらに検索

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by