Class LogRecord
Defined in File LogRecord.h
Nested Relationships
Nested Types
Inheritance Relationships
Base Type
public mrpt::serialization::CSerializable
Class Documentation
-
class LogRecord : public mrpt::serialization::CSerializable
Details on an ICP run, loadable from the GUI tool icp-log-viewer.
Data fields
-
using iteration_idx_t = std::size_t
-
using IterationsDetails = std::map<iteration_idx_t, DebugInfoPerIteration>
-
metric_map_t::ConstPtr pcLocal
-
mrpt::math::TPose3D initialGuessLocalWrtGlobal
-
mp2p_icp::Parameters icpParameters
-
std::map<std::string, double> dynamicVariables
-
std::optional<IterationsDetails> iterationsDetails
Methods
-
bool save_to_file(const std::string &fileName) const
Saves the record object to a file, using MRPT serialization and using on-the-fly GZIP compression.
- Returns:
true on success.
-
bool load_from_file(const std::string &fileName)
Loads the record object from a file. See \save_to_file()
- Returns:
true on success.
-
static inline LogRecord LoadFromFile(const std::string &fileName)
Static method alternative to load_from_file(). Throws on any error.
- Returns:
The loaded object.
-
using iteration_idx_t = std::size_t