Skip to content
Snippets Groups Projects
Commit 7db25c5c authored by pal's avatar pal
Browse files

set up correct topic name

parent 2a273792
No related branches found
No related tags found
No related merge requests found
......@@ -13,7 +13,7 @@ def xdisplay_callback(data):
cv_image = bridge.imgmsg_to_cv2(data, "bgr8")
#cv2.imshow('image', cv_image)
cv2.namedWindow("window", cv2.WND_PROP_FULLSCREEN)
#cv2.setWindowProperty("window", cv2.WND_PROP_FULLSCREEN, cv2.WINDOW_FULLSCREEN)
cv2.setWindowProperty("window", cv2.WND_PROP_FULLSCREEN, cv2.WINDOW_FULLSCREEN)
cv2.imshow("window", cv_image)
cv2.waitKey(1)
except CvBridgeError as e:
......@@ -23,7 +23,7 @@ def xdisplay_callback(data):
def face_listener():
rospy.init_node('listener', anonymous=True)
rospy.Subscriber("/robot/expression_diplay", Image, xdisplay_callback)
rospy.Subscriber("/robot/xdisplay", Image, xdisplay_callback)
rospy.spin()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment