Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef CARTOGRAPHER_ROS_CARTOGRAPHER_ROS_ROS_MAP_H
00018 #define CARTOGRAPHER_ROS_CARTOGRAPHER_ROS_ROS_MAP_H
00019
00020 #include <string>
00021
00022 #include "Eigen/Core"
00023 #include "cartographer/io/file_writer.h"
00024 #include "cartographer/io/image.h"
00025 #include "cartographer/mapping/2d/map_limits.h"
00026
00027 namespace cartographer_ros {
00028
00029
00030
00031 void WritePgm(const ::cartographer::io::Image& image, const double resolution,
00032 ::cartographer::io::FileWriter* file_writer);
00033
00034
00035 void WriteYaml(const double resolution, const Eigen::Vector2d& origin,
00036 const std::string& pgm_filename,
00037 ::cartographer::io::FileWriter* file_writer);
00038
00039 }
00040
00041 #endif // CARTOGRAPHER_ROS_CARTOGRAPHER_ROS_ROS_MAP_H