#include <map_builder.h>
Public Member Functions | |
int | AddTrajectoryBuilder (const std::unordered_set< string > &expected_sensor_ids, const proto::TrajectoryBuilderOptions &trajectory_options) |
void | FinishTrajectory (int trajectory_id) |
int | GetBlockingTrajectoryId () const |
mapping::TrajectoryBuilder * | GetTrajectoryBuilder (int trajectory_id) const |
MapBuilder (const proto::MapBuilderOptions &options) | |
MapBuilder (const MapBuilder &)=delete | |
int | num_trajectory_builders () const |
MapBuilder & | operator= (const MapBuilder &)=delete |
mapping::SparsePoseGraph * | sparse_pose_graph () |
string | SubmapToProto (int trajectory_id, int submap_index, proto::SubmapQuery::Response *response) |
~MapBuilder () | |
Private Attributes | |
const proto::MapBuilderOptions | options_ |
sensor::Collator | sensor_collator_ |
mapping::SparsePoseGraph * | sparse_pose_graph_ |
std::unique_ptr< mapping_2d::SparsePoseGraph > | sparse_pose_graph_2d_ |
std::unique_ptr< mapping_3d::SparsePoseGraph > | sparse_pose_graph_3d_ |
common::ThreadPool | thread_pool_ |
std::vector< std::unique_ptr< mapping::TrajectoryBuilder > > | trajectory_builders_ |
Definition at line 48 of file map_builder.h.
cartographer::mapping::MapBuilder::MapBuilder | ( | const proto::MapBuilderOptions & | options | ) |
Definition at line 54 of file map_builder.cc.
cartographer::mapping::MapBuilder::~MapBuilder | ( | ) |
Definition at line 68 of file map_builder.cc.
|
delete |
int cartographer::mapping::MapBuilder::AddTrajectoryBuilder | ( | const std::unordered_set< string > & | expected_sensor_ids, |
const proto::TrajectoryBuilderOptions & | trajectory_options | ||
) |
Definition at line 70 of file map_builder.cc.
void cartographer::mapping::MapBuilder::FinishTrajectory | ( | int | trajectory_id | ) |
Definition at line 99 of file map_builder.cc.
int cartographer::mapping::MapBuilder::GetBlockingTrajectoryId | ( | ) | const |
Definition at line 103 of file map_builder.cc.
TrajectoryBuilder * cartographer::mapping::MapBuilder::GetTrajectoryBuilder | ( | int | trajectory_id | ) | const |
Definition at line 94 of file map_builder.cc.
int cartographer::mapping::MapBuilder::num_trajectory_builders | ( | ) | const |
Definition at line 131 of file map_builder.cc.
|
delete |
SparsePoseGraph * cartographer::mapping::MapBuilder::sparse_pose_graph | ( | ) |
Definition at line 135 of file map_builder.cc.
string cartographer::mapping::MapBuilder::SubmapToProto | ( | int | trajectory_id, |
int | submap_index, | ||
proto::SubmapQuery::Response * | response | ||
) |
Definition at line 107 of file map_builder.cc.
|
private |
Definition at line 85 of file map_builder.h.
|
private |
Definition at line 92 of file map_builder.h.
|
private |
Definition at line 90 of file map_builder.h.
|
private |
Definition at line 88 of file map_builder.h.
|
private |
Definition at line 89 of file map_builder.h.
|
private |
Definition at line 86 of file map_builder.h.
|
private |
Definition at line 93 of file map_builder.h.