Commit 09eae68f authored by Stormiix's avatar Stormiix
Browse files

[FIX] Close debug windows

parent 2fa1ae38
...@@ -83,6 +83,8 @@ def main(): ...@@ -83,6 +83,8 @@ def main():
if debug: if debug:
cv2.imshow("PolarPlot",image) cv2.imshow("PolarPlot",image)
cv2.waitKey(27) cv2.waitKey(27)
else:
cv2.destroyAllWindows()
publish(image, imagePub, bridge) publish(image, imagePub, bridge)
rospy.sleep(0.1) rospy.sleep(0.1)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment