mirror of
https://github.com/karma-riuk/hdr_esim.git
synced 2024-11-23 14:47:50 +01:00
Fix bug/typo in data_provider_online #16
This commit is contained in:
parent
73cecac7d1
commit
980f97e392
@ -43,7 +43,7 @@ DataProviderOnlineMoving3DCameraRig::DataProviderOnlineMoving3DCameraRig(ze::rea
|
|||||||
// Compute Field-of-Views for information
|
// Compute Field-of-Views for information
|
||||||
const ze::Camera::Ptr camera = camera_rig_->atShared(0);
|
const ze::Camera::Ptr camera = camera_rig_->atShared(0);
|
||||||
const int width = camera->width();
|
const int width = camera->width();
|
||||||
const int height = camera->height();
|
const int height = camera->height();
|
||||||
|
|
||||||
const ze::real_t horizontal_fov =
|
const ze::real_t horizontal_fov =
|
||||||
180.0 / CV_PI *
|
180.0 / CV_PI *
|
||||||
@ -365,7 +365,7 @@ bool DataProviderOnlineMoving3DCameraRig::spinOnce()
|
|||||||
sampleImu();
|
sampleImu();
|
||||||
setImuUpdated();
|
setImuUpdated();
|
||||||
}
|
}
|
||||||
else if(next_t_flow_ < next_t_imu && next_t_flow_ < next_t_imu)
|
else if(next_t_flow_ < next_t_imu && next_t_flow_ < next_t_frame)
|
||||||
{
|
{
|
||||||
VLOG(2) << "Sample frame (because of optic flow)";
|
VLOG(2) << "Sample frame (because of optic flow)";
|
||||||
t_ = next_t_flow_;
|
t_ = next_t_flow_;
|
||||||
|
Loading…
Reference in New Issue
Block a user