机械臂手眼标定-使用JAKA机械臂自动标定
你好,我是小智,通过上两节的我们已经知道怎么使用已经获取的坐标数据进行计算手眼位姿,以及怎么获取标记物在相机中的位姿了,这一节我们来讲一下怎么使用jaka的机械臂获取机械臂的位姿,以及如果使用我们的标定程序进行自动化的标定。
开源地址
github: https://github.com/aiotrobot/handeye-calib gitee: https://gitee.com/ohhuo/handeye-calib
#mermaid-svg-VAndWA0rlo2NEhSC .label{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);fill:#333;color:#333}#mermaid-svg-VAndWA0rlo2NEhSC .label text{fill:#333}#mermaid-svg-VAndWA0rlo2NEhSC .node rect,#mermaid-svg-VAndWA0rlo2NEhSC .node circle,#mermaid-svg-VAndWA0rlo2NEhSC .node ellipse,#mermaid-svg-VAndWA0rlo2NEhSC .node polygon,#mermaid-svg-VAndWA0rlo2NEhSC .node path{fill:#ECECFF;stroke:#9370db;stroke-width:1px}#mermaid-svg-VAndWA0rlo2NEhSC .node .label{text-align:center;fill:#333}#mermaid-svg-VAndWA0rlo2NEhSC .node.clickable{cursor:pointer}#mermaid-svg-VAndWA0rlo2NEhSC .arrowheadPath{fill:#333}#mermaid-svg-VAndWA0rlo2NEhSC .edgePath .path{stroke:#333;stroke-width:1.5px}#mermaid-svg-VAndWA0rlo2NEhSC .flowchart-link{stroke:#333;fill:none}#mermaid-svg-VAndWA0rlo2NEhSC .edgeLabel{background-color:#e8e8e8;text-align:center}#mermaid-svg-VAndWA0rlo2NEhSC .edgeLabel rect{opacity:0.9}#mermaid-svg-VAndWA0rlo2NEhSC .edgeLabel span{color:#333}#mermaid-svg-VAndWA0rlo2NEhSC .cluster rect{fill:#ffffde;stroke:#aa3;stroke-width:1px}#mermaid-svg-VAndWA0rlo2NEhSC .cluster text{fill:#333}#mermaid-svg-VAndWA0rlo2NEhSC div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:12px;background:#ffffde;border:1px solid #aa3;border-radius:2px;pointer-events:none;z-index:100}#mermaid-svg-VAndWA0rlo2NEhSC .actor{stroke:#ccf;fill:#ECECFF}#mermaid-svg-VAndWA0rlo2NEhSC text.actor>tspan{fill:#000;stroke:none}#mermaid-svg-VAndWA0rlo2NEhSC .actor-line{stroke:grey}#mermaid-svg-VAndWA0rlo2NEhSC .messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:#333}#mermaid-svg-VAndWA0rlo2NEhSC .messageLine1{stroke-width:1.5;stroke-dasharray:2, 2;stroke:#333}#mermaid-svg-VAndWA0rlo2NEhSC #arrowhead path{fill:#333;stroke:#333}#mermaid-svg-VAndWA0rlo2NEhSC .sequenceNumber{fill:#fff}#mermaid-svg-VAndWA0rlo2NEhSC #sequencenumber{fill:#333}#mermaid-svg-VAndWA0rlo2NEhSC #crosshead path{fill:#333;stroke:#333}#mermaid-svg-VAndWA0rlo2NEhSC .messageText{fill:#333;stroke:#333}#mermaid-svg-VAndWA0rlo2NEhSC .labelBox{stroke:#ccf;fill:#ECECFF}#mermaid-svg-VAndWA0rlo2NEhSC .labelText,#mermaid-svg-VAndWA0rlo2NEhSC .labelText>tspan{fill:#000;stroke:none}#mermaid-svg-VAndWA0rlo2NEhSC .loopText,#mermaid-svg-VAndWA0rlo2NEhSC .loopText>tspan{fill:#000;stroke:none}#mermaid-svg-VAndWA0rlo2NEhSC .loopLine{stroke-width:2px;stroke-dasharray:2, 2;stroke:#ccf;fill:#ccf}#mermaid-svg-VAndWA0rlo2NEhSC .note{stroke:#aa3;fill:#fff5ad}#mermaid-svg-VAndWA0rlo2NEhSC .noteText,#mermaid-svg-VAndWA0rlo2NEhSC .noteText>tspan{fill:#000;stroke:none}#mermaid-svg-VAndWA0rlo2NEhSC .activation0{fill:#f4f4f4;stroke:#666}#mermaid-svg-VAndWA0rlo2NEhSC .activation1{fill:#f4f4f4;stroke:#666}#mermaid-svg-VAndWA0rlo2NEhSC .activation2{fill:#f4f4f4;stroke:#666}#mermaid-svg-VAndWA0rlo2NEhSC .mermaid-main-font{font-family:"trebuchet ms", verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-VAndWA0rlo2NEhSC .section{stroke:none;opacity:0.2}#mermaid-svg-VAndWA0rlo2NEhSC .section0{fill:rgba(102,102,255,0.49)}#mermaid-svg-VAndWA0rlo2NEhSC .section2{fill:#fff400}#mermaid-svg-VAndWA0rlo2NEhSC .section1,#mermaid-svg-VAndWA0rlo2NEhSC .section3{fill:#fff;opacity:0.2}#mermaid-svg-VAndWA0rlo2NEhSC .sectionTitle0{fill:#333}#mermaid-svg-VAndWA0rlo2NEhSC .sectionTitle1{fill:#333}#mermaid-svg-VAndWA0rlo2NEhSC .sectionTitle2{fill:#333}#mermaid-svg-VAndWA0rlo2NEhSC .sectionTitle3{fill:#333}#mermaid-svg-VAndWA0rlo2NEhSC .sectionTitle{text-anchor:start;font-size:11px;text-height:14px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-VAndWA0rlo2NEhSC .grid .tick{stroke:#d3d3d3;opacity:0.8;shape-rendering:crispEdges}#mermaid-svg-VAndWA0rlo2NEhSC .grid .tick text{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-VAndWA0rlo2NEhSC .grid path{stroke-width:0}#mermaid-svg-VAndWA0rlo2NEhSC .today{fill:none;stroke:red;stroke-width:2px}#mermaid-svg-VAndWA0rlo2NEhSC .task{stroke-width:2}#mermaid-svg-VAndWA0rlo2NEhSC .taskText{text-anchor:middle;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-VAndWA0rlo2NEhSC .taskText:not([font-size]){font-size:11px}#mermaid-svg-VAndWA0rlo2NEhSC .taskTextOutsideRight{fill:#000;text-anchor:start;font-size:11px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-VAndWA0rlo2NEhSC .taskTextOutsideLeft{fill:#000;text-anchor:end;font-size:11px}#mermaid-svg-VAndWA0rlo2NEhSC .task.clickable{cursor:pointer}#mermaid-svg-VAndWA0rlo2NEhSC .taskText.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-VAndWA0rlo2NEhSC .taskTextOutsideLeft.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-VAndWA0rlo2NEhSC .taskTextOutsideRight.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-VAndWA0rlo2NEhSC .taskText0,#mermaid-svg-VAndWA0rlo2NEhSC .taskText1,#mermaid-svg-VAndWA0rlo2NEhSC .taskText2,#mermaid-svg-VAndWA0rlo2NEhSC .taskText3{fill:#fff}#mermaid-svg-VAndWA0rlo2NEhSC .task0,#mermaid-svg-VAndWA0rlo2NEhSC .task1,#mermaid-svg-VAndWA0rlo2NEhSC .task2,#mermaid-svg-VAndWA0rlo2NEhSC .task3{fill:#8a90dd;stroke:#534fbc}#mermaid-svg-VAndWA0rlo2NEhSC .taskTextOutside0,#mermaid-svg-VAndWA0rlo2NEhSC .taskTextOutside2{fill:#000}#mermaid-svg-VAndWA0rlo2NEhSC .taskTextOutside1,#mermaid-svg-VAndWA0rlo2NEhSC .taskTextOutside3{fill:#000}#mermaid-svg-VAndWA0rlo2NEhSC .active0,#mermaid-svg-VAndWA0rlo2NEhSC .active1,#mermaid-svg-VAndWA0rlo2NEhSC .active2,#mermaid-svg-VAndWA0rlo2NEhSC .active3{fill:#bfc7ff;stroke:#534fbc}#mermaid-svg-VAndWA0rlo2NEhSC .activeText0,#mermaid-svg-VAndWA0rlo2NEhSC .activeText1,#mermaid-svg-VAndWA0rlo2NEhSC .activeText2,#mermaid-svg-VAndWA0rlo2NEhSC .activeText3{fill:#000 !important}#mermaid-svg-VAndWA0rlo2NEhSC .done0,#mermaid-svg-VAndWA0rlo2NEhSC .done1,#mermaid-svg-VAndWA0rlo2NEhSC .done2,#mermaid-svg-VAndWA0rlo2NEhSC .done3{stroke:grey;fill:#d3d3d3;stroke-width:2}#mermaid-svg-VAndWA0rlo2NEhSC .doneText0,#mermaid-svg-VAndWA0rlo2NEhSC .doneText1,#mermaid-svg-VAndWA0rlo2NEhSC .doneText2,#mermaid-svg-VAndWA0rlo2NEhSC .doneText3{fill:#000 !important}#mermaid-svg-VAndWA0rlo2NEhSC .crit0,#mermaid-svg-VAndWA0rlo2NEhSC .crit1,#mermaid-svg-VAndWA0rlo2NEhSC .crit2,#mermaid-svg-VAndWA0rlo2NEhSC .crit3{stroke:#f88;fill:red;stroke-width:2}#mermaid-svg-VAndWA0rlo2NEhSC .activeCrit0,#mermaid-svg-VAndWA0rlo2NEhSC .activeCrit1,#mermaid-svg-VAndWA0rlo2NEhSC .activeCrit2,#mermaid-svg-VAndWA0rlo2NEhSC .activeCrit3{stroke:#f88;fill:#bfc7ff;stroke-width:2}#mermaid-svg-VAndWA0rlo2NEhSC .doneCrit0,#mermaid-svg-VAndWA0rlo2NEhSC .doneCrit1,#mermaid-svg-VAndWA0rlo2NEhSC .doneCrit2,#mermaid-svg-VAndWA0rlo2NEhSC .doneCrit3{stroke:#f88;fill:#d3d3d3;stroke-width:2;cursor:pointer;shape-rendering:crispEdges}#mermaid-svg-VAndWA0rlo2NEhSC .milestone{transform:rotate(45deg) scale(0.8, 0.8)}#mermaid-svg-VAndWA0rlo2NEhSC .milestoneText{font-style:italic}#mermaid-svg-VAndWA0rlo2NEhSC .doneCritText0,#mermaid-svg-VAndWA0rlo2NEhSC .doneCritText1,#mermaid-svg-VAndWA0rlo2NEhSC .doneCritText2,#mermaid-svg-VAndWA0rlo2NEhSC .doneCritText3{fill:#000 !important}#mermaid-svg-VAndWA0rlo2NEhSC .activeCritText0,#mermaid-svg-VAndWA0rlo2NEhSC .activeCritText1,#mermaid-svg-VAndWA0rlo2NEhSC .activeCritText2,#mermaid-svg-VAndWA0rlo2NEhSC .activeCritText3{fill:#000 !important}#mermaid-svg-VAndWA0rlo2NEhSC .titleText{text-anchor:middle;font-size:18px;fill:#000;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-VAndWA0rlo2NEhSC g.classGroup text{fill:#9370db;stroke:none;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:10px}#mermaid-svg-VAndWA0rlo2NEhSC g.classGroup text .title{font-weight:bolder}#mermaid-svg-VAndWA0rlo2NEhSC g.clickable{cursor:pointer}#mermaid-svg-VAndWA0rlo2NEhSC g.classGroup rect{fill:#ECECFF;stroke:#9370db}#mermaid-svg-VAndWA0rlo2NEhSC g.classGroup line{stroke:#9370db;stroke-width:1}#mermaid-svg-VAndWA0rlo2NEhSC .classLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.5}#mermaid-svg-VAndWA0rlo2NEhSC .classLabel .label{fill:#9370db;font-size:10px}#mermaid-svg-VAndWA0rlo2NEhSC .relation{stroke:#9370db;stroke-width:1;fill:none}#mermaid-svg-VAndWA0rlo2NEhSC .dashed-line{stroke-dasharray:3}#mermaid-svg-VAndWA0rlo2NEhSC #compositionStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-VAndWA0rlo2NEhSC #compositionEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-VAndWA0rlo2NEhSC #aggregationStart{fill:#ECECFF;stroke:#9370db;stroke-width:1}#mermaid-svg-VAndWA0rlo2NEhSC #aggregationEnd{fill:#ECECFF;stroke:#9370db;stroke-width:1}#mermaid-svg-VAndWA0rlo2NEhSC #dependencyStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-VAndWA0rlo2NEhSC #dependencyEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-VAndWA0rlo2NEhSC #extensionStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-VAndWA0rlo2NEhSC #extensionEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-VAndWA0rlo2NEhSC .commit-id,#mermaid-svg-VAndWA0rlo2NEhSC .commit-msg,#mermaid-svg-VAndWA0rlo2NEhSC .branch-label{fill:lightgrey;color:lightgrey;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-VAndWA0rlo2NEhSC .pieTitleText{text-anchor:middle;font-size:25px;fill:#000;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-VAndWA0rlo2NEhSC .slice{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-VAndWA0rlo2NEhSC g.stateGroup text{fill:#9370db;stroke:none;font-size:10px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-VAndWA0rlo2NEhSC g.stateGroup text{fill:#9370db;fill:#333;stroke:none;font-size:10px}#mermaid-svg-VAndWA0rlo2NEhSC g.statediagram-cluster .cluster-label text{fill:#333}#mermaid-svg-VAndWA0rlo2NEhSC g.stateGroup .state-title{font-weight:bolder;fill:#000}#mermaid-svg-VAndWA0rlo2NEhSC g.stateGroup rect{fill:#ECECFF;stroke:#9370db}#mermaid-svg-VAndWA0rlo2NEhSC g.stateGroup line{stroke:#9370db;stroke-width:1}#mermaid-svg-VAndWA0rlo2NEhSC .transition{stroke:#9370db;stroke-width:1;fill:none}#mermaid-svg-VAndWA0rlo2NEhSC .stateGroup .composit{fill:white;border-bottom:1px}#mermaid-svg-VAndWA0rlo2NEhSC .stateGroup .alt-composit{fill:#e0e0e0;border-bottom:1px}#mermaid-svg-VAndWA0rlo2NEhSC .state-note{stroke:#aa3;fill:#fff5ad}#mermaid-svg-VAndWA0rlo2NEhSC .state-note text{fill:black;stroke:none;font-size:10px}#mermaid-svg-VAndWA0rlo2NEhSC .stateLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.7}#mermaid-svg-VAndWA0rlo2NEhSC .edgeLabel text{fill:#333}#mermaid-svg-VAndWA0rlo2NEhSC .stateLabel text{fill:#000;font-size:10px;font-weight:bold;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-VAndWA0rlo2NEhSC .node circle.state-start{fill:black;stroke:black}#mermaid-svg-VAndWA0rlo2NEhSC .node circle.state-end{fill:black;stroke:white;stroke-width:1.5}#mermaid-svg-VAndWA0rlo2NEhSC #statediagram-barbEnd{fill:#9370db}#mermaid-svg-VAndWA0rlo2NEhSC .statediagram-cluster rect{fill:#ECECFF;stroke:#9370db;stroke-width:1px}#mermaid-svg-VAndWA0rlo2NEhSC .statediagram-cluster rect.outer{rx:5px;ry:5px}#mermaid-svg-VAndWA0rlo2NEhSC .statediagram-state .divider{stroke:#9370db}#mermaid-svg-VAndWA0rlo2NEhSC .statediagram-state .title-state{rx:5px;ry:5px}#mermaid-svg-VAndWA0rlo2NEhSC .statediagram-cluster.statediagram-cluster .inner{fill:white}#mermaid-svg-VAndWA0rlo2NEhSC .statediagram-cluster.statediagram-cluster-alt .inner{fill:#e0e0e0}#mermaid-svg-VAndWA0rlo2NEhSC .statediagram-cluster .inner{rx:0;ry:0}#mermaid-svg-VAndWA0rlo2NEhSC .statediagram-state rect.basic{rx:5px;ry:5px}#mermaid-svg-VAndWA0rlo2NEhSC .statediagram-state rect.divider{stroke-dasharray:10,10;fill:#efefef}#mermaid-svg-VAndWA0rlo2NEhSC .note-edge{stroke-dasharray:5}#mermaid-svg-VAndWA0rlo2NEhSC .statediagram-note rect{fill:#fff5ad;stroke:#aa3;stroke-width:1px;rx:0;ry:0}:root{--mermaid-font-family: '"trebuchet ms", verdana, arial';--mermaid-font-family: "Comic Sans MS", "Comic Sans", cursive}#mermaid-svg-VAndWA0rlo2NEhSC .error-icon{fill:#522}#mermaid-svg-VAndWA0rlo2NEhSC .error-text{fill:#522;stroke:#522}#mermaid-svg-VAndWA0rlo2NEhSC .edge-thickness-normal{stroke-width:2px}#mermaid-svg-VAndWA0rlo2NEhSC .edge-thickness-thick{stroke-width:3.5px}#mermaid-svg-VAndWA0rlo2NEhSC .edge-pattern-solid{stroke-dasharray:0}#mermaid-svg-VAndWA0rlo2NEhSC .edge-pattern-dashed{stroke-dasharray:3}#mermaid-svg-VAndWA0rlo2NEhSC .edge-pattern-dotted{stroke-dasharray:2}#mermaid-svg-VAndWA0rlo2NEhSC .marker{fill:#333}#mermaid-svg-VAndWA0rlo2NEhSC .marker.cross{stroke:#333}
:root { --mermaid-font-family: "trebuchet ms", verdana, arial;}
#mermaid-svg-VAndWA0rlo2NEhSC {
color: rgba(0, 0, 0, 0.75);
font: ;
}
机械臂位姿
手眼标定程序
相机中标定板位姿
末端与相机位姿关系
本教程一共包含五个部分:
- 手眼标定-基础使用
- 手眼标定-JAKA机械臂
- 手眼标定-AUBO机械臂
- 手眼标定-Aruco使用与相机标定
- 手眼标定-注意事项
如果上述程序使用过程中遇到问题,可以参考:
如果你对手眼标定原理感兴趣,可以参考以下文章:
- 机器人手眼标定原理介绍(含详细推导过程)使用Tsai-Lenz算法
- 手眼标定算法TSAI_LENZ,眼在手外python代码实现
- 手眼标定算法Tsai-Lenz代码实现(Python、C++、Matlab)
介绍
- jaka标定文件会自己订阅两个话题的数据,一个是机械臂的位姿话题和相机中标定物的位姿话题。
- 机械臂的话题可以通过运行本仓库中的jaka_comuniate功能包中的jaka_comuniate.launch获得。
- 相机中标记物的姿态数据,可以参考上一节使用ArUco获取标定板位姿
安装编译
git clone https://gitee.com/ohhuo/handeye-calib.git
cd handeye-calib
catkin_make or catkin build
配置jaka机械臂ip地址信息
配置jaka_host参数为你的jaka机械臂所在的host,并确保你目前所使用的电脑能够ping
通该ip。
运行该节点后将会发布jaka_pose
话题并运行
使用的是jaka机械臂TCP通信,默认端口为10000,这里不用设置,如果有改变可以在程序中修改。
运行JAKA节点
source devel/setup.bash
roslaunch jaka_comuniate jaka_comuniate.launch
运行标定板识别程序
请参考上一节(使用ArUco获取标志物姿)
source devel/setup.bash
roslaunch handeye-calib aruco_start_usb_cam.launch
配置标定所需话题信息
主要配置参数有jaka_pose_topic
、camera_pose_topic
。分别代表jaka机械臂的通信地址和,相机中标记物的位姿话题。
通过这两个话题我们就可以拿到机械臂和标志物在相机中的位姿信息.
运行标定程序
source devel/setup.bash
roslaunch handeye-calib jaka_hand_on_eye_calib.launch
开始标定
程序运行是会对话题数据进行检测,先检测是否收到机械臂数据,如果没有会一直等待。 当检测到已经接收到数据之后,就会出现,命令提示。 命令定义如下:
r rocord 记录一组手眼数据(当记录的数据大于程序计算所需的数据量之后会进行自动计算)
c calculate 计算当前数据
s save 保存数据
p print 打印当前数据到屏幕上(格式为 type,x,y,z,rx,ry,rz 角度制)
q quit 退出标定程序
[INFO] [1612856654.307437]: Get topic from param server: jaka_pose_topic:/jaka_pose camera_pose_topic:/aruco_single/pose
[INFO] [1612856655.311045]: Waiting jaka pose topic data ...
[INFO] [1612856656.313039]: Waiting jaka pose topic data ...
[INFO] [1612856657.314364]: Waiting jaka pose topic data ...
input: r record,c calculate,s save,q quit:
拖拽机械臂或者用视校器移动机械臂,但要保证相机事业中依然可以看到标定板。 输入r
记录一组手眼数据。
生成参数
完成标定之后输入s
即可进行保存,将保存标定结果数据和计算所使用的数据。
标定结果误差分析
观察数据计算结果的标准差大小。 每次计算之后,程序都会输出不同算法下标定结果点的平均数、方差、标准差三项数值。
由于标定过程中标定板是没有发生移动的,所以我们通过机械臂的末端位置、标定结果(手眼矩阵)、标记物在相机中的位姿即可计算出标定板在机器人基坐标系下的位姿,如果标定结果准确该位姿应该是没有变化的。
可以比较最终数据的波动情况来判定标定结果的好坏。
比如:
标定板在机械臂基坐标系的位置1:
Tsai-Lenz x y z rx ry rz distance
----------- ------------ ----------- ------------ ------------ ------------ ----------- -----------
point0 -0.45432 0.0488783 0.000316595 0.0420852 -0.0245641 1.52064 0.456941
point1 -0.457722 0.054523 0.0121959 -0.0266793 0.0050922 1.53391 0.461119
point2 -0.457198 0.0535639 0.00246136 0.0252805 -0.0329136 1.51927 0.460331
point3 -0.453302 0.0618366 0.00165179 0.0405718 -0.0472311 1.53318 0.457503
point4 -0.455802 0.0589413 0.000377679 0.0222521 -0.0360589 1.51963 0.459598
point5 -0.455392 0.0615103 0.00584822 0.0365886 -0.033448 1.50684 0.459565
point6 -0.451144 0.0571198 0.00498852 0.0618337 -0.0170326 1.52463 0.454773
point7 -0.452829 0.0588266 -0.000827528 0.0324858 -0.0292652 1.52268 0.456635
point8 -0.454238 0.063634 0.00488078 0.0411648 -0.0373725 1.51611 0.458699
point9 -0.453579 0.0631788 0.00390939 0.0339742 -0.0645821 1.53168 0.457974
point10 -0.454952 0.066057 -0.00144969 0.0399135 0.0029201 1.5053 0.459725
point11 -0.459518 0.0553877 -0.00209946 0.0450864 -0.0147387 1.50702 0.462848
point12 -0.454928 0.0590754 -0.0045181 0.0297534 -0.0296122 1.52043 0.45877
point13 -0.455234 0.0527075 -0.00389213 0.0358822 -0.0260668 1.51244 0.458292
mean -0.455011 0.0582314 0.0017031 0.0328709 -0.027491 1.51955 0.45877
var 4.21677e-06 2.16484e-05 1.84365e-05 0.000357231 0.000305579 8.29112e-05 3.79771e-06
std 0.00205348 0.00465279 0.00429378 0.0189005 0.0174808 0.00910556 0.00194877
标定板在机械臂基坐标系的位置2:
Tsai-Lenz x y z rx ry rz distance
----------- ----------- ----------- ----------- ----------- ------------ ----------- -----------
point0 -0.428394 0.052448 0.0353171 0.0259549 -0.0541487 1.57929 0.433035
point1 -0.427841 0.0448442 0.0345359 0.0454481 -0.0371304 1.55639 0.431569
point2 -0.424889 0.0486165 0.0278942 0.0455775 -0.0438353 1.57073 0.42857
point3 -0.421985 0.0485442 0.0311218 0.0138094 -0.0307286 1.55606 0.425906
point4 -0.428353 0.0454091 0.0326252 0.039192 -0.0492181 1.59177 0.431987
point5 -0.432111 0.0458869 0.0359774 0.04632 -0.0383476 1.55942 0.436028
mean -0.427262 0.0476248 0.0329119 0.0360503 -0.0422348 1.56894 0.431183
var 9.9672e-06 6.79218e-06 7.71397e-06 0.000148499 6.11379e-05 0.000174299 1.03945e-05
std 0.00315709 0.00260618 0.0027774 0.012186 0.00781908 0.0132022 0.00322405
我们可以观察两次标定结果的距离的标准差,第一次的标准差小于的第二次的标准差,这表示第一次的标定结果好于第二次。
标准差越小,数据越聚集。
标定注意事项(重要)
如果有不明白和有错误的地方可以留言~
作者介绍:
我是小智,机器人领域资深玩家,现深圳某独脚兽机器人算法工程师一枚
初中学习编程,高中开始学习机器人,大学期间打机器人相关比赛实现月入2W+(比赛奖金)
目前在输出机器人学习指南、论文注解、工作经验,欢迎大家关注小智,一起交流技术,学习机器人 