36 constexpr
static auto sect =
"LocalizationExperiment";
81 template <
class MONTECARLO_TYPE>
107 return "pf-localization <config_file> [dataset.rawlog]";
This class implements a config file-like interface over a memory-stored string list.
Virtual interface for applications that initialize from CLI parameters.
void initialize(int argc, char **argv)
void prepareGT(const mrpt::math::CMatrixDouble >)
This class stores a time-stamped trajectory in SE(2) (mrpt::math::TPose2D poses). ...
mrpt::config::CConfigFileMemory params
Populated in initialize().
void run()
Runs with the current parameter set.
std::chrono::time_point< Clock > time_point
bool allow_quit_on_esc_key
If true, will watch the keyboard and quit when ESC is pushed.
bool fill_out_estimated_path
Whether to populate out_estimated_path.
mrpt::poses::CPose2DInterpolator GT_path
mrpt::poses::CPose3DInterpolator out_estimated_path
Controlled by flag fill_out_estimated_path
Versatile class for consistent logging and management of output messages.
MonteCarlo (Particle filter) localization wrapper class, reading from a rawlog dataset.
void initialize(int argc, const char **argv)
Initializes the application from CLI parameters.
std::string impl_get_usage() const override
void do_pf_localization()
A class used to store a 2D pose, including the 2D coordinate point and a heading (phi) angle...
MonteCarloLocalization_Rawlog()
MonteCarloLocalization_Base()
Implementation of BaseAppDataSource for reading from a rawlog file.
This class stores a time-stamped trajectory in SE(3) (CPose3D poses).
MonteCarlo (Particle filter) localization wrapper class for CLI or custom applications: virtual base ...
void impl_initialize(int argc, const char **argv) override
static constexpr auto sect
Default name of the main configuration section in INI files for this app.
Virtual interface for offline datasets (rawlog) or live sensors.
void getGroundTruth(mrpt::poses::CPose2D &expectedPose, size_t rawlogEntry, const mrpt::math::CMatrixDouble >, const Clock::time_point &cur_time)