Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Private Attributes
cartographer::io::ProbabilityGridPointsProcessor Class Reference

#include <probability_grid_points_processor.h>

Inheritance diagram for cartographer::io::ProbabilityGridPointsProcessor:
Inheritance graph
[legend]

List of all members.

Public Types

enum  DrawTrajectories { kNo, kYes }
enum  OutputType { kPng, kPb }

Public Member Functions

FlushResult Flush () override
ProbabilityGridPointsProcessoroperator= (const ProbabilityGridPointsProcessor &)
 ProbabilityGridPointsProcessor (double resolution, const mapping::proto::ProbabilityGridRangeDataInserterOptions2D &probability_grid_range_data_inserter_options, const DrawTrajectories &draw_trajectories, const OutputType &output_type, std::unique_ptr< FileWriter > file_writer, const std::vector< mapping::proto::Trajectory > &trajectories, PointsProcessor *next)
 ProbabilityGridPointsProcessor (const ProbabilityGridPointsProcessor &)
void Process (std::unique_ptr< PointsBatch > batch) override
 ~ProbabilityGridPointsProcessor () override

Static Public Member Functions

static std::unique_ptr
< ProbabilityGridPointsProcessor
FromDictionary (const std::vector< mapping::proto::Trajectory > &trajectories, const FileWriterFactory &file_writer_factory, common::LuaParameterDictionary *dictionary, PointsProcessor *next)

Static Public Attributes

static constexpr const char * kConfigurationFileActionName = "write_probability_grid"

Private Attributes

mapping::ValueConversionTables conversion_tables_
const DrawTrajectories draw_trajectories_
std::unique_ptr< FileWriterfile_writer_
PointsProcessor *const next_
const OutputType output_type_
mapping::ProbabilityGrid probability_grid_
mapping::ProbabilityGridRangeDataInserter2D range_data_inserter_
const std::vector
< mapping::proto::Trajectory > 
trajectories_

Detailed Description

Definition at line 39 of file probability_grid_points_processor.h.


Member Enumeration Documentation

Enumerator:
kNo 
kYes 

Definition at line 43 of file probability_grid_points_processor.h.

Enumerator:
kPng 
kPb 

Definition at line 44 of file probability_grid_points_processor.h.


Constructor & Destructor Documentation

cartographer::io::ProbabilityGridPointsProcessor::ProbabilityGridPointsProcessor ( double  resolution,
const mapping::proto::ProbabilityGridRangeDataInserterOptions2D &  probability_grid_range_data_inserter_options,
const DrawTrajectories draw_trajectories,
const OutputType output_type,
std::unique_ptr< FileWriter file_writer,
const std::vector< mapping::proto::Trajectory > &  trajectories,
PointsProcessor next 
)

Definition at line 81 of file probability_grid_points_processor.cc.

Definition at line 63 of file probability_grid_points_processor.h.


Member Function Documentation

std::unique_ptr< ProbabilityGridPointsProcessor > cartographer::io::ProbabilityGridPointsProcessor::FromDictionary ( const std::vector< mapping::proto::Trajectory > &  trajectories,
const FileWriterFactory &  file_writer_factory,
common::LuaParameterDictionary dictionary,
PointsProcessor next 
) [static]

Definition at line 104 of file probability_grid_points_processor.cc.

ProbabilityGridPointsProcessor& cartographer::io::ProbabilityGridPointsProcessor::operator= ( const ProbabilityGridPointsProcessor )
void cartographer::io::ProbabilityGridPointsProcessor::Process ( std::unique_ptr< PointsBatch batch) [override, virtual]

Member Data Documentation

Definition at line 75 of file probability_grid_points_processor.h.

Definition at line 69 of file probability_grid_points_processor.h.

Definition at line 72 of file probability_grid_points_processor.h.

constexpr const char* cartographer::io::ProbabilityGridPointsProcessor::kConfigurationFileActionName = "write_probability_grid" [static]

Definition at line 41 of file probability_grid_points_processor.h.

Definition at line 73 of file probability_grid_points_processor.h.

Definition at line 70 of file probability_grid_points_processor.h.

Definition at line 76 of file probability_grid_points_processor.h.

Definition at line 74 of file probability_grid_points_processor.h.

const std::vector<mapping::proto::Trajectory> cartographer::io::ProbabilityGridPointsProcessor::trajectories_ [private]

Definition at line 71 of file probability_grid_points_processor.h.


The documentation for this class was generated from the following files:


cartographer
Author(s): The Cartographer Authors
autogenerated on Thu May 9 2019 02:27:36