GUI tool to analize ICP log records (*.icplog files)
More...
#include <mp2p_icp/LogRecord.h>
#include <mrpt/gui/CDisplayWindowGUI.h>
#include <mrpt/3rdparty/tclap/CmdLine.h>
#include <mrpt/config.h>
#include <mrpt/config/CConfigFile.h>
#include <mrpt/core/round.h>
#include <mrpt/opengl/CEllipsoid3D.h>
#include <mrpt/opengl/CGridPlaneXY.h>
#include <mrpt/opengl/COpenGLScene.h>
#include <mrpt/opengl/stock_objects.h>
#include <mrpt/poses/CPosePDFGaussian.h>
#include <mrpt/poses/Lie/SO.h>
#include <mrpt/system/CDirectoryExplorer.h>
#include <mrpt/system/filesystem.h>
#include <mrpt/system/os.h>
#include <mrpt/system/progress.h>
#include <mrpt/system/string_utils.h>
#include <iostream>
#include "../libcfgpath/cfgpath.h"
Go to the source code of this file.
|
static TCLAP::ValueArg< std::string > | arg_plugins ("l", "load-plugins", "One or more (comma separated) *.so files to load as plugins", false, "foobar.so", "foobar.so", cmd) |
|
static TCLAP::ValueArg< double > | argAutoPlayPeriod ("", "autoplay-period", "The period (in seconds) between timestamps to load and show in autoplay " "mode.", false, 0.1, "period [seconds]", cmd) |
|
static TCLAP::ValueArg< std::string > | argExtension ("e", "file-extension", "Filename extension to look for. Default is `icplog`", false, "icplog", "icplog", cmd) |
|
static TCLAP::ValueArg< std::string > | argSearchDir ("d", "directory", "Directory in which to search for *.icplog files.", false, ".", ".", cmd) |
|
static TCLAP::ValueArg< std::string > | argSingleFile ("f", "file", "Load just this one single log *.icplog file.", false, "log.icplog", "log.icplog", cmd) |
|
static TCLAP::CmdLine | cmd (APP_NAME) |
|
int | main (int argc, char **argv) |
|
static void | main_show_gui () |
|
GUI tool to analize ICP log records (*.icplog files)
- Author
- Jose Luis Blanco Claraco
- Date
- Sep 15, 2021
Definition in file apps/icp-log-viewer/main.cpp.
◆ arg_plugins()
static TCLAP::ValueArg<std::string> arg_plugins |
( |
"l" |
, |
|
|
"load-plugins" |
, |
|
|
"One or more (comma separated) *.so files to load as plugins" |
, |
|
|
false |
, |
|
|
"foobar.so" |
, |
|
|
"foobar.so" |
, |
|
|
cmd |
|
|
) |
| |
|
static |
◆ argAutoPlayPeriod()
static TCLAP::ValueArg<double> argAutoPlayPeriod |
( |
"" |
, |
|
|
"autoplay-period" |
, |
|
|
"The period (in seconds) between timestamps to load and show in autoplay " "mode." |
, |
|
|
false |
, |
|
|
0. |
1, |
|
|
"period " |
[seconds], |
|
|
cmd |
|
|
) |
| |
|
static |
◆ argExtension()
static TCLAP::ValueArg<std::string> argExtension |
( |
"e" |
, |
|
|
"file-extension" |
, |
|
|
"Filename extension to look for. Default is `icplog`" |
, |
|
|
false |
, |
|
|
"icplog" |
, |
|
|
"icplog" |
, |
|
|
cmd |
|
|
) |
| |
|
static |
◆ argSearchDir()
static TCLAP::ValueArg<std::string> argSearchDir |
( |
"d" |
, |
|
|
"directory" |
, |
|
|
"Directory in which to search for *.icplog files." |
, |
|
|
false |
, |
|
|
"." |
, |
|
|
"." |
, |
|
|
cmd |
|
|
) |
| |
|
static |
◆ argSingleFile()
static TCLAP::ValueArg<std::string> argSingleFile |
( |
"f" |
, |
|
|
"file" |
, |
|
|
"Load just this one single log *.icplog file." |
, |
|
|
false |
, |
|
|
"log.icplog" |
, |
|
|
"log.icplog" |
, |
|
|
cmd |
|
|
) |
| |
|
static |
◆ cmd()
◆ main()
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
◆ main_show_gui()
static void main_show_gui |
( |
| ) |
|
|
static |
◆ APP_NAME
constexpr const char* APP_NAME = "icp-log-viewer" |
|
constexpr |
◆ MID_FONT_SIZE
constexpr int MID_FONT_SIZE = 14 |
|
constexpr |
◆ SMALL_FONT_SIZE
constexpr int SMALL_FONT_SIZE = 12 |
|
constexpr |
◆ WINDOW_FIXED_WIDTH
constexpr int WINDOW_FIXED_WIDTH = 400 |
|
constexpr |