refactor(config): 移除未使用的MQTT主题和安全设置

清理不再使用的MQTT主题配置(心跳、响应、错误)和命令超时设置,简化配置结构
This commit is contained in:
2025-09-21 14:50:13 +08:00
parent 2392264713
commit 9585ae3df6
2 changed files with 2 additions and 10 deletions

View File

@@ -26,12 +26,8 @@ constexpr std::string_view MQTT_USERNAME = "lzwc";
constexpr std::string_view MQTT_PASSWORD = "Lzwc@4187.";
// MQTT Topics
constexpr const char* TOPIC_PREFIX = "unitree/go2";
constexpr const char* TOPIC_CMD = "cmd";
constexpr const char* TOPIC_STATE = "state";
constexpr const char* TOPIC_HEARTBEAT = "heartbeat";
constexpr const char* TOPIC_RESPONSE = "response";
constexpr const char* TOPIC_ERROR = "error";
constexpr const char* TOPIC_PREFIX = "unitree/go2";
constexpr const char* TOPIC_CMD = "cmd";
// Safety settings
constexpr double MAX_LINEAR_VELOCITY = 1.5; // m/s