Skip to content
Snippets Groups Projects
Commit 1e9db342 authored by César DEBEUNNE's avatar César DEBEUNNE :bicyclist:
Browse files

Correct bug preprocess()

parent 9613303e
No related branches found
No related tags found
2 merge requests!36After cmake and const refactor,!28Resolve "Building a new visual odometry system"
......@@ -218,7 +218,7 @@ void ProcessorVisualOdometry::preProcess()
// And create a filtered map for last keypoints
KeyPointsMap mwkps_last_filtered;
for (auto track: tracks_last_incoming_filtered){
mwkps_last_filtered.at(track.first) = mwkps_last.at(track.first);
mwkps_last_filtered[track.first] = mwkps_last[track.first];
size_t last_kp_id = track.first;
cell_grid_.hitCell(capture_image_last_->getKeyPoints().at(last_kp_id).getCvKeyPoint());
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment