Commit 701397f2 authored by wangdawei's avatar wangdawei

test

parent 0e8103bf
...@@ -64,7 +64,7 @@ void AdjustPPK::ReadBag(const string &bagPath) ...@@ -64,7 +64,7 @@ void AdjustPPK::ReadBag(const string &bagPath)
LOG_EVERY_N(INFO, 1) << "processScan"; LOG_EVERY_N(INFO, 1) << "processScan";
PPointCloud cloud; PPointCloud cloud;
if(convert_->processScan(m.instantiate<pandar_msgs::PandarScan>(), cloud)){ if(convert_->processScan(m.instantiate<pandar_msgs::PandarScan>(), cloud)){
pcl::io::savePCDFileBinary(ieBaseDir_ + to_string(cloud.header.stamp) + ".pcd", cloud); pcl::io::savePCDFileBinary(ieBaseDir_ + "/" + to_string(cloud.header.stamp) + ".pcd", cloud);
// OnReceivedCloud(cloud); // OnReceivedCloud(cloud);
} }
} }
......
...@@ -209,7 +209,6 @@ bool Convert::processScan( ...@@ -209,7 +209,6 @@ bool Convert::processScan(
for (size_t next = 0; next < scanMsg->packets.size(); ++next) { for (size_t next = 0; next < scanMsg->packets.size(); ++next) {
pushLiDARData(scanMsg->packets[next]); pushLiDARData(scanMsg->packets[next]);
} }
LOG(INFO) << "processPacket";
return processPacket(pc); return processPacket(pc);
} }
...@@ -1431,7 +1430,6 @@ bool Convert::processPacket(PPointCloud& pc) ...@@ -1431,7 +1430,6 @@ bool Convert::processPacket(PPointCloud& pc)
// usleep(1000); // usleep(1000);
return false; return false;
} }
LOG(INFO) << "init";
init(); init();
if (0 == checkLiadaMode()) { if (0 == checkLiadaMode()) {
ROS_WARN("checkLiadaMode now!!"); ROS_WARN("checkLiadaMode now!!");
......
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