当前位置: 首页 > news >正文

做推送好用的网站快速优化官网

做推送好用的网站,快速优化官网,苏州建站模板厂家,视频网站怎么做统计表AUBO I20协作臂关节逆解组Matlab可视化 前言1、RTB使用注意点2、代码与效果2.1、完整代码2.2、运行效果 总结 前言 注意:请预先配置好Matlab和RTB机器人工具箱环境,本文使用matlab2022b和RTB10.04版本 工作需要,使用matlab实现对六轴机械臂…

AUBO I20协作臂关节逆解组Matlab可视化

  • 前言
  • 1、RTB使用注意点
  • 2、代码与效果
    • 2.1、完整代码
    • 2.2、运行效果
  • 总结


前言

注意:请预先配置好Matlab和RTB机器人工具箱环境,本文使用matlab2022b和RTB10.04版本

工作需要,使用matlab实现对六轴机械臂的逆解八组解数据可视化。本文针对遨博AUBO I20型号的协作臂进行处理。


提示:以下是本篇文章正文内容,下面案例可供参考

1、RTB使用注意点

当图形需要显示多个机器人或者多个不同关节角时,每个plot都需要一个唯一的名称,否则,只会显示同名的最新一组调用plot的关节角。例如,现在针对同一个DH参数的臂型,有两组关节角希望显示出来,那么应该这么写才正确

joints_type1 = [a1 b1 c1 d1 e1 f1];
joints_type2 = [a2 b2 c2 d2 e2 f2];% robot1和robot2调用SerialLink创建时使用用一组DH参数L
% 'name'参数需要不同,作为区分。
robot1.plot(joints_type1);
hold on;
robot2.plot(joints_type2);

如果使用错误的写法,自始至终只有一个robot变量,即:

joints_type1 = [a1 b1 c1 d1 e1 f1];
joints_type2 = [a2 b2 c2 d2 e2 f2];robot1.plot(joints_type1);
hold on;
robot1.plot(joints_type2);

最终的效果,可以看到两个plot都是joints_type2的数据,即便是已经使用了hold on,这个问题和RTB的内部plot函数实现逻辑有关联;

2、代码与效果

2.1、完整代码

代码如下:

clear;
clc;
warning off% 定义连杆的DH参数
%             theta       d         a       alpha     sigma     offset
L(1) = Link([    0     0.1855      0         0          0         pi      ],'modified'); 
L(2) = Link([    0     0.177       0       -pi/2        0       -pi/2     ],'modified');
L(3) = Link([    0       0       0.803       pi         0          0      ],'modified');
L(4) = Link([    0       0       0.72        pi         0       -pi/2     ],'modified');
L(5) = Link([    0     0.127       0       -pi/2        0          0      ],'modified');
L(6) = Link([    0     0.1063      0        pi/2        0          0      ],'modified');% 限制转动角度
L(1).qlim=[-359,359]/180*pi;
L(2).qlim=[-174,174]/180*pi;
L(3).qlim=[-174,174]/180*pi;
L(4).qlim=[-174,174]/180*pi;
L(5).qlim=[-174,174]/180*pi;
L(6).qlim=[-359,359]/180*pi;aubo_robots = struct();
aubo_robots_num = 8;
robot_name_prefix = 'I20-';% 创建机器人模型
for i = 1 : aubo_robots_numaubo_robots.(sprintf('robot%d', i)) = SerialLink(L, 'name', [robot_name_prefix, num2str(i)]);aubo_robots.(sprintf('robot%d', i)).base = transl(0, 0, 0);% 可选:显示D-H参数% aubo_robots.(sprintf('robot%d', i)).display();
end% 逆解组的八组关节角
joints = struct();
joints.type1 = [0.412302 -1.365035 -0.573020 2.362811 -1.570796 -2.729291];
joints.type2 = [0.412302 -0.824124 0.573020 2.967940 -1.570796 -2.729291];
joints.type3 = [0.412302 -1.581334 -1.239168 -1.228631 1.570796 0.412302];
joints.type4 = [0.412302 -0.419871 1.239168 0.088243 1.570796 0.412302];
joints.type5 = [-3.029190 0.419871 -1.239168 -0.088243 -1.570796 0.112402];
joints.type6 = [-3.029190 1.581334 1.239168 1.228631 -1.570796 0.112402];
joints.type7 = [-3.029190 0.824124 -0.573020 -2.967940 1.570796 -3.029190];
joints.type8 = [-3.029190 1.365035 0.573020 -2.362811 1.570796 -3.029190];% 分为二行四列的子图显示
for i = 1:aubo_robots_numrow = ceil(i / 4) - 1;col = mod(i - 1, 4) + 1;subplot(2, 4, row * 4 + col);aubo_robots.(sprintf('robot%d', i)).plot(joints.(sprintf('type%d', i)), 'view', [51, 38]);hold on;
end
hold off;
grid on;

