ADD: added prototype of sensormanager

This commit is contained in:
Henry Winkel
2024-02-12 18:43:53 +01:00
parent fc7fe2193b
commit cfe2aff5ce
11 changed files with 396 additions and 14 deletions

View File

@@ -4,6 +4,7 @@
#include "DirectCommunicationServer.hpp"
#include "Entities/Movement.hpp"
#include "Entities/SensorManager.hpp"
#include "SimCore/Messages/SimTrack.hpp"
#include "SimCore/Orientation.hpp"
#include "SimCore/SafeMap.hpp"
@@ -59,6 +60,7 @@ namespace Entities {
std::string GroundTruthAddr,
std::uint32_t GroundTruthPort,
ushort CommandPort,
ushort SensorPort,
bool online);
~Entity();
@@ -89,11 +91,12 @@ namespace Entities {
SimCore::Side::EntitySide EntitySide_;
double RCS_;
ushort MovemntWorkerPort_;
ushort SensorPort_;
std::unique_ptr<kubecontrol::PodController> PodController_;
std::shared_ptr<kubecontrol::PodController> PodController_;
std::unique_ptr<SensorManager> SensorManager_;
std::shared_ptr<WHISPER::InternalUDPSender> BroadcastServer_;
@@ -105,6 +108,7 @@ namespace Entities {
private:
bool online_;
std::vector<std::thread> threads;
std::atomic<bool> stopMainLoop = false;