Follow cartographer-project/cartographer#1759. (#1525)
Signed-off-by: Wolfgang Hess <whess@lyft.com>master
parent
868d147fb5
commit
8064b8f9b7
|
@ -51,8 +51,9 @@ RosMapWritingPointsProcessor::FromDictionary(
|
|||
|
||||
void RosMapWritingPointsProcessor::Process(
|
||||
std::unique_ptr<::cartographer::io::PointsBatch> batch) {
|
||||
range_data_inserter_.Insert({batch->origin, batch->points, {}},
|
||||
&probability_grid_);
|
||||
range_data_inserter_.Insert(
|
||||
{batch->origin, ::cartographer::sensor::PointCloud(batch->points), {}},
|
||||
&probability_grid_);
|
||||
next_->Process(std::move(batch));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue