From 0f2eaeeb387850acfede95c5c061b5392dae8688 Mon Sep 17 00:00:00 2001 From: Junjie <fallin.jie@qq.com> Date: 星期三, 28 六月 2023 16:58:25 +0800 Subject: [PATCH] 寻路算法和避障 --- src/main/java/com/zy/core/model/LiftSlave.java | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/zy/core/model/LiftSlave.java b/src/main/java/com/zy/core/model/LiftSlave.java index 15e6060..8d66ecf 100644 --- a/src/main/java/com/zy/core/model/LiftSlave.java +++ b/src/main/java/com/zy/core/model/LiftSlave.java @@ -45,6 +45,9 @@ sb.append("0"); } sb.append(bay); + if (lev < 10) { + sb.append("0"); + } sb.append(lev); return sb.toString(); } -- Gitblit v1.9.1