Skip to content

Commit 3fd059a

Browse files
committed
Merge pull request #48 from linas/rew
Rework the STT/TTS chatbot API
2 parents 69d98fa + 114d1fd commit 3fd059a

File tree

11 files changed

+29
-368
lines changed

11 files changed

+29
-368
lines changed

chat_ws/src/oc_chat_ros/CMakeLists.txt

Lines changed: 0 additions & 188 deletions
This file was deleted.

chat_ws/src/oc_chat_ros/msg/ChatMessage.msg

Lines changed: 0 additions & 2 deletions
This file was deleted.

chat_ws/src/oc_chat_ros/package.xml

Lines changed: 0 additions & 54 deletions
This file was deleted.

chat_ws/src/oc_chat_ros/src/netcat.py

Lines changed: 0 additions & 47 deletions
This file was deleted.

chat_ws/src/oc_chat_ros/src/oc_to_tts.py

Lines changed: 0 additions & 41 deletions
This file was deleted.

chat_ws/src/oc_chat_ros/src/stt_to_oc.py

Lines changed: 0 additions & 27 deletions
This file was deleted.

src/atomic-dbg.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,12 @@ def blink_rate(mean_node, var_node):
173173
# evl.blink_rate(mean, var)
174174
return TruthValue(1, 1)
175175

176+
def say_text(text_node):
177+
text = text_node.name
178+
print "(Eva says: ", text, ")"
179+
# evl.say_text(text)
180+
return TruthValue(1, 1)
181+
176182
# Return true as long as ROS is running.
177183
def ros_is_running():
178184
# if (rospy.is_shutdown())

src/atomic.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,10 @@ def blink_rate(mean_node, var_node):
122122
evl.blink_rate(mean, var)
123123
return TruthValue(1, 1)
124124

125+
def say_text(text_node):
126+
text = text_node.name
127+
evl.say_text(text)
128+
return TruthValue(1, 1)
125129

126130
# Return true as long as ROS is running.
127131
def ros_is_running():

src/behavior.scm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112
; --------------------------------------------------------
113113
;
114114
; This will be used to tag the name of the module making the request.
115-
; Everything in ths module is the behavior tree, so that is what we
115+
; Everything in this module is the behavior tree, so that is what we
116116
; call it.
117117
(define bhv-source (Concept "Behavior Tree"))
118118

0 commit comments

Comments
 (0)