ADD: added automatic delete of lost tracks
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user