diff --git a/include/SimCore/Messages/SimTrack.hpp b/include/SimCore/Messages/SimTrack.hpp index 5ae2e2a..7763732 100644 --- a/include/SimCore/Messages/SimTrack.hpp +++ b/include/SimCore/Messages/SimTrack.hpp @@ -63,7 +63,7 @@ namespace SimCore /// @brief creates a SimTrack out of a string message /// @param msg /// @return SimTrack Oject - static std::unique_ptr unpack(std::string msg); + static std::unique_ptr unpack(std::string msgString); public: Data Speed; diff --git a/include/SimCore/SimCore.hpp b/include/SimCore/SimCore.hpp index 68a969b..1d558a4 100644 --- a/include/SimCore/SimCore.hpp +++ b/include/SimCore/SimCore.hpp @@ -69,6 +69,7 @@ enum EffectorKind : std::uint32_t { enum TrackKind : std::uint8_t { UNKNOWN_TRACK, + SIM_TRACK, GROUND_TRUTH_TRACK, OWN_TRACK, RADAR_TRACK, diff --git a/libs/whisper-com b/libs/whisper-com index b94f852..1d154f7 160000 --- a/libs/whisper-com +++ b/libs/whisper-com @@ -1 +1 @@ -Subproject commit b94f8521372fe571f58a6a7421e9ddff07473208 +Subproject commit 1d154f71d48c707e02de9f244edd8fb8d6635828 diff --git a/src/SimCore/Messages/SimTrack.cpp b/src/SimCore/Messages/SimTrack.cpp index a58d2ea..2027337 100644 --- a/src/SimCore/Messages/SimTrack.cpp +++ b/src/SimCore/Messages/SimTrack.cpp @@ -70,7 +70,7 @@ namespace SimCore WHISPER::Message SimTrack::buildMessage() { - WHISPER::Message msg(ID_.getUUID(),WHISPER::MsgTopics::TRACK , WHISPER::MsgType::GROUND_TRUTH_TRACK, this->SourceType_); + WHISPER::Message msg(ID_.getUUID(),WHISPER::MsgTopics::TRACK , WHISPER::MsgType::SIM_TRACK, this->SourceType_); messages::SimTrack::SimTrack SimTrack; @@ -202,11 +202,11 @@ namespace SimCore - std::unique_ptr SimTrack::unpack(std::string msg) + std::unique_ptr SimTrack::unpack(std::string msgString) { - if (std::empty(msg) == false && msg != "NULL") + if (std::empty(msgString) == false && msgString != "NULL") { - WHISPER::Message whisperMessage(msg); + WHISPER::Message whisperMessage(msgString); return std::make_unique(std::move(unpack(whisperMessage))); }