refactor(controller): Remove StaticWalk method from controller interface

- Deleted the StaticWalk method from the controller header and implementation files to streamline the interface and eliminate unused functionality.
This commit is contained in:
2025-09-23 19:23:34 +08:00
parent 175b37ad49
commit acae58fa18
2 changed files with 0 additions and 6 deletions

View File

@@ -58,7 +58,6 @@ public:
bool FreeBound(bool flag); bool FreeBound(bool flag);
bool FreeJump(bool flag); bool FreeJump(bool flag);
bool FreeAvoid(bool flag); bool FreeAvoid(bool flag);
bool StaticWalk();
bool WalkUpright(bool flag); bool WalkUpright(bool flag);
bool CrossStep(bool flag); bool CrossStep(bool flag);
bool TrajectoryFollow(std::vector<unitree::robot::go2::PathPoint>& path); bool TrajectoryFollow(std::vector<unitree::robot::go2::PathPoint>& path);

View File

@@ -321,11 +321,6 @@ bool Controller::FreeAvoid(bool flag) {
}); });
} }
bool Controller::StaticWalk() {
return ExecuteSportCmd([](auto* sc) {
return sc->StaticWalk();
});
}
bool Controller::WalkUpright(bool flag) { bool Controller::WalkUpright(bool flag) {
return ExecuteSportCmd([flag](auto* sc) { return ExecuteSportCmd([flag](auto* sc) {