Fix bug/typo in data_provider_online #16

This commit is contained in:
Henri Rebecq 2019-03-22 12:32:06 +01:00
parent 73cecac7d1
commit 980f97e392

View File

@ -365,7 +365,7 @@ bool DataProviderOnlineMoving3DCameraRig::spinOnce()
sampleImu();
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)";
t_ = next_t_flow_;