调整通讯协议udp+uart

This commit is contained in:
xu
2026-10-14 10:33:58 +08:00
parent 950e9e6c9e
commit 124e92b95f
7 changed files with 61 additions and 69 deletions
+2 -2
View File
@@ -36,8 +36,8 @@ struct RcFrame {
Q_DECLARE_METATYPE(RcFrame)
// ===================== 遥控器串口接收层 =====================
// 独占 rc/device(默认 /dev/ttyS5),115200 / 8 数据位 / 1 停止位 / 无校验,
// 与车端 /dev/ttyS7(见 car.h)互不干扰。
// 独占 rc/device(默认 /dev/ttyS7),115200 / 8 数据位 / 1 停止位 / 无校验。
// 车端 CAN 改走 UDP(见 car.h,收 9000 / 发 9001),不再占用串口。
// 只负责收包、校验、解析与链路超时判定,不决定遥控器数据的用途。
class RcCommunication : public QObject
{