From f47b198d6b0577b3fe30efe6a829eaae9d1cad05 Mon Sep 17 00:00:00 2001 From: zhaojingkui <1553836110@qq.com> Date: Tue, 28 Nov 2023 11:34:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BA=86=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E4=B8=AD=E7=9A=84=E8=AD=A6=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pEmulator/Emulator.cpp | 6 ++++-- src/pEmulator/Emulator.hpp | 6 +++--- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/pEmulator/Emulator.cpp b/src/pEmulator/Emulator.cpp index 7ae7d78..b0f9bfd 100644 --- a/src/pEmulator/Emulator.cpp +++ b/src/pEmulator/Emulator.cpp @@ -1,8 +1,8 @@ /* * @Author: zjk 1553836110@qq.com * @Date: 2023-10-12 09:52:27 - * @LastEditors: zjk 1553836110@qq.com - * @LastEditTime: 2023-11-21 15:28:32 + * @LastEditors: zhaojingkui 1553836110@qq.com + * @LastEditTime: 2023-11-28 11:32:48 * @FilePath: /moos-ivp-pi/src/pEmulator/Emulator.cpp * @Description: * @@ -207,6 +207,7 @@ bool Emulator::_150Connect() _150ServerThread.Start(); _150ConnectThread.RequestQuit(); isConnect = "Connected and start server"; + return true; } void Emulator::registerVariables() { @@ -377,6 +378,7 @@ bool Emulator::receiveUdpDate() } } } + return true; } void Emulator::set150Info() diff --git a/src/pEmulator/Emulator.hpp b/src/pEmulator/Emulator.hpp index fbd6b8c..bd7f386 100644 --- a/src/pEmulator/Emulator.hpp +++ b/src/pEmulator/Emulator.hpp @@ -1,8 +1,8 @@ /* * @Author: zjk 1553836110@qq.com * @Date: 2023-10-12 15:57:27 - * @LastEditors: zjk 1553836110@qq.com - * @LastEditTime: 2023-11-10 08:34:14 + * @LastEditors: zhaojingkui 1553836110@qq.com + * @LastEditTime: 2023-11-28 11:32:15 * @FilePath: /moos-ivp-pi/src/pEmulator/Emulator.hpp * @Description: * @@ -45,7 +45,7 @@ typedef struct uuv double lon; double lat; double alt; -}; +}uuv; class Emulator : public AppCastingMOOSApp {