Skip to content

Commit

Permalink
Merge branch 'master' of github.mit.edu:SPARK/Kimera-VIO-ROS
Browse files Browse the repository at this point in the history
* 'master' of github.mit.edu:SPARK/Kimera-VIO-ROS:
  Fix imu_shift_ to imu_time_shift_
  • Loading branch information
ToniRV committed Dec 9, 2020
2 parents d1c1b1b + c9fac47 commit 61119ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RosOnlineDataProvider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ void RosOnlineDataProvider::callbackIMU(
// Adapt imu timestamp to account for time shift in IMU-cam
Timestamp timestamp = imu_msg->header.stamp.toNSec();

const ros::Duration imu_shift(vio_params_.imu_params_.imu_shift_);
const ros::Duration imu_shift(vio_params_.imu_params_.imu_time_shift_);
if (imu_shift != ros::Duration(0)) {
LOG_EVERY_N(WARNING, 1000) << "imu_shift is not 0.";
timestamp -= imu_shift.toNSec();
Expand Down

0 comments on commit 61119ed

Please sign in to comment.