17 #ifndef CARTOGRAPHER_MAPPING_MAP_BUILDER_H_ 18 #define CARTOGRAPHER_MAPPING_MAP_BUILDER_H_ 22 #include <unordered_map> 23 #include <unordered_set> 26 #include "Eigen/Geometry" 30 #include "cartographer/mapping/proto/map_builder_options.pb.h" 31 #include "cartographer/mapping/proto/submap_visualization.pb.h" 32 #include "cartographer/mapping/proto/trajectory_builder_options.pb.h" 44 common::LuaParameterDictionary*
const parameter_dictionary);
50 MapBuilder(
const proto::MapBuilderOptions& options);
58 const std::unordered_set<string>& expected_sensor_ids,
59 const proto::TrajectoryBuilderOptions& trajectory_options);
78 proto::SubmapQuery::Response* response);
99 #endif // CARTOGRAPHER_MAPPING_MAP_BUILDER_H_ std::unique_ptr< mapping_3d::SparsePoseGraph > sparse_pose_graph_3d_
int AddTrajectoryBuilder(const std::unordered_set< string > &expected_sensor_ids, const proto::TrajectoryBuilderOptions &trajectory_options)
std::vector< std::unique_ptr< mapping::TrajectoryBuilder > > trajectory_builders_
mapping::SparsePoseGraph * sparse_pose_graph()
sensor::Collator sensor_collator_
proto::MapBuilderOptions CreateMapBuilderOptions(common::LuaParameterDictionary *const parameter_dictionary)
int GetBlockingTrajectoryId() const
std::unique_ptr< mapping_2d::SparsePoseGraph > sparse_pose_graph_2d_
const proto::MapBuilderOptions options_
mapping::TrajectoryBuilder * GetTrajectoryBuilder(int trajectory_id) const
void FinishTrajectory(int trajectory_id)
string SubmapToProto(int trajectory_id, int submap_index, proto::SubmapQuery::Response *response)
common::ThreadPool thread_pool_
mapping::SparsePoseGraph * sparse_pose_graph_
int num_trajectory_builders() const
MapBuilder(const proto::MapBuilderOptions &options)
MapBuilder & operator=(const MapBuilder &)=delete