17 #ifndef CARTOGRAPHER_ROS_CARTOGRAPHER_ROS_ROS_MAP_WRITING_POINTS_PROCESSOR_H 18 #define CARTOGRAPHER_ROS_CARTOGRAPHER_ROS_ROS_MAP_WRITING_POINTS_PROCESSOR_H 25 #include "cartographer/mapping/proto/2d/probability_grid_range_data_inserter_options_2d.pb.h" 37 const ::cartographer::mapping::proto::
38 ProbabilityGridRangeDataInserterOptions2D&
39 range_data_inserter_options,
46 static std::unique_ptr<RosMapWritingPointsProcessor>
FromDictionary(
53 void Process(std::unique_ptr<::cartographer::io::PointsBatch> batch)
override;
67 #endif // CARTOGRAPHER_ROS_CARTOGRAPHER_ROS_ROS_MAP_WRITING_POINTS_PROCESSOR_H std::function< std::unique_ptr< FileWriter >(const std::string &filename)> FileWriterFactory
::cartographer::mapping::ProbabilityGrid probability_grid_
static std::unique_ptr< RosMapWritingPointsProcessor > FromDictionary(::cartographer::io::FileWriterFactory file_writer_factory, ::cartographer::common::LuaParameterDictionary *dictionary, PointsProcessor *next)
::cartographer::mapping::ProbabilityGridRangeDataInserter2D range_data_inserter_
::cartographer::io::FileWriterFactory file_writer_factory_
FlushResult Flush() override
const std::string filestem_
~RosMapWritingPointsProcessor() override
void Process(std::unique_ptr<::cartographer::io::PointsBatch > batch) override
RosMapWritingPointsProcessor & operator=(const RosMapWritingPointsProcessor &)=delete
static constexpr const char * kConfigurationFileActionName
PointsProcessor *const next_
RosMapWritingPointsProcessor(double resolution, const ::cartographer::mapping::proto::ProbabilityGridRangeDataInserterOptions2D &range_data_inserter_options, ::cartographer::io::FileWriterFactory file_writer_factory, const std::string &filestem, PointsProcessor *next)