Revision 38936fe1 client/python/hlrc_client/hlrc_test_gui.py
client/python/hlrc_client/hlrc_test_gui.py | ||
---|---|---|
182 | 182 |
self.robot_controller.set_speak("Hello my name is flobi. How can i help you?", False) |
183 | 183 |
else: |
184 | 184 |
self.robot_controller.set_speak("invalid button name", False) |
185 |
print "invalid button '%s'" % (button)
|
|
185 |
print("invalid button '%s'" % (button))
|
|
186 | 186 |
|
187 | 187 |
def emotion_button_clicked(self): |
188 | 188 |
button = self.sender().text() |
... | ... | |
203 | 203 |
elif (button == "fear"): |
204 | 204 |
re.value = RobotEmotion.FEAR |
205 | 205 |
else: |
206 |
print "invalid emotion id '%s'" % (button)
|
|
206 |
print("invalid emotion id '%s'" % (button))
|
|
207 | 207 |
return |
208 | 208 |
|
209 | 209 |
self.robot_controller.set_current_emotion(re, False) |
... | ... | |
231 | 231 |
elif (button == "eyebrows lower"): |
232 | 232 |
ra.value = RobotAnimation.EYEBROWS_LOWER |
233 | 233 |
else: |
234 |
print "invalid button '%s'" % (button)
|
|
234 |
print("invalid button '%s'" % (button))
|
|
235 | 235 |
return |
236 | 236 |
|
237 | 237 |
self.robot_controller.set_head_animation(ra, False) |
Also available in: Unified diff