17 #ifndef CARTOGRAPHER_MAPPING_COLLATED_TRAJECTORY_BUILDER_H_ 18 #define CARTOGRAPHER_MAPPING_COLLATED_TRAJECTORY_BUILDER_H_ 24 #include <unordered_set> 43 const std::unordered_set<string>& expected_sensor_ids,
44 std::unique_ptr<GlobalTrajectoryBuilderInterface>
45 wrapped_trajectory_builder);
57 std::unique_ptr<sensor::Data> data)
override;
61 std::unique_ptr<sensor::Data> data);
75 #endif // CARTOGRAPHER_MAPPING_COLLATED_TRAJECTORY_BUILDER_H_ CollatedTrajectoryBuilder & operator=(const CollatedTrajectoryBuilder &)=delete
SubmapData GetSubmapData(int submap_index) override
int num_submaps() override
std::unique_ptr< GlobalTrajectoryBuilderInterface > wrapped_trajectory_builder_
std::map< string, common::RateTimer<> > rate_timers_
sensor::Collator *const sensor_collator_
CollatedTrajectoryBuilder(sensor::Collator *sensor_collator, int trajectory_id, const std::unordered_set< string > &expected_sensor_ids, std::unique_ptr< GlobalTrajectoryBuilderInterface > wrapped_trajectory_builder)
void AddSensorData(const string &sensor_id, std::unique_ptr< sensor::Data > data) override
const PoseEstimate & pose_estimate() const override
~CollatedTrajectoryBuilder() override
void HandleCollatedSensorData(const string &sensor_id, std::unique_ptr< sensor::Data > data)
std::chrono::steady_clock::time_point last_logging_time_