fix: 调试

This commit is contained in:
stream 2025-12-19 10:07:20 +08:00
parent 014fa639e8
commit b23fae3a3f

View File

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