ADD: updated Libraries and tests
This commit is contained in:
@@ -14,26 +14,26 @@ class Radar : public Entities::Sensor
|
||||
Radar(SimCore::Identifier OwnID,
|
||||
SimCore::Identifier ParentID,
|
||||
SimCore::SensorKinds SensorKind,
|
||||
std::string GroundTruthAddress,
|
||||
std::uint32_t GroundTruthPort,
|
||||
std::uint32_t ParentPort,
|
||||
std::string ParentIPAddress,
|
||||
std::string radarType):Sensor(OwnID, ParentID, SensorKind, GroundTruthPort, ParentPort, ParentIPAddress),radarType_(radarType)
|
||||
std::string radarType):Sensor(OwnID, ParentID, SensorKind,GroundTruthAddress, GroundTruthPort, ParentPort, ParentIPAddress),radarType_(radarType)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
private:
|
||||
std::string radarType_;
|
||||
|
||||
void specificSensorCalculations() override
|
||||
void specificSensorCalculations(std::unique_ptr<SimCore::SimTrack> track) override
|
||||
{
|
||||
LOG_S(INFO)<<"calculating";
|
||||
};
|
||||
|
||||
void specificReloadCharacteristicts() override
|
||||
{
|
||||
LOG_S(INFO)<<"loading specifications";
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
|
||||
@@ -46,7 +46,7 @@ SCENARIO("Testing the SimCore Sensor")
|
||||
SimCore::Identifier IDParent;
|
||||
SimCore::Identifier IDRadar;
|
||||
|
||||
Radar Radar(IDRadar,IDParent,SimCore::SensorKinds::RADAR,8000,8001,"127.0.0.1","APAR");
|
||||
Radar Radar(IDRadar,IDParent,SimCore::SensorKinds::RADAR,"239.0.0.1",8000,8001,"127.0.0.1","APAR");
|
||||
Radar.start();
|
||||
|
||||
WHEN("constructing Track Object with data")
|
||||
|
||||
Reference in New Issue
Block a user