Load UR5 robot with Robotics System Toolbox

17 ビュー (過去 30 日間)
Søren Holm-Petersen
Søren Holm-Petersen 2020 年 3 月 19 日
コメント済み: AC 2022 年 3 月 12 日
Hi
I am trying to do a robot simulation of a Universal Robot 5 (UR5). I was pleasantly surprised when reading up on how to load a robot, that the toolbox supposedly already has a UR5 model called "universalUR5" (https://www.mathworks.com/help/robotics/ref/loadrobot.html).
However I cannot load it doing:
>> loadrobot("universalUR5")
Error using loadrobot (line 46)
Expected robotName to match one of these values:
'abbIrb120', 'abbIrb120T', 'kinovaGen3', 'kinovaJacoJ2N6S200', 'kinovaJacoJ2N6S300', 'kinovaJacoJ2N7S300',
'kinovaJacoJ2S6S300', 'kinovaJacoJ2S7S300', 'kinovaJacoTwoArmExample', 'kinovaMicoM1N4S200', 'kinovaMicoM1N6S200',
'kinovaMicoM1N6S300', 'rethinkBaxter', 'willowgaragePR2'
If I look in my MATLAB installation folder under "MATLAB/R2019b/toolbox/robotics/robotmanip/data/roboturdf" - I also see that I only have urdf files for the robots listed above.
Does anybody know if the UniversalUR5 urdf and meshes can be downloaded from somewhere and used in matlab?
  1 件のコメント
Mingfeng Wang
Mingfeng Wang 2022 年 1 月 13 日
Now you can get the UR5 in the latest 'Robotics Systems toolbox'

サインインしてコメントする。

採用された回答

Ameer Hamza
Ameer Hamza 2020 年 3 月 19 日
MATLAB does not natively provide the model for the UR5 robot. However, you can find the files from this GitHub repository: https://github.com/ros-industrial/robot_movement_interface/tree/master/dependencies. Although you can download the complete package, you may have a problem in configuring the paths to make it work with MATLAB. I have modified the urdf file to point it local directory to search for meshes and placed the meshes in the same directory. You can download this zip file and place it on MATLAB's path. The following code shows an example of how to load the robot and display it on the axes
robot = importrobot('ur5_robot.urdf');
robot.show
  4 件のコメント
Ameer Hamza
Ameer Hamza 2020 年 5 月 28 日
Sungsoo, you will need to find its 3D model and urdf file. It is not natively provided from MATLAB, so you will need to see if it is available somewhere else.
AC
AC 2022 年 3 月 12 日
Dear Sir, I downloaded "https://www.mathworks.com/matlabcentral/fileexchange/98714-robotics-system-toolbox-robot-library-data" and it sasy This support package provides source mesh files to visualize and simulate robots in the Robot Library. But i coudlnt find mesh files after downloaded it.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeRobotics についてさらに検索

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by