修改了mqtt上报中车速的计算逻辑
This commit is contained in:
parent
14f3373626
commit
56579ea5e2
@ -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反馈的回调函数
|
||||||
can_sub_ = this->create_subscription<mc::msg::CanFrame>(
|
can_sub_ = this->create_subscription<mc::msg::CanFrame>(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user