feat(recharge): Implement automatic recharge functionality

- Added Recharge class for managing automatic recharge capabilities using ArUco markers.
- Integrated recharge functionality into CustomRobot, including command processing for starting and stopping recharge.
- Updated CMakeLists.txt to include the new recharge.cpp source file.
- Enhanced README.md to document the new auto recharge support feature.
This commit is contained in:
2025-09-23 18:27:30 +08:00
parent 6fe07ac73c
commit e0e1b5f642
10 changed files with 273 additions and 32 deletions

View File

@@ -61,11 +61,11 @@ public:
bool WalkUpright(bool flag);
bool CrossStep(bool flag);
bool TrajectoryFollow(const std::vector<std::array<float, 6>>& path);
bool FootRaiseHeight(float height);
// Obstacle
bool SwitchSet(bool enable);
bool SwitchGet(bool& enable);
bool ObstacleMove(float x, float y, float yaw);
bool UseRemoteCommandFromApi(bool isRemoteCommandsFromApi);
bool MoveToAbsolutePosition(float x, float y, float yaw);
bool MoveToIncrementPosition(float x, float y, float yaw);