Der Name des default branch ist ab jetzt für neue Repositories main. The name of the default branch for new repositories is from now on main.

Commit bee882fd authored by Daniel Müller's avatar Daniel Müller
Browse files

Moved function from to here

parent b7eaccac
......@@ -2,7 +2,7 @@
import rospy
from std_msgs.msg import Header
from std_msgs.msg import Header, String
from sensor_msgs.msg import Image
from homer_robot_face.msg import DisplayImage
......@@ -19,6 +19,23 @@ class RobotFaceInterface:
imagePublisher = rospy.Publisher("/robot_face/ImageDisplay", DisplayImage, queue_size=1)
bridge = CvBridge()
m_robot_face_expected_input_pub = rospy.Publisher( \
"/robot_face/expected_input", String, queue_size=10)
def robot_face_expected_input(text=""):
This method sets the expected input line on the robot face
:text: the text to be viewed on the robot face - this text has to be removed manually
there is no maximal display time
rospy.loginfo("[Robot] set expected user input to %s" % text)
def display_image_on_front_display(image, displayTime=1, displayTimeMsecs=0):
"""This method displays an image on Lisas face.\
Markdown is supported
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