From 9ac38382a3cac9b14503cb70723fd4a5d465e393 Mon Sep 17 00:00:00 2001 From: Sucan126 <632190820@qq.com> Date: Tue, 23 Sep 2025 19:24:47 +0800 Subject: [PATCH] refactor(custom_robot): Remove FootRaiseHeight command processing - Deleted the FootRaiseHeight command processing from the CustomRobot class to streamline command handling and eliminate unused functionality. --- src/custom_robot.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/custom_robot.cpp b/src/custom_robot.cpp index b651f81..20185b2 100644 --- a/src/custom_robot.cpp +++ b/src/custom_robot.cpp @@ -846,8 +846,6 @@ bool CustomRobot::processSportCmd(const std::string& cmd, const nlohmann::json& return false; } return controller_->TrajectoryFollow(path); - } else if (cmd == "FootRaiseHeight") { - return controller_->FootRaiseHeight(message["param"]["height"]); } else if (cmd == "start_traj") { return startTraj(); } else if (cmd == "stop_traj") {