fix(src): fixed error setting extrinsics
This commit is contained in:
parent
dd839a3cfd
commit
50509d539e
|
@ -58,7 +58,7 @@ void Synthetic::InitCalibInfo() {
|
||||||
intr_left_ = api_->GetIntrinsicsBase(Stream::LEFT);
|
intr_left_ = api_->GetIntrinsicsBase(Stream::LEFT);
|
||||||
intr_right_ = api_->GetIntrinsicsBase(Stream::RIGHT);
|
intr_right_ = api_->GetIntrinsicsBase(Stream::RIGHT);
|
||||||
extr_ = std::make_shared<Extrinsics>(
|
extr_ = std::make_shared<Extrinsics>(
|
||||||
api_->GetExtrinsics(Stream::LEFT, Stream::RIGHT));
|
api_->GetExtrinsics(Stream::RIGHT, Stream::LEFT));
|
||||||
}
|
}
|
||||||
|
|
||||||
Synthetic::Synthetic(API *api, CalibrationModel calib_model)
|
Synthetic::Synthetic(API *api, CalibrationModel calib_model)
|
||||||
|
@ -91,7 +91,7 @@ void Synthetic::NotifyImageParamsChanged() {
|
||||||
intr_left_ = api_->GetIntrinsicsBase(Stream::LEFT);
|
intr_left_ = api_->GetIntrinsicsBase(Stream::LEFT);
|
||||||
intr_right_ = api_->GetIntrinsicsBase(Stream::RIGHT);
|
intr_right_ = api_->GetIntrinsicsBase(Stream::RIGHT);
|
||||||
extr_ = std::make_shared<Extrinsics>(
|
extr_ = std::make_shared<Extrinsics>(
|
||||||
api_->GetExtrinsics(Stream::LEFT, Stream::RIGHT));
|
api_->GetExtrinsics(Stream::RIGHT, Stream::LEFT));
|
||||||
}
|
}
|
||||||
auto processor = getProcessorWithStream(Stream::LEFT_RECTIFIED);
|
auto processor = getProcessorWithStream(Stream::LEFT_RECTIFIED);
|
||||||
|
|
||||||
|
|
|
@ -713,7 +713,7 @@ void Device::UpdateStreamIntrinsics(
|
||||||
VLOG(2) << "Intrinsics left: {" << *GetIntrinsics(Stream::LEFT) << "}";
|
VLOG(2) << "Intrinsics left: {" << *GetIntrinsics(Stream::LEFT) << "}";
|
||||||
VLOG(2) << "Intrinsics right: {" << *GetIntrinsics(Stream::RIGHT) << "}";
|
VLOG(2) << "Intrinsics right: {" << *GetIntrinsics(Stream::RIGHT) << "}";
|
||||||
VLOG(2) << "Extrinsics left to right: {"
|
VLOG(2) << "Extrinsics left to right: {"
|
||||||
<< GetExtrinsics(Stream::LEFT, Stream::RIGHT) << "}";
|
<< GetExtrinsics(Stream::RIGHT, Stream::LEFT) << "}";
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user