ADD: added automatic delete of lost tracks

This commit is contained in:
Henry Winkel
2024-03-14 17:48:54 +01:00
parent d56df03ed4
commit 87368640e2
5 changed files with 128 additions and 72 deletions

View File

@@ -242,7 +242,9 @@ SCENARIO("Testing the SimCore SensorManager with local sensors")
REQUIRE(SensorManager_->getTrackListUpdateRaw()->getSensors().size() == 4);
REQUIRE(SensorManager_->getTrackListUpdateRaw()->getSensors().at(0).getTracksCount() == 3);
std::this_thread::sleep_for(std::chrono::milliseconds(1000));
std::this_thread::sleep_for(std::chrono::milliseconds(10000));
REQUIRE(SensorManager_->getTrackListUpdateRaw()->getSensors().at(0).getTracksCount() == 0);
SensorManager_->stop();