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:
@@ -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);
|
||||||
|
|||||||
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user