update 更新表格处理,更新添加自由路径,更新了重连机制
This commit is contained in:
@ -18,6 +18,18 @@ class Position:
|
||||
else:
|
||||
return False
|
||||
pass
|
||||
|
||||
def is_error_angel_move(self,position,interval):
|
||||
if self.X - position.X >= interval or \
|
||||
self.Y - position.Y >= interval or \
|
||||
self.Z - position.Z >= interval or \
|
||||
self.U - position.U >= interval or \
|
||||
self.V - position.V >= interval or \
|
||||
self.W - position.W >= interval:
|
||||
return True
|
||||
else:
|
||||
return False
|
||||
pass
|
||||
"""
|
||||
摄像头识别位置和角度
|
||||
"""
|
||||
|
||||
@ -77,6 +77,9 @@ class DataAddress:
|
||||
real_position = Real_Position().init_position(self.world_0,self.world_1,self.world_2,self.world_3,self.world_4,self.world_5)
|
||||
return real_position
|
||||
|
||||
def getAnglePosition(self):
|
||||
real_position = Real_Position().init_position(self.axis_0,self.axis_1,self.axis_2,self.axis_3,self.axis_4,self.axis_5)
|
||||
return real_position
|
||||
def get_IO_bits(self):
|
||||
io_bits_str = format(self.output_n, '032b')[::-1]
|
||||
io_bits_arry = [bit == '1' for bit in io_bits_str]
|
||||
|
||||
Reference in New Issue
Block a user