From 1514f71b30ee974592d4b6a6c13556a2aade3bfe Mon Sep 17 00:00:00 2001 From: Holger Rapp Date: Wed, 3 May 2017 11:56:37 +0200 Subject: [PATCH] Track Cartographer API. (#320) --- cartographer_ros/cartographer_ros/assets_writer.cc | 5 ----- 1 file changed, 5 deletions(-) diff --git a/cartographer_ros/cartographer_ros/assets_writer.cc b/cartographer_ros/cartographer_ros/assets_writer.cc index 76249a5..9ff3939 100644 --- a/cartographer_ros/cartographer_ros/assets_writer.cc +++ b/cartographer_ros/cartographer_ros/assets_writer.cc @@ -78,11 +78,6 @@ void Write3DAssets(const std::vector<::cartographer::mapping::TrajectoryNode>& auto points_batch = carto::common::make_unique(); points_batch->origin = range_data.origin; points_batch->points = range_data.returns; - for (const uint8 reflectivity : - node.constant_data->range_data_3d.reflectivities) { - points_batch->colors.push_back( - carto::io::Color{{reflectivity, reflectivity, reflectivity}}); - } ply_writing_points_processor.Process(std::move(points_batch)); } ply_writing_points_processor.Flush();