fix(models): move value

This commit is contained in:
TinyOh 2019-02-13 16:10:54 +08:00
parent 5a1fbfd55b
commit e899f7cc1c

View File

@ -460,8 +460,8 @@ void Synthetic::InitProcessors() {
auto &&rectify_processor_ocv = auto &&rectify_processor_ocv =
std::make_shared<RectifyProcessorOCV>(intr_left_, intr_right_, extr_, std::make_shared<RectifyProcessorOCV>(intr_left_, intr_right_, extr_,
RECTIFY_PROC_PERIOD); RECTIFY_PROC_PERIOD);
rectify_processor = rectify_processor_ocv;
Q = rectify_processor_ocv->Q; Q = rectify_processor_ocv->Q;
rectify_processor = rectify_processor_ocv;
#ifdef WITH_CAM_MODELS #ifdef WITH_CAM_MODELS
} else if (calib_model_ == CalibrationModel::KANNALA_BRANDT) { } else if (calib_model_ == CalibrationModel::KANNALA_BRANDT) {
rectify_processor_imp = rectify_processor_imp =