删除了多余文件

This commit is contained in:
2023-11-29 14:13:48 +08:00
133 changed files with 343 additions and 153 deletions

0
src/CMakeLists.txt Normal file → Executable file
View File

0
src/pBoardSupportComm/BoardSupportComm.cpp Normal file → Executable file
View File

0
src/pBoardSupportComm/BoardSupportComm.h Normal file → Executable file
View File

0
src/pBoardSupportComm/BoardSupportComm_Info.cpp Normal file → Executable file
View File

0
src/pBoardSupportComm/BoardSupportComm_Info.h Normal file → Executable file
View File

0
src/pBoardSupportComm/CMakeLists.txt Normal file → Executable file
View File

0
src/pBoardSupportComm/main.cpp Normal file → Executable file
View File

0
src/pBoardSupportComm/pBoardSupportComm.moos Normal file → Executable file
View File

0
src/pClientViewer/Behavior.pb.h Normal file → Executable file
View File

0
src/pClientViewer/CMakeLists.txt Normal file → Executable file
View File

0
src/pClientViewer/ClientViewer.cpp Normal file → Executable file
View File

0
src/pClientViewer/ClientViewer.h Normal file → Executable file
View File

0
src/pClientViewer/ClientViewer_Info.cpp Normal file → Executable file
View File

0
src/pClientViewer/ClientViewer_Info.h Normal file → Executable file
View File

0
src/pClientViewer/main.cpp Normal file → Executable file
View File

0
src/pClientViewer/pClientViewer.moos Normal file → Executable file
View File

0
src/pDataManagement/CMakeLists.txt Normal file → Executable file
View File

0
src/pDataManagement/DataManagement.cpp Normal file → Executable file
View File

0
src/pDataManagement/DataManagement.h Normal file → Executable file
View File

0
src/pDataManagement/DataManagement_Info.cpp Normal file → Executable file
View File

0
src/pDataManagement/DataManagement_Info.h Normal file → Executable file
View File

0
src/pDataManagement/main.cpp Normal file → Executable file
View File

0
src/pDataManagement/pDataManagement.moos Normal file → Executable file
View File

0
src/pEmulator/.LastOpenedMOOSLogDirectory Normal file → Executable file
View File

0
src/pEmulator/CMakeLists.txt Normal file → Executable file
View File

0
src/pEmulator/Emulator.cpp Normal file → Executable file
View File

0
src/pEmulator/Emulator.hpp Normal file → Executable file
View File

0
src/pEmulator/_150server.cpp Normal file → Executable file
View File

0
src/pEmulator/_150server.hpp Normal file → Executable file
View File

0
src/pEmulator/a.moos Normal file → Executable file
View File

0
src/pEmulator/alpha.bhv Normal file → Executable file
View File

0
src/pEmulator/main.cpp Normal file → Executable file
View File

0
src/pEmulator/pEmulator.moos Normal file → Executable file
View File

0
src/pFaultHandle/CMakeLists.txt Normal file → Executable file
View File

0
src/pFaultHandle/FaultHandle.cpp Normal file → Executable file
View File

0
src/pFaultHandle/FaultHandle.h Normal file → Executable file
View File

0
src/pFaultHandle/FaultHandle_Info.cpp Normal file → Executable file
View File

0
src/pFaultHandle/FaultHandle_Info.h Normal file → Executable file
View File

0
src/pFaultHandle/main.cpp Normal file → Executable file
View File

0
src/pFaultHandle/pFaultHandle.moos Normal file → Executable file
View File

0
src/pMotionControler/CMakeLists.txt Normal file → Executable file
View File

0
src/pMotionControler/ControlParam.json Normal file → Executable file
View File

0
src/pMotionControler/Controler.cpp Normal file → Executable file
View File

0
src/pMotionControler/Controler.hpp Normal file → Executable file
View File

0
src/pMotionControler/MotionControler.cpp Normal file → Executable file
View File

0
src/pMotionControler/MotionControler.hpp Normal file → Executable file
View File

0
src/pMotionControler/a.moos Normal file → Executable file
View File

0
src/pMotionControler/alpha.bhv Normal file → Executable file
View File

0
src/pMotionControler/alpha.moos Normal file → Executable file
View File

0
src/pMotionControler/main.cpp Normal file → Executable file
View File

0
src/pMotionControler/pidControl.cpp Normal file → Executable file
View File

0
src/pMotionControler/pidControl.hpp Normal file → Executable file
View File

0
src/pMotionControler/simMat.moos Normal file → Executable file
View File

6
src/pStateManagement/CMakeLists.txt Normal file → Executable file
View File

