Added assert on PointCloud2 format (#560). rtabmap.launch: added gdb option for convenience.

This commit is contained in:
matlabbe
2021-03-27 21:51:06 -04:00
parent e7dd6cacbf
commit b9c7efdc8a
6 changed files with 14 additions and 5 deletions
+2 -1
View File
@@ -507,7 +507,8 @@ void OdometryROS::processData(SensorData & data, const std_msgs::Header & header
{
if(previousStamp_>0.0 && previousStamp_ >= header.stamp.toSec())
{
NODELET_WARN("Odometry: Detected not valid consecutive stamps (previous=%fs new=%fs). New stamp should be always greater than previous stamp. This new data is ignored. This message will appear only once.",
NODELET_WARN("Odometry: Detected not valid consecutive stamps (previous=%fs new=%fs). "
"New stamp should be always greater than previous stamp. This new data is ignored.",
previousStamp_, header.stamp.toSec());
return;
}