Importing Robot Model in MATLAB
10 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Riddhiman Laha
le 7 Mai 2020
Commenté : Cam Salzberger
le 31 Jan 2022
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 commentaire
Réponse acceptée
Cam Salzberger
le 8 Mai 2020
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 commentaires
zeynep ozkayikci
le 31 Jan 2022
Modifié(e) : zeynep ozkayikci
le 31 Jan 2022
hi, ı can't find .urdf file you mention. How can I find could you help ?
Cam Salzberger
le 31 Jan 2022
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
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Manipulator Modeling dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!