refactor(controller): 移除未使用的MoveToPos和FastWalk方法
这些方法未被代码库其他部分调用,移除以减少维护负担
This commit is contained in:
@@ -386,18 +386,6 @@ bool Controller::TrajectoryFollow(const std::vector<std::array<float, 6>>& path)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Controller::MoveToPos(float x, float y, float yaw) {
|
|
||||||
return ExecuteSportCmd([x, y, yaw](auto* sc) {
|
|
||||||
return sc->MoveToPos(x, y, yaw);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
bool Controller::FastWalk(bool flag) {
|
|
||||||
return ExecuteSportCmd([flag](auto* sc) {
|
|
||||||
return sc->FastWalk(flag);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
bool Controller::FootRaiseHeight(float height) {
|
bool Controller::FootRaiseHeight(float height) {
|
||||||
// This function may not be available in all SportClient implementations
|
// This function may not be available in all SportClient implementations
|
||||||
// We'll provide a basic implementation that returns success
|
// We'll provide a basic implementation that returns success
|
||||||
|
|||||||
Reference in New Issue
Block a user