refactor(custom_robot): Remove FootRaiseHeight command processing
- Deleted the FootRaiseHeight command processing from the CustomRobot class to streamline command handling and eliminate unused functionality.
This commit is contained in:
@@ -846,8 +846,6 @@ bool CustomRobot::processSportCmd(const std::string& cmd, const nlohmann::json&
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return controller_->TrajectoryFollow(path);
|
return controller_->TrajectoryFollow(path);
|
||||||
} else if (cmd == "FootRaiseHeight") {
|
|
||||||
return controller_->FootRaiseHeight(message["param"]["height"]);
|
|
||||||
} else if (cmd == "start_traj") {
|
} else if (cmd == "start_traj") {
|
||||||
return startTraj();
|
return startTraj();
|
||||||
} else if (cmd == "stop_traj") {
|
} else if (cmd == "stop_traj") {
|
||||||
|
|||||||
Reference in New Issue
Block a user