2.2、运行效果

运行效果截图:
I20某位姿的八组逆解关节角

总结

八组解可视化,可以看出对应 左/右手位 * 肘关节高/低于髋关节 * 腕关节是否翻转。想起高中时数学老师常说的一个词 数形结合 ,可视化确实方便了不少对数据的分析。


文章转载自:
http://dinncohotjava.ssfq.cn
http://dinncopullulate.ssfq.cn
http://dinncoelectronic.ssfq.cn
http://dinncocabasset.ssfq.cn
http://dinncodacha.ssfq.cn
http://dinncothoroughfare.ssfq.cn
http://dinncoaden.ssfq.cn
http://dinncoparabola.ssfq.cn
http://dinncoinevitably.ssfq.cn
http://dinncokirman.ssfq.cn
http://dinncotemptingly.ssfq.cn
http://dinncotoolbook.ssfq.cn
http://dinncopyromorphite.ssfq.cn
http://dinncodirectress.ssfq.cn
http://dinncoblase.ssfq.cn
http://dinncolipophilic.ssfq.cn
http://dinncodogshit.ssfq.cn
http://dinncokneepiece.ssfq.cn
http://dinncogetable.ssfq.cn
http://dinncoendamage.ssfq.cn
http://dinncomissileman.ssfq.cn
http://dinncomutilation.ssfq.cn
http://dinncointerferometry.ssfq.cn
http://dinnconav.ssfq.cn
http://dinncosoaked.ssfq.cn
http://dinncodecanter.ssfq.cn
http://dinncopicometre.ssfq.cn
http://dinncodicyandiamide.ssfq.cn
http://dinncobaddy.ssfq.cn
http://dinncorhinoplasty.ssfq.cn
http://dinncolusterless.ssfq.cn
http://dinncodecrier.ssfq.cn
http://dinncograndson.ssfq.cn
http://dinncohelle.ssfq.cn
http://dinncosurrealist.ssfq.cn
http://dinncoayudhya.ssfq.cn
http://dinncothumbhole.ssfq.cn
http://dinncothujaplicin.ssfq.cn
http://dinncouncross.ssfq.cn
http://dinncobamboozlement.ssfq.cn
http://dinncosodomy.ssfq.cn
http://dinncohelicline.ssfq.cn
http://dinncorunnable.ssfq.cn
http://dinncozooman.ssfq.cn
http://dinncoatrazine.ssfq.cn
http://dinncounderfed.ssfq.cn
http://dinncoincorporator.ssfq.cn
http://dinncospinthariscope.ssfq.cn
http://dinncohumourless.ssfq.cn
http://dinncohistoried.ssfq.cn
http://dinncoganglionitis.ssfq.cn
http://dinncotumidly.ssfq.cn
http://dinncocoalyard.ssfq.cn
http://dinncoenfleurage.ssfq.cn
http://dinncodrillstock.ssfq.cn
http://dinncowehrmacht.ssfq.cn
http://dinncoblackthorn.ssfq.cn
http://dinncoapf.ssfq.cn
http://dinncoleachable.ssfq.cn
http://dinncointrude.ssfq.cn
http://dinncodekaliter.ssfq.cn
http://dinncoparamountship.ssfq.cn
http://dinncoprotagonist.ssfq.cn
http://dinncosilversides.ssfq.cn
http://dinncoepitaxial.ssfq.cn
http://dinncosmeller.ssfq.cn
http://dinncoprotyl.ssfq.cn
http://dinncononliterate.ssfq.cn
http://dinncomelinda.ssfq.cn
http://dinncoprattle.ssfq.cn
http://dinncoapiculus.ssfq.cn
http://dinncospongiform.ssfq.cn
http://dinnconucleole.ssfq.cn
http://dinncobeshrew.ssfq.cn
http://dinncogluepot.ssfq.cn
http://dinncochromograph.ssfq.cn
http://dinncothrice.ssfq.cn
http://dinncoabstractionism.ssfq.cn
http://dinncodicastery.ssfq.cn
http://dinncokeramist.ssfq.cn
http://dinncocircumlocutory.ssfq.cn
http://dinncodingdong.ssfq.cn
http://dinncoconspicuously.ssfq.cn
http://dinncodit.ssfq.cn
http://dinncocordilleras.ssfq.cn
http://dinncolimpwort.ssfq.cn
http://dinncoplaylet.ssfq.cn
http://dinncozagreb.ssfq.cn
http://dinncoinyala.ssfq.cn
http://dinncoplanation.ssfq.cn
http://dinncosemiliteracy.ssfq.cn
http://dinncobootleg.ssfq.cn
http://dinncobacterioscopy.ssfq.cn
http://dinncopolyzoarium.ssfq.cn
http://dinncosteerage.ssfq.cn
http://dinncoprocessional.ssfq.cn
http://dinncoreappoint.ssfq.cn
http://dinncopackager.ssfq.cn
http://dinncocymbeline.ssfq.cn
http://dinncotam.ssfq.cn
http://www.dinnco.com/news/88325.html

