ros-map-yaml2mrpt1
Convert a ros map_server .yaml file into mrpt gridmaps
Usage
ros-map-yaml2mrpt [--generate-3d]
[-q]
[-w]
[-d
<.>]
-i
<map.yaml>
[--]
[--version]
[-h]
Usage examples
Convert a ROS yaml file into an MRPT .gridmap file in the same directory
ros-map-yaml2mrpt -i map.yaml
Convert it, and also generate a .3Dscene file for quick inspection
ros-map-yaml2mrpt -i map.png --generate-3d
Overview
ros-map-yaml2mrpt is a command-line application to convert a yaml file and an image file (following ROS1 map_server YAML file format) into an MRPT `.gridmap.gz` file. A `.gridmap.gz` file is just a gz-compressed file containing the serialization of an object of type `mrpt::maps::COccupancyGridMap2D`.
USAGE:
ros-map-yaml2mrpt [--generate-3d] [-q] [-w] [-d <.>] -i <map.yaml> [--][--version] [-h]
Where:
--generate-3dCreate a .3Dscene view of the gridmap, suitable for quickvisualization in the SceneViewer3D program.-q, --quietDo not print info messages to cout, only errors to cerr-w, --overwriteForce overwrite target file without prompting.-d <.>, --output-directory <.>If provided, output files will be written to the specified directory,instead of the same directory of the input file, which is the defaultbehavior. The output directory must exist, it will not be created.-i <map.yaml>, --input <map.yaml>(required) Input map yaml file (required) (*.yaml)--, --ignore_restIgnores the rest of the labeled arguments following this flag.--versionDisplays version information and exits.-h, --helpDisplays usage information and exits.
Releases
2 releases since Debian 12 (Bookworm); the text changed 1 time.