Demo entry 6625578

creat

   

Submitted by anonymous on Jun 21, 2017 at 11:23
Language: Matlab. Code size: 383 Bytes.

%% 定义个连杆D-H参数
L(1) = Link('d', 0, 'a', 0.0978, 'alpha', pi/2)L(2) = Link('d', 0, 'a', 1.03, 'alpha', 0); 
L(3) = Link('d', 0, 'a', 0.965, 'alpha', 0);  
L(4) = Link('d', 0, 'a', 0.31, 'alpha', pi/2);  
L(5) = Link('d', 1.35, 'a', 0, 'alpha', 0);  
%% 创建机器人对象  
bot = SerialLink(L, 'name', 'By Alone');  
%% 绘制机械臂模型(SerialLink类函数)
bot.plot([pi/4 pi/6 pi/6 pi/6 pi/4]);  

This snippet took 0.01 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).