Skip to content

Commit 18d7ac2

Browse files
committed
chatbot topic typo
1 parent 9f87494 commit 18d7ac2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/ros_commo.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,8 @@ def say_text(self, text_to_say):
288288
def language_perceived_text_cb(self, text_heard):
289289
self.puta.perceived_text(text_heard.data)
290290

291+
# The chat_heard message is of type chatbot/ChatMessage
292+
# from chatbot.msg import ChatMessage
291293
def chat_perceived_text_cb(self, chat_heard):
292294
if chat_heard.confidence >= 50:
293295
self.puta.perceived_text(chat_heard.utterance)
@@ -429,7 +431,8 @@ def __init__(self):
429431

430432
# Tell the TTS subsystem what to vocalize
431433
# self.tts_pub = rospy.Publisher("tts", String, queue_size=1)
432-
self.tts_pub = rospy.Publisher("chatbot_speech", String, queue_size=1)
434+
# self.tts_pub = rospy.Publisher("/robot/chatbot_responses", String, queue_size=1)
435+
self.tts_pub = rospy.Publisher("chatbot_responses", String, queue_size=1)
433436

434437
# Tell the chatbot what sort of affect to apply during
435438
# TTS vocalization. (Huhh???)
@@ -441,6 +444,7 @@ def __init__(self):
441444
self.language_perceived_text_cb)
442445

443446
# Chat infrastructure text.
447+
# from chatbot.msg import ChatMessage
444448
#rospy.Subscriber("/robot/speech", chatbot/ChatMessage,
445449
#rospy.Subscriber("chatbot_speech", chatbot/ChatMessage,
446450
# self.chat_perceived_text_cb)

0 commit comments

Comments
 (0)