A CLI tool to export the layers of a metric map (*.mm
) as CSV/TXT.
More...
#include <mp2p_icp/metricmap.h>
#include <mrpt/3rdparty/tclap/CmdLine.h>
#include <mrpt/containers/yaml.h>
#include <mrpt/maps/CPointsMapXYZI.h>
#include <mrpt/maps/CPointsMapXYZIRT.h>
#include <mrpt/system/filesystem.h>
Go to the source code of this file.
|
static TCLAP::MultiArg< std::string > | argLayers ("l", "layer", "Layer to export. If not provided, all will be exported. This argument can " "appear several times.", false, "layerName", cmd) |
|
static TCLAP::UnlabeledValueArg< std::string > | argMapFile ("input", "Load this metric map file (*.mm)", true, "myMap.mm", "myMap.mm", cmd) |
|
static TCLAP::CmdLine | cmd ("mm2txt") |
|
int | main (int argc, char **argv) |
|
void | run_mm2txt () |
|
A CLI tool to export the layers of a metric map (*.mm
) as CSV/TXT.
- Author
- Jose Luis Blanco Claraco
- Date
- Feb 15, 2024
Definition in file apps/mm2txt/main.cpp.
◆ argLayers()
static TCLAP::MultiArg<std::string> argLayers |
( |
"l" |
, |
|
|
"layer" |
, |
|
|
"Layer to export. If not |
provided, |
|
|
all will be exported. This argument can " "appear several times." |
, |
|
|
false |
, |
|
|
"layerName" |
, |
|
|
cmd |
|
|
) |
| |
|
static |
◆ argMapFile()
static TCLAP::UnlabeledValueArg<std::string> argMapFile |
( |
"input" |
, |
|
|
"Load this metric map file (*.mm)" |
, |
|
|
true |
, |
|
|
"myMap.mm" |
, |
|
|
"myMap.mm" |
, |
|
|
cmd |
|
|
) |
| |
|
static |
◆ cmd()
static TCLAP::CmdLine cmd |
( |
"mm2txt" |
| ) |
|
|
static |
◆ main()
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
◆ run_mm2txt()