引入PID控制器并更新相关功能

在多个文件中进行了重要更改:
- 更新 `Driver.rc` 和 `resource.h` 的二进制文件。
- 在 `Driver.vcxproj` 中添加了多线程调试DLL的运行库设置。
- 引入 `pid_controller.h` 和 `pid_controller.cpp`,实现PID控制器功能。
- 在 `DriverMainDlg.cpp` 中添加了对PID控制的支持,包括新成员变量和方法。
- 增加了自动发送和车辆位置更新的功能。
- 在 `Protocol.h` 中添加了新的消息类型 `GUIDE_FAST`。
This commit is contained in:
CaiXiang
2025-06-16 11:16:20 +08:00
parent 88acb23465
commit 4be62027c6
12 changed files with 414 additions and 106 deletions

View File

@@ -86,7 +86,6 @@ void CQrMainDialog::AddLog2Edit(CString strMsg)
str += "\r\n";
m_EditMultiLine.SetWindowText(str);
m_EditMultiLine.LineScroll(m_EditMultiLine.GetLineCount());
}
@@ -142,9 +141,8 @@ void CQrMainDialog::ProcessPipeMsg(int lMsgId, char* pData, int lLen)
BOOL CQrMainDialog::OnInitDialog()
{
CDialogEx::OnInitDialog();
CString strPipe;
for (int i = 0; i < __argc; i++)
{
if (0 == strcmp(__argv[i], "-pipe") && i + 1 < __argc)