CLI tool to edit, visualize, and get stats from simplemap files. More...
#include <mrpt/3rdparty/tclap/CmdLine.h>#include <mrpt/core/exceptions.h>#include <mrpt/system/filesystem.h>#include <mrpt/system/os.h>#include <mrpt/maps/registerAllClasses.h>#include <mrpt/obs/registerAllClasses.h>#include <iostream>#include <map>#include "sm-cli.h"
Go to the source code of this file.
Functions | |
| int | main (int argc, char **argv) |
| int | printListCommands () |
| void | printVersion () |
| mrpt::maps::CSimpleMap | read_input_sm_from_cli (const std::string &inFile) |
| void | setConsoleErrorColor () |
| void | setConsoleNormalColor () |
Variables | |
| std::unique_ptr< cli_flags > | cli |
| const std::map< std::string, cmd_t > | cliCommands |
CLI tool to edit, visualize, and get stats from simplemap files.
Definition in file sm-cli-main.cpp.
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 53 of file sm-cli-main.cpp.
| int printListCommands | ( | ) |
Definition at line 101 of file sm-cli-main.cpp.
| void printVersion | ( | ) |
Definition at line 110 of file sm-cli-main.cpp.
| mrpt::maps::CSimpleMap read_input_sm_from_cli | ( | const std::string & | inFile | ) |
Definition at line 113 of file sm-cli-main.cpp.
| void setConsoleErrorColor | ( | ) |
Definition at line 43 of file sm-cli-main.cpp.
| void setConsoleNormalColor | ( | ) |
Definition at line 48 of file sm-cli-main.cpp.
| std::unique_ptr<cli_flags> cli |
Definition at line 29 of file sm-cli-main.cpp.
| const std::map<std::string, cmd_t> cliCommands |
Definition at line 31 of file sm-cli-main.cpp.