From 7101cbffa254be0f1d1dfa371a94f182ae77e948 Mon Sep 17 00:00:00 2001 From: Sucan126 <632190820@qq.com> Date: Sun, 21 Sep 2025 15:19:23 +0800 Subject: [PATCH] =?UTF-8?q?refactor(controller):=20=E7=A7=BB=E9=99=A4?= =?UTF-8?q?=E6=9C=AA=E4=BD=BF=E7=94=A8=E7=9A=84=E8=BF=90=E5=8A=A8=E6=8E=A7?= =?UTF-8?q?=E5=88=B6=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 清理控制器头文件中不再使用的运动控制方法,包括BodyHeight、SwitchGait、ContinuousGait、MoveToPos和FastWalk,以简化接口并提高代码可维护性 --- include/controller.hpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/include/controller.hpp b/include/controller.hpp index 602edcd..b9a24e3 100644 --- a/include/controller.hpp +++ b/include/controller.hpp @@ -67,12 +67,7 @@ public: bool TrotRun(); bool EconomicGait(); bool SwitchAvoidMode(); - bool BodyHeight(float height); - bool SwitchGait(int gait); bool TrajectoryFollow(const std::vector>& path); - bool ContinuousGait(bool flag); - bool MoveToPos(float x, float y, float yaw); - bool FastWalk(bool flag); bool FootRaiseHeight(float height); // Obstacle