ADD: added Json Library,

FIX: fixed issue with dealing with GroundThruthTracks to using sharedpointer
This commit is contained in:
Henry Winkel
2023-02-17 09:03:38 +01:00
parent 9d76994e31
commit 422fdd4e7a
4 changed files with 32 additions and 12 deletions

View File

@@ -15,7 +15,7 @@
#include <memory>
#include <thread>
namespace SimCore {
namespace Entities {
class Sensor {
public:
@@ -25,7 +25,7 @@ namespace SimCore {
void stop();
protected:
std::shared_ptr<WHISPER::threadSafeQueue<SimCore::GroundTruthTrack>> incommingTrackMessages = nullptr;
std::shared_ptr<WHISPER::threadSafeQueue<std::shared_ptr<SimCore::GroundTruthTrack>>> incommingTrackMessages = nullptr;
std::shared_ptr<WHISPER::threadSafeQueue<WHISPER::Message>> incommingGroundThruthMessages = nullptr;
@@ -37,7 +37,7 @@ namespace SimCore {
virtual void specificSensorCalculations() = 0;
virtual void specificReloadCharacteristicts() = 0;
std::shared_ptr<Position> ownShipPosition_ = nullptr;
std::shared_ptr<SimCore::Position> ownShipPosition_ = nullptr;
private: