I imported my own stl model to Robotics Toolbox, but got an error while plot3d

75 views
Skip to first unread message

Yiivann Dõ

unread,
Mar 17, 2020, 7:39:31 PM3/17/20
to Robotics & Machine Vision Toolboxes
Hi, I try to import my own STL file into Robotics Toolbox and use SerialLink.plot3d to display it.

But I have some problems in the display.

The display only sees the bottom perspective. And when I try to rotate the view, it becomes super small, too small to see at all.
%Define Links%
%        theta  d  a  alpha
L1 = Link([0   138 0  -pi/2]);
L2 = Link([0    0 135   0]);
L3 = Link([0    0 147   0]);
L = [L1 L2 L3];
%Creat SerialLink%
dobot = SerialLink(L,'name','Dobot');

%dobot.plot([0 0 0]);
dobot.plot3d([0 0 0], 'path', 'D:\Sevens\Desktop\3DOF\stl_file');


plot.png

when I plot3d


view.png

rotate the view

DH.png

DH parameters

The axes and origin of my stl model are consistent with DH



Reply all
Reply to author
Forward
0 new messages