From 80cd12d01beda360a8c3b0a973f512d624874f02 Mon Sep 17 00:00:00 2001 From: Langevin Gael Date: Tue, 10 Oct 2023 20:21:42 +0200 Subject: [PATCH] Update InMoov2Config.java --- .../java/org/myrobotlab/service/config/InMoov2Config.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/myrobotlab/service/config/InMoov2Config.java b/src/main/java/org/myrobotlab/service/config/InMoov2Config.java index 4850375fbe..0a0a167033 100644 --- a/src/main/java/org/myrobotlab/service/config/InMoov2Config.java +++ b/src/main/java/org/myrobotlab/service/config/InMoov2Config.java @@ -177,8 +177,11 @@ public Plan getDefault(Plan plan, String name) { MarySpeechConfig mouth = (MarySpeechConfig) plan.get(getPeerName("mouth")); mouth.voice = "Mark"; mouth.speechRecognizers = new String[] { name + ".ear" }; - mouth.listeners = new ArrayList<>(); - mouth.listeners.add(new Listener("publishText", name + ".servoMixer", "onText")); + + // == Peer - servoMixer ============================= + // setup name references to different services + servoMixer.listeners = new ArrayList<>(); + servoMixer.listeners.add(new Listener("publishText", name + ".mouth", "onText")); // == Peer - ear ============================= // setup name references to different services