工作空间边界位置测试

2018-04-26  本文已影响0人  ww4u

边界位置

# -*- coding = utf-8 -*-

import sinanju 

zeropt = [ 250,0,510 ]
casepts=[
0+5,505-5,257,
0+5,256-5,513,
0+5,0,762-12,

0+5,-256+5,513,
0+5,-505+5,257,
256,-256,257,
505,0,257,
256,256,257,

-357,-357,257,
357,-357,257,
357,357,257,
-357,357,257,

-252,-252,614,
252,-252,614,
252,252,614,
-252,252,614,

]

if __name__ == "__main__":
    robo = sinanju.Sinanju( "Sinanju2" )
    print( robo.IDN )
    for i in range( 0, len(casepts), 3 ):
        robo.goto( casepts[i], casepts[i+1], casepts[i+2] )
        robo.goto( zeropt[0], zeropt[1], zeropt[2] )

测试中的发现

异常点

x,y,z comment
0,505,257 错误
-357,-357,257 去时错误,回来时腕错误,偶尔也正常
252,252,614 MRQ显示ERROR,返回98状态
-357,357,257 腕错误
-252,252,614 腕错误
-252,-252,614 先到位置,腕再变成竖直方向

去掉X=0的异常点包括


运动异常点

去掉异常点后的测试点

casepts=[
# 0+5,505-5,257,    # 错误
0+5,256-5,513,
0+5,0,762-12,

0+5,-256+5,513,
0+5,-505+5,257,
256,256,257,
505,0,257,
256,-256,257,

# -357,-357,257,    # 去时异常,回来后腕不对,偶然也对
357,-357,257,
357,357,257,
# -357,357,257,       # wrist error

-252,-252,614,
252,-252,614,
# 252,252,614,      # exception
# -252,252,614,       # wrist
]
上一篇下一篇

猜你喜欢

热点阅读