Commit 78ec7810 authored by wangdawei's avatar wangdawei

test

parent c2072fa9
......@@ -106,7 +106,7 @@ void AdjustPPK::OnReceivedCloud(const PPointCloud &cloud)
point.z = p.z;
point.intensity = p.intensity;
point.time = p.timestamp;
// LOG_EVERY_N(INFO, 1000) << setprecision(15) << "p.timestamp: " << p.timestamp;
LOG_EVERY_N(INFO, 1800) << setprecision(15) << "p.timestamp: " << p.timestamp;
cloudPacket.cloud.push_back(point);
}
exit(0);
......
......@@ -1267,9 +1267,9 @@ void Convert::calcPointXYZIT(const pandar_msgs::PandarPacket &packet, int cursor
point_index = (u16Azimuth - start_angle_) / m_iAngleSize * m_iLaserNum + i;
}
if(m_OutMsgArray[cursor]->points[point_index].ring == 0){
LOG_EVERY_N(INFO, 1800) << std::setprecision(15) << "point.timestamp: " << point.timestamp
<< " point_index: " << point_index
<< " azimuth: " << azimuth;
// LOG_EVERY_N(INFO, 1800) << std::setprecision(15) << "point.timestamp: " << point.timestamp
// << " point_index: " << point_index
// << " azimuth: " << azimuth;
m_OutMsgArray[cursor]->points[point_index] = point;
}
else{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment