Functions | Variables
apps/icp-log-viewer/main.cpp File Reference

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"
Include dependency graph for apps/icp-log-viewer/main.cpp:

Go to the source code of this file.

Functions

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 ()
 

Variables

constexpr const char * APP_NAME = "icp-log-viewer"
 
constexpr int MID_FONT_SIZE = 14
 
constexpr int SMALL_FONT_SIZE = 12
 
constexpr int WINDOW_FIXED_WIDTH = 400
 

Detailed Description

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.

Function Documentation

◆ 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()

static TCLAP::CmdLine cmd ( APP_NAME  )
static

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 1240 of file apps/icp-log-viewer/main.cpp.

◆ main_show_gui()

static void main_show_gui ( )
static

Definition at line 1231 of file apps/icp-log-viewer/main.cpp.

Variable Documentation

◆ APP_NAME

constexpr const char* APP_NAME = "icp-log-viewer"
constexpr

Definition at line 40 of file apps/icp-log-viewer/main.cpp.

◆ MID_FONT_SIZE

constexpr int MID_FONT_SIZE = 14
constexpr

Definition at line 41 of file apps/icp-log-viewer/main.cpp.

◆ SMALL_FONT_SIZE

constexpr int SMALL_FONT_SIZE = 12
constexpr

Definition at line 42 of file apps/icp-log-viewer/main.cpp.

◆ WINDOW_FIXED_WIDTH

constexpr int WINDOW_FIXED_WIDTH = 400
constexpr

Definition at line 43 of file apps/icp-log-viewer/main.cpp.



mp2p_icp
Author(s):
autogenerated on Wed Oct 2 2024 02:45:25