Skip to content
Snippets Groups Projects
Commit a1c8ef7b authored by Antonio Andriella's avatar Antonio Andriella
Browse files

working version

parents
No related branches found
No related tags found
No related merge requests found
# robot_face_visualizer
#!/usr/bin/env python
import os
import sys
import rospy
import timeit
import cv2
from sensor_msgs.msg import Image
from std_msgs.msg import String
def face_listener():
rospy.init_node('listener', anonymous=True)
rospy.Subscriber("/robot/xdisplay", Image, xdisplay_callback)
def get_user_hr_callback(self, msg):
rospy.loginfo(rospy.get_caller_id() + "I heard %s", data.data)
rospy.spin()
if __name__ == "__main__":
face_listener()
\ No newline at end of file
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