[TeamTalk 14]: [551] TeamTalk/Configurations/DesktopConfiguration: Added task update messages to skeleton hub.
tk@edam.speech.cs.cmu.edu
tk at edam.speech.cs.cmu.edu
Thu Dec 7 16:58:41 EST 2006
An HTML attachment was scrubbed...
URL: http://mailman.srv.cs.cmu.edu/pipermail/teamtalk-developers/attachments/20061207/9f82ec9b/attachment.html
-------------- next part --------------
Modified: TeamTalk/Configurations/DesktopConfiguration/TeamTalk-hub-desktop-skeleton.pgm
===================================================================
--- TeamTalk/Configurations/DesktopConfiguration/TeamTalk-hub-desktop-skeleton.pgm 2006-12-07 21:55:59 UTC (rev 550)
+++ TeamTalk/Configurations/DesktopConfiguration/TeamTalk-hub-desktop-skeleton.pgm 2006-12-07 21:58:41 UTC (rev 551)
@@ -33,7 +33,7 @@
;; -------------------------------------------------
SERVER: PenDecoder at localhost:11002
-OPERATIONS: set_bot set_goal set_halt set_follow set_cover speak map_update image info_update
+OPERATIONS: set_bot set_goal set_halt set_follow set_cover speak map_update image info_update task_update
INIT: :greeting "Welcome to the CMU zap 2.0 PenDecoder!"
;; -------------------------------------------------
@@ -174,6 +174,10 @@
OUT:
PROGRAM: trader_message
-RULE: --> PenDecoder.info_update
-IN: :type :ip :object :x :y
+RULE: :type = "info" --> PenDecoder.info_update
+IN: :type :ip :object :x :y :taskid :status
OUT:
+
+RULE: :type = "ack" | :type = "done" --> PenDecoder.task_update
+IN: :type :taskid :status
+OUT:
Modified: TeamTalk/Configurations/DesktopConfiguration/TeamTalk-hub-desktop-template.pgm
===================================================================
--- TeamTalk/Configurations/DesktopConfiguration/TeamTalk-hub-desktop-template.pgm 2006-12-07 21:55:59 UTC (rev 550)
+++ TeamTalk/Configurations/DesktopConfiguration/TeamTalk-hub-desktop-template.pgm 2006-12-07 21:58:41 UTC (rev 551)
@@ -43,7 +43,7 @@
;; -------------------------------------------------
SERVER: kalliope at localhost:12001
-OPERATIONS: speak reset
+OPERATIONS: speak reset add_voice
INIT: :greeting "Welcome to the %%DialogManager%%!"
;; -------------------------------------------------
@@ -228,3 +228,44 @@
RULE: --> phoenix.restart_decoder
IN:
OUT:
+
+PROGRAM: robot_message
+
+;;RULE: :goal | --> PenDecoder.speak
+;;IN: :robot_name :speaktext
+;;OUT:
+
+RULE: :type = "location" --> PenDecoder.set_bot
+IN: :robot_name :x :y :r
+OUT:
+
+RULE: :type = "goal" --> PenDecoder.set_goal
+IN: :robot_name :relative :x :y
+OUT:
+
+RULE: :type = "halt" --> PenDecoder.set_halt
+IN: :robot_name
+OUT:
+
+RULE: :type = "follow" --> PenDecoder.set_follow
+IN: :robot_name :followee
+OUT:
+
+RULE: :type = "cover" --> PenDecoder.set_cover
+IN: :robot_name :x :y
+OUT:
+
+RULE: :type = "image" --> PenDecoder.image
+IN: :robot_name :width :height :invoice :jpeg
+OUT:
+
+PROGRAM: robot_config
+LOG_IN: :name :voice
+RULE: :voice --> kalliope.add_voice
+IN: :name :voice
+OUT:
+
+PROGRAM: map_message
+RULE: --> PenDecoder.map_update
+IN: :type :x_size :y_size :resolution :encoded_map
+OUT:
More information about the TeamTalk-developers
mailing list