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

@@ -1,5 +1,4 @@
#ifndef __NAVIGATION_HPP__
#define __NAVIGATION_HPP__
#pragma once
#include <unitree/robot/client/client.hpp>
#include <nlohmann/json.hpp>
@@ -62,7 +61,6 @@ public:
class Navigation : public unitree::robot::Client {
public:
Navigation();
~Navigation();
void Init() override;
@@ -92,4 +90,3 @@ private:
} // namespace custom
#endif // __NAVIGATION_HPP__