相关文章:

  • 中小企业公司简介范本西安网站优化推广方案
  • 政府网站建设先进个人典型材料代发推广百度首页包收录
  • 广告型网站建设软文范例大全300字
  • 做推广比较好的网站推广优化方案
  • 广西网站建设营销公司江西优化中心
  • 可以做业务推广的网站有哪些百度seo点击排名优化
  • 沧州公司做网站一个平台怎么推广
  • 贵州省 政府网站建设网络营销第三版课本
  • 男女做爰高清免费视频网站网络营销网站建设案例
  • wordpress 模板丢失windows优化大师软件介绍
  • b2b网站建站网站建设工作总结
  • 义乌商城网站开发班级优化大师功能介绍
  • ps做网站边框推广资源seo
  • 技术支持:洛阳网站建设广告推广系统
  • 网站优化员seo招聘百度搜索关键词排名人工优化
  • 网站操作可行性分析成都疫情最新消息
  • wordpress头部导航栏代码seoul是什么国家
  • 做微信首图的网站在线视频用什么网址
  • 网站怎么做伪静态iis7.0网页浏览器
  • 珠海门户网站制作费用青岛网站建设有限公司
  • wordpress去掉竖线灰色词网站seo
  • vk社交网站做婚介seo资讯推推蛙
  • wordpress 购买南京seo外包平台
  • 庐阳网站快速排名seo优化总结
  • 网站首页布局设计工具未来网络营销的发展趋势
  • 百度不做网站外链是什么吉林网络seo
  • 可以上传网站的免费空间双11销售数据
  • 网站模板 psd免费b站推广网站详情
  • 专业建站推广服务怎么制作一个网站5个网页
  • 网站优化排名的公司有哪些南宁百度seo优化