diff --git a/cmvr-iot-test/src/main/java/com/cmvr/test/service/FlowiseActionService.java b/cmvr-iot-test/src/main/java/com/cmvr/test/service/FlowiseActionService.java index b5a89ae..e0bdce4 100644 --- a/cmvr-iot-test/src/main/java/com/cmvr/test/service/FlowiseActionService.java +++ b/cmvr-iot-test/src/main/java/com/cmvr/test/service/FlowiseActionService.java @@ -242,17 +242,17 @@ public class FlowiseActionService { } String terminalId = "4ed1246c465b97975f96c9ef8371a3bd"; - String bioId = "hc01"; - String spkId = "spk1"; + String robotId = "hc01"; + String bioId = "bio_head"; executor.execute(() -> { EdgeCommonVO speakVO = new EdgeCommonVO(); speakVO.setTerminalId(terminalId); - speakVO.setDeviceId(spkId); + speakVO.setDeviceId(bioId); try { // 张嘴 - edgeBioHeadService.speakStart(speakVO); - log.info("张嘴动作触发完成"); + String speakStart = edgeBioHeadService.speakStart(speakVO); + log.info("张嘴动作触发完成: {}", speakStart); // // 摆头循环 // boolean toRight = true; @@ -263,7 +263,7 @@ public class FlowiseActionService { // // EdgeMoveJVO moveJVO = buildHeadMoveJVO( // terminalId, -// bioId, +// robotId, // rad // ); // @@ -294,7 +294,7 @@ public class FlowiseActionService { // try { // EdgeMoveJVO resetVO = buildHeadMoveJVO( // terminalId, -// bioId, +// robotId, // 0d // ); // log.info("结束动作,头部回正 rad=0");