FIX: fixed issue with locking
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
#include "SimControl/SimControl.hpp"
|
||||
|
||||
#include "SimCore/Messages/SensorTrack.hpp"
|
||||
#include "nlohmann/json_fwd.hpp"
|
||||
#include <fstream>
|
||||
#include <future>
|
||||
@@ -95,7 +96,7 @@ void addTracksToTracklistUpdate(SimCore::TracklistUpdate *update, int amount)
|
||||
for(int i = 0; i < amount; i++)
|
||||
{
|
||||
std::string name = "test1-" + std::to_string(i);
|
||||
auto track = std::make_shared<SimCore::SimTrack>(name,SimCore::Kind::EntityKind::SURFACE,SimCore::Side::NEUTRAL);
|
||||
auto track = std::make_shared<SimCore::SensorTrack>(name,SimCore::Kind::EntityKind::SURFACE,SimCore::Side::NEUTRAL);
|
||||
SimCore::Position pos;
|
||||
double lat = fRand(-90, 90);
|
||||
double lon = fRand(-180, 180);
|
||||
|
||||
Reference in New Issue
Block a user