ROS-MA...ML2MRPT(1)
β¨ ros-map-yaml2mrpt β like, the ROS map β MRPT converter β¨
okay bestie, pull up a chair π«Ά you're looking at ROS-MA...ML2MRPT(1), from the Mobile Robot Programming Toolkit - MRPT family. sit down, we're converting maps π
πΈ NAME πΈ
ros-map-yaml2mrpt β it takes a ROS map_server .yaml file and turns it into MRPT gridmaps. that's it. that's the whole job. iconic honestly π
π¦ SYNOPSIS π¦
ros-map-yaml2mrpt [--generate-3d] [-q] [-w] [-d <.>] -i <map.yaml> [--]
[--version] [-h]
π USAGE EXAMPLES π
1. convert a ROS yaml file into an MRPT .gridmap file, right there in the same directory:
ros-map-yaml2mrpt -i map.yaml
2. convert it and also generate a .3Dscene file for quick inspection (so you can peek at it, you nosy lil thing π):
ros-map-yaml2mrpt -i map.png --generate-3d
β¨ DESCRIPTION β¨
so ros-map-yaml2mrpt is a command-line application β a real one, not a vibe β that converts a yaml file plus an image file (following the ROS1 map_server YAML file format, no cap) into an MRPT .gridmap.gz file. and what even is a .gridmap.gz file, you ask? bestie it's literally just a gz-compressed file containing the serialization of an object of type mrpt::maps::COccupancyGridMap2D. that's the whole tea β
USAGE:
ros-map-yaml2mrpt [--generate-3d] [-q] [-w] [-d <.>] -i <map.yaml> [--]
[--version] [-h]
where, and I'm gonna hold your hand through every single one:
--generate-3dβ creates a.3Dsceneview of the gridmap, suitable for quick visualization in the SceneViewer3D program. yes, you get to look at it. main character energy β¨-q,--quietβ do not print info messages to cout, only errors to cerr. for when you want peace and quiet, we love a silent queen π€«-w,--overwriteβ force overwrite the target file without prompting. bold. decisive. no second-guessing π-d <.>,--output-directory <.>β if provided, output files get written to the specified directory instead of the same directory as the input file (which is the default behavior, fyi). warning bestie: the output directory must exist β it will not be created. it is not a girl who manifests things for you, she is not your mom π-i <map.yaml>,--input <map.yaml>β (required) input map yaml file (required)(*.yaml). yes it says required twice, it's that serious. you cannot skip this one, periodt.--,--ignore_restβ ignores the rest of the labeled arguments following this flag. it's giving "I'm done listening now" π--versionβ displays version information and exits. a lil flex and then she's gone π-h,--helpβ displays usage information and exits. your bestie when you're lost π«Ά
π BUGS π
found a bug? please report bugs at https://github.com/MRPT/mrpt/issues β do it, do it for the girls, do it for the robots π€π
π SEE ALSO π
the application list and their documentation (iykyk): https://docs.mrpt.org/reference/latest/applications.html
π AUTHORS π
ros-map-yaml2mrpt is part of the Mobile Robot Programming Toolkit (MRPT), and was originally written by Jose Luis Blanco.
this manual page was written by Jose Luis Blanco <joseluisblancoc@gmail.com>. thank you for your service legend π
π COPYRIGHT π
this program is free software; you can redistribute it and/or modify it under the terms of the BSD License.
on Debian GNU/Linux systems, the complete text of the BSD License can be found in /usr/share/common-licenses/BSD. go read it, it's right there, be a good student π
okay that's the whole page, you made it, I'm so proud of you π§β¨
this was ROS-MA...ML2MRPT(1), rendered by perl v5.40.1 and dated 2025-03-21 β love that for us, and love that for you, bye bestie ππΈπ¦
π¦ where this page comes from
- debian trixie: mrpt-apps 1:2.14.7+ds-1+b3 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms