Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…1525)

Signed-off-by: Wolfgang Hess <[email protected]>
  • Loading branch information
wohe authored Oct 13, 2020
1 parent 868d147 commit 8064b8f
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}

Expand Down

0 comments on commit 8064b8f

Please sign in to comment.