修改了mqtt上报中车速的计算逻辑

This commit is contained in:
root 2025-05-09 15:56:39 +08:00
parent 14f3373626
commit 56579ea5e2

View File

@ -20,7 +20,7 @@ public:
}
// 发布控制指令消息的发布器
pub_ = this->create_publisher<mc::msg::McCtrl>("mc_ctrl", 10);
pub_ = this->create_publisher<mc::msg::McCtrl>("radio_mc_ctrl", 10);
// 订阅CAN反馈的回调函数
can_sub_ = this->create_subscription<mc::msg::CanFrame>(