调整通讯协议udp+uart
This commit is contained in:
+2
-2
@@ -43,10 +43,10 @@ AppContext::AppContext(QObject* parent)
|
||||
if (!m_settings->contains(keyAirFlow())) m_settings->setValue(keyAirFlow(), 100);
|
||||
if (!m_settings->contains("param/pwd")) m_settings->setValue("param/pwd", "6789");
|
||||
|
||||
// 通信层(19 条 CAN 报文经 /dev/ttyS7 收发,见 comm/car.h)
|
||||
// 通信层(19 条 CAN 报文经 UDP 收发:收 9000 / 发 9001,见 comm/car.h)
|
||||
m_comm = new CarCommunication(&telemetry, this);
|
||||
|
||||
// 遥控器(串口 /dev/ttyS5,24 字节二进制帧,见 comm/uart.h)
|
||||
// 遥控器(串口 /dev/ttyS7,24 字节二进制帧,见 comm/uart.h)
|
||||
m_rc = new RcCommunication(this);
|
||||
|
||||
// 通信层故障信号 → 写入故障历史
|
||||
|
||||
Reference in New Issue
Block a user