MATLAB: Importing Robot Model in MATLAB

importrobotRobotics System Toolboxsimulation

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 ?

Best Answer

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
Related Question