mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-05 01:07:49 +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
|
// keep in cache to process later when we will receive imu msgs
|
||||||
if(bufferedData_.isValid())
|
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;
|
bufferedData_ = data;
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user