资源简介
机器人轨迹规划,运动学代码,matlab建模仿真。
代码片段和文件信息
% This is PUMA3d.M a 3D Matlab Kinematic model of a Puma robot located
% in the robotics lab of Walla Walla University.
% The file uses CAD data converted to Matlab using cad2matdemo.m which
% is located on the Mathworks central file exchange.
%
% This file is still being developed for the latest version check the
% Mathworks central file exchange.
%
% Todo list:
% 1) optimize pumaANI lots of stuff in loop that needs help.
% 2) move x y and z position to end effecter not link 6 origin.
% 3) Toggle kinematics buttons on/off with inverse kinematics button.
% 4) Make this work with real time inverse kinematics.
% 5) Make the track on and off option better.
% 6) add other things that makes this program fun.
% 7) check for noplots and nogos
% 8) add some better “demos“ for the button
% 9) Fix problem of more than one robot window.
%
function puma3d
% GUI kinematic demo for the Puma Robot.
% Robot geometry uses the CAD2MATDEMO code in the Mathworks file exchange
%
%%
loaddata
InitHome
%
% Create the push buttons: pos is: [left bottom width height]
demo = uicontrol(fig_1‘String‘‘Demo‘‘callback‘@demo_button_press...
‘Position‘[20 5 60 20]);
rnd_demo = uicontrol(fig_1‘String‘‘Random Move‘‘callback‘@rnd_demo_button_press...
‘Position‘[100 5 80 20]);
clr_trail = uicontrol(fig_1‘String‘‘Clr Trail‘‘callback‘@clr_trail_button_press...
‘Position‘[200 5 60 20]);
%
home = uicontrol(fig_1‘String‘‘Home‘‘callback‘@home_button_press...
‘Position‘[280 5 70 20]);
%
% Kinematics Panel
%
K_p = uipanel(fig_1...
‘units‘‘pixels‘...
‘Position‘[20 45 265 200]...
‘title‘‘Kinematics‘‘FontSize‘11);
%
% Angle Range Default Name
% Theta 1: 320 (-160 to 160) 90 Waist Joint
% Theta 2: 220 (-110 to 110) -90 Shoulder Joint
% Theta 3: 270 (-135 to 135) -90 Elbow Joint
% Theta 4: 532 (-266 to 266) 0 Wrist Roll
% Theta 5: 200 (-100 to 100) 0 Wrist Bend
% Theta 6: 532 (-266 to 266) 0 Wrist Swivel
t1_home = 90; % offset to define the “home“ position as UP.
t2_home = -90;
t3_home = -90;
LD = 105; % Left used to set the GUI.
HT = 18; % Height
BT = 156; % Bottom
%% GUI buttons for Theta 1. pos is: [left bottom width height]
t1_slider = uicontrol(K_p‘style‘‘slider‘...
‘Max‘160‘Min‘-160‘Value‘0...
‘SliderStep‘[0.05 0.2]...
‘callback‘@t1_slider_button_press...
‘Position‘[LD BT 120 HT]);
t1_min = uicontrol(K_p‘style‘‘text‘...
‘String‘‘-160‘...
‘Position‘[LD-30 BT+1 25 HT-4]); % L from bottom W H
t1_max = uicontrol(K_p‘style‘‘text‘...
‘String‘‘+160‘...
‘Position‘[LD+125 BT+1 25 HT-4]); % L B W H
t1_text = uibutton(K_p‘style‘‘text‘... % Nice program Doug. Need this
‘String‘‘\theta_1‘... % due to no TeX in uicontrols.
‘Position‘[LD-100 BT 20 HT]); %
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2014-12-03 19:42 六自由度puma机器人matlab仿真\39143994puma-robot-simulation\
目录 0 2011-04-16 12:23 六自由度puma机器人matlab仿真\39143994puma-robot-simulation\六自由度puma机器人仿真\
文件 44774 2007-05-07 00:47 六自由度puma机器人matlab仿真\39143994puma-robot-simulation\六自由度puma机器人仿真\li
文件 42908 2007-05-08 23:37 六自由度puma机器人matlab仿真\39143994puma-robot-simulation\六自由度puma机器人仿真\puma3d.m
目录 0 2020-04-10 15:55 六自由度puma机器人matlab仿真\
- 上一篇:multisim 一小时时间计时器
- 下一篇:电动汽车控制策略simuli
nk模型
相关资源
-
电动汽车控制策略simuli
nk模型 -
基于matlab/simuli
nk的光伏电池仿真模 -
继电保护的simuli
nk搭建模型及保护的 - matlab画电磁场图,matlab小程序从仿真
- 模型预测控制MPC模型预测电流控制,
- 基于LSSVM的分类器,用于iris的三种分
- 电力电子课程设计,三相整流matlab仿
- lqr轨迹跟踪的matlab编程
- 虚拟同步机
- 基于matlab的单相半波可控整流电路的
- MATLAB——使用rectangle命令创建二维矩
- MATLAB——Radon变换
- MATLAB——遗传算法路径规划
- MATLAB——完整m文件
- MATLAB——基于PSO工具箱的函数寻优算
- SVD算法的MATLAB代码
- 基于Pluto点对点通信系统设计matlab源码
- PSO-SVM 粒子算法优化支持向量机MATLA
- NSGA-III算法-matlab版本-写满了中文注释
- 图像处理/图像分割实验/(自动)阈值
- 基于matlab的特征匹配的英文印刷字符
- 霍夫曼Huffman编码译码GUI界面设计.ra
- 双PWM调速系统的仿真模型.rar
- matlab读取二维DXF文件
- matlab读取STL文件
- 基于matlab的应用图像处理进行癌细胞
- 人工免疫算法寻优最大值
- MATLAB求解SEIR模型.zip
- MATLAB中的harq重传
- matlab解决旅行者问题的三种算法遗传
评论
共有 条评论