mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-04 08:47:45 +08:00
OdometryROS: added more info to imu/data sync error log
This commit is contained in:
+1
-1
@@ -530,7 +530,7 @@ void OdometryROS::processData(const SensorData & data, const ros::Time & stamp)
|
||||
// keep in cache to process later when we will receive imu msgs
|
||||
if(bufferedData_.isValid())
|
||||
{
|
||||
NODELET_ERROR("Overwriting previous data! Make sure IMU is published faster than data rate.");
|
||||
NODELET_ERROR("Overwriting previous data! Make sure IMU is published faster than data rate. (last image stamp buffered=%f and new one is %f, last imu stamp received=%f)", bufferedData_.stamp(), data.stamp(), imus_.empty()?0:imus_.rbegin()->first);
|
||||
}
|
||||
bufferedData_ = data;
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user