Importing Robot Model in MATLAB

15 次查看(过去 30 天)
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 ?

采纳的回答

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