@@ -17,6 +17,9 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR})
#find_package (jsoncpp NO_MODULE REQUIRED)
find_package (GeographicLib REQUIRED)
include_directories(${GeographicLib_INCLUDE_DIRS})
include_directories(/usr/include/jsoncpp/)
link_directories(/usr/local/lib/)
@@ -26,7 +29,8 @@ TARGET_LINK_LIBRARIES(pStateManagement
${MOOS_LIBRARIES}
${CMAKE_DL_LIBS}
${SYSTEM_LIBS}
${DUNE_LIB}
${DUNE_LIB}
${GeographicLib_LIBRARIES}
mbutil
m
pthread

9
src/pStateManagement/StateManagement.cpp Normal file → Executable file
View File

@@ -9,6 +9,7 @@
#include "MBUtils.h"
#include "StateManagement.h"
#include <json/json.h>
#include <cmath>
using namespace std;
@@ -36,7 +37,6 @@ bool StateManagement::OnNewMail(MOOSMSG_LIST &NewMail)
for(p=NewMail.begin(); p!=NewMail.end(); p++) {
CMOOSMsg &msg = *p;
#if 1 // Keep these around just for template
string key = msg.GetKey();
string comm = msg.GetCommunity();
double dval = msg.GetDouble();
@@ -45,11 +45,10 @@ bool StateManagement::OnNewMail(MOOSMSG_LIST &NewMail)
double mtime = msg.GetTime();
bool mdbl = msg.IsDouble();
bool mstr = msg.IsString();
#endif
Json::Value deviceState;
Json::Value deviceState;
std::string manualState;
double missionState;
int missionState;
if(key == "uManual_enable_cmd")
{
@@ -84,7 +83,7 @@ bool StateManagement::OnNewMail(MOOSMSG_LIST &NewMail)
{
deviceState["opMode"] = opModeLists.service;
}
else if((missionState == 3) )
if((missionState == 3) )
{
deviceState["opMode"] = opModeLists.maneuver;
}

6
src/pStateManagement/StateManagement.h Normal file → Executable file
View File

@@ -9,6 +9,12 @@
#define StateManagement_HEADER
#include "MOOS/libMOOS/MOOSLib.h"
#include "MOOS/libMOOS/Thirdparty/AppCasting/AppCastingMOOSApp.h"
#include <DUNE/DUNE.hpp>
#include <GeographicLib/LocalCartesian.hpp>
#include <json/json.h>
#include <thread>
#include <chrono>
class StateManagement : public CMOOSApp
{

0
src/pStateManagement/StateManagement_Info.cpp Normal file → Executable file
View File

0
src/pStateManagement/StateManagement_Info.h Normal file → Executable file
View File

0
src/pStateManagement/main.cpp Normal file → Executable file
View File

0
src/pStateManagement/pStateManagement.moos Normal file → Executable file
View File

0
src/pSurfaceSupportComm/CMakeLists.txt Normal file → Executable file
View File

0
src/pSurfaceSupportComm/PeriodicTCPEvent.cpp Normal file → Executable file
View File

0
src/pSurfaceSupportComm/PeriodicTCPEvent.h Normal file → Executable file
View File

0
src/pSurfaceSupportComm/PeriodicUDPEvent.cpp Normal file → Executable file
View File

0
src/pSurfaceSupportComm/PeriodicUDPEvent.h Normal file → Executable file
View File

0
src/pSurfaceSupportComm/SurfaceSupportComm.cpp Normal file → Executable file
View File

0
src/pSurfaceSupportComm/SurfaceSupportComm.h Normal file → Executable file
View File

0
src/pSurfaceSupportComm/SurfaceSupportComm_Info.cpp Normal file → Executable file
View File

0
src/pSurfaceSupportComm/SurfaceSupportComm_Info.h Normal file → Executable file
View File

0
src/pSurfaceSupportComm/main.cpp Normal file → Executable file
View File

0
src/pSurfaceSupportComm/pSurfaceSupportComm.moos Normal file → Executable file
View File

0
src/pTaskManagement/CMakeLists.txt Normal file → Executable file
View File

0
src/pTaskManagement/TaskManger.cpp Normal file → Executable file
View File

0
src/pTaskManagement/TaskManger.h Normal file → Executable file
View File

0
src/pTaskManagement/TaskMangerMain.cpp Normal file → Executable file
View File

0
src/pTaskManagement/pTaskManger.moos Normal file → Executable file
View File

0
src/pTaskSend/CMakeLists.txt Normal file → Executable file
View File

0
src/pTaskSend/TaskSend.cpp Normal file → Executable file
View File

0
src/pTaskSend/TaskSend.h Normal file → Executable file
View File

0
src/pTaskSend/TaskSendMain.cpp Normal file → Executable file
View File

View File

0
src/pTaskSend/display.cpp Normal file → Executable file
View File

0
src/pTaskSend/display.h Normal file → Executable file
View File

0
src/pTaskSend/pTaskSend.moos Normal file → Executable file
View File