Illustration of robot kinematics and D-H parameters. Contain live script to visualize the robot configurations.
Require Matlab2019a or above
Run Visualization.mlx to visualize robot configurations.
Currently contain the following CAD models:
- FANUC LRMate200iD
- FANUC LRMate200iD/7L
- FANUC M16iB
Capsule models for LRMate200iD and M16iB are also provided.
(Update 2020.6.22) Matlab now supports a library of robot models https://www.mathworks.com/help/robotics/ref/loadrobot.html
Suppose we want to add a new robot called myBot
, we need to:
- Add a new case
myBot
inrobotproperty.m
(need to specify number of links, D-H parameters, and base) - Add
.mat
mesh model(s) ofmyBot
in the folderfigure
-
If the mesh model is generated from a CAD model, name it
myBot.mat
. *To generate.mat
mesh model from.stl
file, 1) getstlread
from link, 2) modify and runRobotCADFromSTL
.If the model doesn't work as expected. There mainly two possibl reasons: 1. There are multiple definitions of D-H parameter, we are using this one; 2. Make sure the reference frame located at the former joint for each link rather than the latter joint. This will lead to different D-H parameters.
-
If the mesh model is generated from a capsule model, name it
myBotCapsules.mat
.