mirror of
https://github.com/elephantrobotics/mycobot_ros.git
synced 2026-07-14 09:00:53 +00:00
update encode
This commit is contained in:
parent
48d613b8fd
commit
67dd6b1c7f
1 changed files with 1 additions and 0 deletions
|
|
@ -208,6 +208,7 @@ class Detect_marker(Movement):
|
||||||
def run(self):
|
def run(self):
|
||||||
global pump_y, pump_x
|
global pump_y, pump_x
|
||||||
self.init_mycobot()
|
self.init_mycobot()
|
||||||
|
print('ok')
|
||||||
num = sum_x = sum_y = 0
|
num = sum_x = sum_y = 0
|
||||||
while cv2.waitKey(1) < 0:
|
while cv2.waitKey(1) < 0:
|
||||||
success, img = self.cap.read()
|
success, img = self.cap.read()
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue