22 #include "cartographer/mapping/proto/pose_graph.pb.h" 23 #include "cartographer/mapping/proto/trajectory_builder_options.pb.h" 25 #ifndef CARTOGRAPHER_ROS_CARTOGRAPHER_ROS_ASSETS_WRITER_H 26 #define CARTOGRAPHER_ROS_CARTOGRAPHER_ROS_ASSETS_WRITER_H 33 const std::vector<std::string>& bag_filenames,
34 const std::string& output_file_prefix);
39 const std::string& name,
45 void Run(
const std::string& configuration_directory,
46 const std::string& configuration_basename,
47 const std::string& urdf_filename,
bool use_bag_transforms);
51 const std::string& file_path);
57 std::unique_ptr<::cartographer::io::PointsProcessorPipelineBuilder>
63 #endif // CARTOGRAPHER_ROS_CARTOGRAPHER_ROS_ASSETS_WRITER_H void Run(const std::string &configuration_directory, const std::string &configuration_basename, const std::string &urdf_filename, bool use_bag_transforms)
std::function< std::unique_ptr< PointsProcessor >(common::LuaParameterDictionary *, PointsProcessor *next)> FactoryFunction
::cartographer::io::FileWriterFactory CreateFileWriterFactory(const std::string &file_path)
AssetsWriter(const std::string &pose_graph_filename, const std::vector< std::string > &bag_filenames, const std::string &output_file_prefix)
std::vector<::cartographer::mapping::proto::Trajectory > all_trajectories_
std::vector< std::string > bag_filenames_
std::unique_ptr<::cartographer::io::PointsProcessorPipelineBuilder > point_pipeline_builder_
void RegisterPointsProcessor(const std::string &name, cartographer::io::PointsProcessorPipelineBuilder::FactoryFunction factory)
::cartographer::mapping::proto::PoseGraph pose_graph_