Commit Graph

  • 4ca81dbf4d fix: 更新MQTT代理地址并修复注释中的拼写错误 master Sucan126 2025-10-15 15:37:51 +08:00
  • 6e669bb027 feat: 添加生成随机客户端ID的功能 Sucan126 2025-10-09 19:48:24 +08:00
  • 73ce74ab04 fix(custom_robot): 修复ContinuousMove命令参数检查逻辑 Sucan126 2025-10-09 19:32:44 +08:00
  • 827ccdb438 perf(continuous_move): 将连续运动线程频率从50Hz提升至100Hz以改善运动平滑度 Sucan126 2025-10-09 19:24:01 +08:00
  • 2e60da5b5b refactor(robot_control): 移除轨迹模式功能并添加连续移动控制 Sucan126 2025-10-09 19:17:26 +08:00
  • 06bf2fa208 feat(轨迹控制): 为start_traj命令添加参数解析功能 Sucan126 2025-10-09 18:26:07 +08:00
  • 993ed111a6 feat(轨迹控制): 添加多种轨迹模式支持并重构轨迹生成逻辑 Sucan126 2025-10-09 17:49:08 +08:00
  • 5b5d390bc4 refactor(monitor): 移除调试用的打印语句以清理输出 Sucan126 2025-10-09 16:56:53 +08:00
  • 80060562e8 fix: 更新MQTT代理服务器IP地址 Sucan126 2025-10-09 16:43:13 +08:00
  • 3a209734de feat(robot): 添加监控模块到自定义机器人 Sucan126 2025-09-30 16:38:00 +08:00
  • d3487a2613 feat(monitor): 添加监控模块用于订阅和打印运动状态和里程计数据 Sucan126 2025-09-30 15:53:12 +08:00
  • 99b5b17421 refactor(custom_robot): Add logging for dynamic trajectory control start Sucan126 2025-09-27 16:46:53 +08:00
  • 789e85c5a2 refactor(custom_robot): Reorganize trajectory control and remove example trajectory generation Sucan126 2025-09-27 16:29:41 +08:00
  • f430360516 refactor(recharge): Add include for ROS2 String message Sucan126 2025-09-23 19:29:13 +08:00
  • f0e516a1a3 refactor(custom_robot): Remove unused method calls in destructor and stopTraj Sucan126 2025-09-23 19:25:39 +08:00
  • 9ac38382a3 refactor(custom_robot): Remove FootRaiseHeight command processing Sucan126 2025-09-23 19:24:47 +08:00
  • acae58fa18 refactor(controller): Remove StaticWalk method from controller interface Sucan126 2025-09-23 19:23:34 +08:00
  • 175b37ad49 refactor(controller): Replace ClassicWalk with StaticWalk method Sucan126 2025-09-23 19:22:08 +08:00
  • 44becb76e6 refactor(controller): Update TrajectoryFollow method signature to accept non-const reference Sucan126 2025-09-23 19:19:18 +08:00
  • d66fbae01f feat(controller): Add ClassicWalk method to controller interface Sucan126 2025-09-23 19:15:12 +08:00
  • 0238455ce0 refactor(recharge): Remove unused include for ROS2 String message Sucan126 2025-09-23 19:12:16 +08:00
  • 97c16f3d44 refactor(custom_robot): Remove unused MQTT client include Sucan126 2025-09-23 19:10:08 +08:00
  • e3ba6f7225 refactor(custom_robot): Simplify SwitchSet command processing Sucan126 2025-09-23 19:09:13 +08:00
  • 4a06204645 feat(trajectory): Implement dynamic trajectory control in CustomRobot Sucan126 2025-09-23 18:55:31 +08:00
  • 6c8a4a3b38 refactor(controller): Update TrajectoryFollow method signature and improve path handling Sucan126 2025-09-23 18:40:42 +08:00
  • e0e1b5f642 feat(recharge): Implement automatic recharge functionality Sucan126 2025-09-23 18:27:30 +08:00
  • 6fe07ac73c refactor(custom_robot): 移除与low_controller相关的注释代码 Sucan126 2025-09-23 10:36:02 +08:00
  • 4cce0b69c8 refactor(custom_robot): Disable LowController functionality temporarily Sucan126 2025-09-22 19:50:39 +08:00
  • 20d75ca377 feat(logger): Enhance logging functionality with variadic templates for formatted messages Sucan126 2025-09-22 19:35:03 +08:00
  • 5247295521 refactor(low_controller): 移动UT_CPU_ID_NONE定义并更新引用 Sucan126 2025-09-22 19:29:17 +08:00
  • 95446bdc94 refactor(low_controller): 移除停止时的线程清理并添加CPU ID宏定义 Sucan126 2025-09-22 19:27:04 +08:00
  • a2a3040967 refactor(custom_robot): 移除服务列表的详细日志输出 Sucan126 2025-09-22 19:21:55 +08:00
  • c5cff9fbdb feat(low_controller): Integrate LowController for low-level command handling Sucan126 2025-09-22 19:11:20 +08:00
  • 1a0618f50f refactor(controller): Remove unused motion control methods and update CMake configuration Sucan126 2025-09-22 16:03:43 +08:00
  • af7eeafd0f build(CMake): Add status message for unitree_sdk2 detection Sucan126 2025-09-22 15:55:19 +08:00
  • d7c51ac004 refactor(CMake): Add include directory for unitree SDK Sucan126 2025-09-22 15:53:11 +08:00
  • 513fbe8d6a refactor(CMake): Update include directories for main target Sucan126 2025-09-22 15:44:15 +08:00
  • ec880c8a8d refactor(CMake): Rename project from 'lzwc_go2' to 'main' Sucan126 2025-09-22 15:42:22 +08:00
  • 317b375bad refactor(CMake): Remove debug messages and update include directories Sucan126 2025-09-22 15:40:25 +08:00
  • a058f3c2c9 build(CMake): Add debug messages for unitree_sdk2 include directories and libraries Sucan126 2025-09-22 15:37:06 +08:00
  • ef57e9b8a4 refactor(CMake): Rename project and update include directories Sucan126 2025-09-22 15:33:00 +08:00
  • 26b9c11a25 Revert "fix(custom_robot): Remove unused status variable in ServiceSwitch method" Sucan126 2025-09-22 15:26:00 +08:00
  • de6e080dca Revert "refactor(controller): Remove unused motion control methods" Sucan126 2025-09-22 15:25:42 +08:00
  • cdcc95bff3 Revert "refactor(controller): Remove additional unused motion control methods" Sucan126 2025-09-22 15:24:58 +08:00
  • 2189d7841f refactor(controller): Remove additional unused motion control methods Sucan126 2025-09-22 15:18:30 +08:00
  • bd023eaba3 refactor(controller): Remove unused motion control methods Sucan126 2025-09-22 15:15:10 +08:00
  • 7afb7e2b77 fix(custom_robot): Remove unused status variable in ServiceSwitch method Sucan126 2025-09-22 15:08:33 +08:00
  • 48cae46960 refactor(navigation): Update ChannelSubscriberPtr to use specific message type Sucan126 2025-09-22 14:50:52 +08:00
  • 6b9ad80757 fix(命名空间): 修复Unitree SDK类型命名空间问题并重构PoseData Sucan126 2025-09-22 14:46:18 +08:00
  • ccaf5f3513 build: 更新导航头文件中的消息依赖 Sucan126 2025-09-22 14:40:38 +08:00
  • 1e4e5c3943 feat(服务监控): 添加服务状态自动打印功能 Sucan126 2025-09-22 14:30:59 +08:00
  • ec6f4c0057 feat(导航): 实现SLAM信息处理和导航状态管理 Sucan126 2025-09-22 11:33:15 +08:00
  • 1d8daa7542 fix(navigation): 修复Navigation类中Init方法的实现 Sucan126 2025-09-21 15:24:58 +08:00
  • b6b1dc410b refactor(custom_robot): 移除未使用的运动控制命令 Sucan126 2025-09-21 15:21:00 +08:00
  • 7101cbffa2 refactor(controller): 移除未使用的运动控制接口 Sucan126 2025-09-21 15:19:23 +08:00
  • 1a9fc5f7e1 refactor(navigation): 重构Navigation类继承unitree::robot::Client Sucan126 2025-09-21 15:15:09 +08:00
  • 61d206e948 refactor(navigation): 移除冗余的json值类型转换 Sucan126 2025-09-21 15:01:32 +08:00
  • ff895ff2ed refactor(navigation): 将日志输出从格式化字符串改为字符串拼接 Sucan126 2025-09-21 14:55:05 +08:00
  • 093bdf18b4 refactor(config): 移除未使用的配置参数 Sucan126 2025-09-21 14:51:44 +08:00
  • 9585ae3df6 refactor(config): 移除未使用的MQTT主题和安全设置 Sucan126 2025-09-21 14:50:13 +08:00
  • 2392264713 refactor(controller): 移除未使用的MoveToPos和FastWalk方法 Sucan126 2025-09-21 14:47:36 +08:00
  • 97d048339b refactor(controller): 移除未使用的运动控制方法 Sucan126 2025-09-21 14:45:30 +08:00
  • dbbe63c7b1 feat(controller): 添加运动切换命令处理和多种运动控制功能 Sucan126 2025-09-21 14:40:11 +08:00
  • 02908202f5 fix: 将MotionSwitcherClient从go2更新为b2版本 Sucan126 2025-09-21 14:03:04 +08:00
  • b05086d03d fix: 将MotionSwitcherClient从go2命名空间更正为b2命名空间 Sucan126 2025-09-21 12:41:09 +08:00
  • fda1dd8204 refactor: 更新 motion_switcher_client 的引用路径 Sucan126 2025-09-21 12:35:11 +08:00
  • f30590033b refactor(config): 重构配置系统和MQTT相关功能 Sucan126 2025-09-20 19:54:04 +08:00
  • f7acf6ff51 docs: 更新README文档以反映最新功能变更 Sucan126 2025-09-20 19:37:00 +08:00
  • ae8b01cf24 Remove Windows MQTT setup guide and update Navigation class to include custom namespace. Increment version in main application log message to v0.0.2. Sucan126 2025-09-20 19:11:31 +08:00
  • 38db96e433 Add navigation functionality to CustomRobot and Controller classes. Introduced Navigation class for handling mapping and pose navigation commands. Updated CustomRobot to process navigation commands and manage Navigation instance. Enhanced Controller with motion switching capabilities, improving overall robot control and navigation features. Sucan126 2025-09-20 16:05:10 +08:00
  • 2de8f53ae2 Refactor switch state handling in CustomRobot::processOacCmd method. Updated logic to store the toggled state in a variable before passing it to SwitchSet, improving code clarity and maintainability. Sucan126 2025-09-09 14:33:33 +08:00
  • 67b1a7fe80 Add RSC command processing to CustomRobot class. Introduced processRscCmd method for handling service list queries and service switching commands, enhancing functionality. Added printServiceList method for improved service status reporting. Removed unused publishCmdResponse method to streamline code. Sucan126 2025-09-09 14:25:32 +08:00
  • 54a9f9b544 Enhance logging and error handling in Controller class methods. Added checks for uninitialized SportClient and included informational logs for API responses, improving visibility into method execution and error management. Sucan126 2025-09-09 11:53:30 +08:00
  • 21c5bc2573 Enhance logging in Controller class methods. Added checks for uninitialized ObstaclesAvoidClient and included informational logs for SwitchSet and SwitchGet API responses, improving error handling and visibility into state changes. Sucan126 2025-09-09 11:46:27 +08:00
  • 55f4358401 Enhance logging in CustomRobot::processCmd method. Added an informational log statement to indicate the success of command processing, improving visibility into command execution outcomes. Sucan126 2025-09-09 11:42:36 +08:00
  • fb4ea73ec0 Enhance logging in CustomRobot::processOacCmd method. Added informational log statement to display the current switch state before toggling, improving visibility into command processing. Sucan126 2025-09-09 11:39:34 +08:00
  • b35395e543 Refactor command processing in CustomRobot class. Changed method name from processCommand to processCmd for improved consistency and clarity in MQTT message handling. Sucan126 2025-09-09 11:34:35 +08:00
  • 347240026c Refactor SwitchSet command handling in CustomRobot class. Updated logic to retrieve the current switch state before toggling, improving error handling and ensuring correct state management. Sucan126 2025-09-09 11:20:10 +08:00
  • f46bb3b7c9 Add command processing functionality to CustomRobot class. Introduced methods for handling OAC and Sport commands via MQTT messages, including validation and response publishing. Removed unnecessary logging statements for cleaner output. Sucan126 2025-09-09 11:15:03 +08:00
  • cf58ad202a Refactor MQTT callback function names for consistency. Changed MessageCallback and ConnectionCallback to MessageCb and ConnectionCb in mqtt.hpp, mqtt.cpp, and custom_robot.cpp to improve code clarity and maintainability. Sucan126 2025-09-09 09:56:13 +08:00
  • e7bfce9dcb Refactor logging in CustomRobot and main event loop implementation. Removed service logging from CustomRobot::start for cleaner output. Added a continuous event loop in main to keep the program running and allow for future periodic tasks. Sucan126 2025-09-08 20:11:08 +08:00
  • 99ca9456c0 Enhance MQTT connection handling and client ID generation. Updated the MQTT client connection method to accept username and password parameters, added validation for ASCII characters in username and password, and improved error logging for connection failures. Modified client ID generation to ensure it only contains valid ASCII characters, defaulting to a safe value if necessary. Sucan126 2025-09-08 20:02:14 +08:00
  • dec8b29c3c Update RobotStateClient timeout to use float literal for consistency. This change ensures type correctness in the timeout setting within the CustomRobot initialization process. Sucan126 2025-09-08 19:58:26 +08:00
  • 20dabdddee Remove controller connection status from CustomRobot status publication. This change simplifies the status message by eliminating the check for controller connectivity, streamlining the published data. Sucan126 2025-09-08 19:56:52 +08:00
  • e3c214ee1c Refactor MQTT configuration access in CustomRobot class. Updated member variable access from pointer dereferencing to direct access for improved clarity and consistency in the codebase. Sucan126 2025-09-08 19:55:56 +08:00
  • 7a9a31afd4 Integrate Paho MQTT C library into project. Updated CMakeLists.txt to find PahoMqttC package and added fallback for manual linking. Refactored mqtt.hpp and mqtt.cpp to utilize Paho MQTT C API, replacing previous async client implementation. Added Windows setup guide for MQTT library installation. Sucan126 2025-09-08 19:53:39 +08:00
  • c655cd8c91 Remove MQTT library requirement from CMakeLists.txt. This update simplifies the build configuration by eliminating unnecessary dependencies, streamlining the project setup. Sucan126 2025-09-08 18:52:28 +08:00
  • 6a85d43c67 Remove nlohmann_json library from CMakeLists.txt. This change simplifies the linking process by eliminating the dependency on the nlohmann JSON library, which is no longer required for the project. Sucan126 2025-09-08 18:51:58 +08:00
  • 7f43d729a2 Enhance CMake configuration and add nlohmann/json library files. Updated CMakeLists.txt to include the nlohmann JSON library directory. Added multiple header files for JSON serialization, deserialization, and utility functions, ensuring compatibility with the latest version 3.11.2. This update improves JSON handling capabilities in the project. Sucan126 2025-09-08 18:50:46 +08:00
  • 60a5490ec8 Update MQTT configuration in config.hpp. Changed broker address to a specific IP and added username and password for authentication. Removed commented-out sections for clarity. Sucan126 2025-09-08 18:38:37 +08:00
  • 90228e4ab9 Implement MQTT functionality in CustomRobot class. Added methods for MQTT initialization, message handling, and connection management. Updated configuration to remove multimedia settings and streamline MQTT-related parameters. Enhanced logging for MQTT operations and ensured proper cleanup during shutdown. Sucan126 2025-09-08 18:35:02 +08:00
  • 926d88972d Refactor configuration management by introducing CustomConfig class. Updated config.hpp to streamline settings and removed legacy configuration presets. Adjusted controller and custom_robot classes to utilize the new configuration structure. Enhanced error handling and logging during initialization processes. Sucan126 2025-09-08 18:16:50 +08:00
  • f72ce9ce58 Remove MQTT dependency and refactor configuration structure. Updated CMakeLists.txt to eliminate MQTT library checks and adjusted config.hpp to use string_view for configuration parameters. Simplified controller and custom_robot classes by removing MQTT-related code and enhancing robot state management. Introduced service management methods in CustomRobot for better state handling. Sucan126 2025-09-07 20:20:34 +08:00
  • ecb4c602a1 Refactor CMake configuration to find installed unitree_sdk2 package instead of using a local path. Removed obsolete subdirectory addition and include paths. Cleaned up unnecessary install commands for config files. Sucan126 2025-09-07 17:11:20 +08:00
  • 6acff483dd Add initial project structure with CMake configuration, source files, and README documentation for Unitree GO2 Custom Controller Sucan126 2025-09-07 16:43:22 +08:00
  • b2b6ddf245 Initial commit Sucan126 2025-09-07 07:28:24 +00:00