From 68e1e05048b226f371d4a745d3ed4c73c392df71 Mon Sep 17 00:00:00 2001 From: Christian Forster Date: Wed, 30 Apr 2014 22:27:11 +0200 Subject: [PATCH] fixed locking problem --- svo/src/depth_filter.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/svo/src/depth_filter.cpp b/svo/src/depth_filter.cpp index 3e9fdfd..8ce79da 100644 --- a/svo/src/depth_filter.cpp +++ b/svo/src/depth_filter.cpp @@ -127,7 +127,6 @@ void DepthFilter::initializeSeeds(FramePtr frame) }); SVO_DEBUG_STREAM("DepthFilter: Initialized "<ftr->frame->T_f_w_ * frame->T_f_w_.inverse(); - // check if point is visible in the current image + SE3 T_ref_cur = it->ftr->frame->T_f_w_ * frame->T_f_w_.inverse(); const Vector3d xyz_f(T_ref_cur.inverse()*(1.0/it->mu * it->ftr->f) ); if(xyz_f.z() < 0.0) { ++it; // behind the camera