FIX: fixed Sensor constructor and Track class

This commit is contained in:
Henry Winkel
2023-01-19 17:44:40 +01:00
parent 46ba46a260
commit 63c9757ec3
3 changed files with 4 additions and 2 deletions

2
.gitmodules vendored
View File

@@ -1,3 +1,3 @@
[submodule "libs/whisper-com"]
path = libs/whisper-com
url = https://dev-gitea.ftewa.ti.unibw-hamburg.de/hwinkel/whisper-com.git
url = ssh://git@dev-gitea.ftewa.ti.unibw-hamburg.de:12000/hwinkel/whisper-com.git

View File

@@ -44,6 +44,8 @@ namespace SimCore {
public:
Track(){};
/**
* @brief a cuntructor that builds the object from a received message
* @param std::string the received thring from the line

View File

@@ -23,7 +23,7 @@ namespace SimCore {
incommingTrackMessages = std::make_shared<WHISPER::threadSafeQueue<SimCore::Track>>();
GroundTruthUDPService_ = std::make_shared<WHISPER::InternalUDPService>(OwnID.getParentNumber(),OwnID.getNumber(),WHISPER::SENSOR,8000,SimCore::UtilFunctions::implode(ip,'.'),ownIP);
GroundTruthUDPService_ = std::make_shared<WHISPER::InternalUDPService>(OwnID.getParentNumber(),OwnID.getNumber(),WHISPER::SENSOR,GroundTruthPort_,SimCore::UtilFunctions::implode(ip,'.'),ownIP);
ParentUDPService_ = std::make_shared<WHISPER::InternalUDPService>(OwnID.getParentNumber(),OwnID.getNumber(),WHISPER::SENSOR,ParentPort,ParentIPAddress_,ownIP);