//these features are set as the predetected features in last to processing an image
//these features are set as the predetected features in last to processing an image
prc_obj->setLastDetections(features_in);
prc_obj->setLastDetections(features_in);
// at this point we have 0 detections in last, 2 detections in predetected features with different ids, thus we should have 2 new detected features (if max_features set to >= 2)
// at this point we have 0 detections in last, 2 detections in predetected features with different ids, thus we should have 2 new detected features (if max_features set to >= 2)
prc_obj->detectNewFeatures(2,C1,features_out);
prc_obj->detectNewFeatures(2,C1,features_out);
// ASSERT_EQ(features_out.size(), 2); // TOFIX!!
ASSERT_EQ(features_out.size(),2);// TOFIX!!
// Put some of the features in the graph with emplaceLandmark() and detect some of them as well as others with detectNewFeatures() running again.
// Put some of the features in the graph with emplaceLandmark() and detect some of them as well as others with detectNewFeatures() running again.
WOLF_WARN("call to function emplaceLandmark() in unit test for detectNewFeatures().")
WOLF_WARN("call to function emplaceLandmark() in unit test for detectNewFeatures().")